gcrc informatics project
DESCRIPTION
GCRC Informatics Project. February 10, 2005 4th Spring Presentation. Sponsor: Dr. Paul Harris, GCRC Informatics Director Members: Chris Heath, BME/EE Adam Nagel, CompE Chris Nash, EE Brendan Soar, CompE. Progress This Week. Implemented basic functional algorithm - PowerPoint PPT PresentationTRANSCRIPT
GCRC Informatics Project
Sponsor:
Dr. Paul Harris, GCRC Informatics Director
Members:
Chris Heath, BME/EE
Adam Nagel, CompE
Chris Nash, EE
Brendan Soar, CompE
February 10, 20054th Spring Presentation
Progress This Week
• Implemented basic functional algorithm
• Experimented with AirCable adaptor
• Resolved problems with 802.11b network
• Worked with MySQL libraries
• Updated website
Study Start
Start NIBP determination
Status response
Request NIBP status
Started OK
Check status bit
0–“busy”
Parse string for DP, SP, MAP
1-“done”
Request HR,Parse response
Store Data to file
Upload data to server
Upload successful?
(Timer) or (User Trigger)
Yes
No
Start
Poll for monitor model
Monitor model
Pro 1000
NIBPDError
Not Started OK
NoDB upload
error handler
Alternative Handlers
Other
Yes
Basic Functional Algorithm
Visible Screen
Pre-Acquire
Pre-Acquire Duties
• Call “dinamap model poll.vi” to determine model type, passes to next step
• Allow patient’s first name and last name to be chosen, passes these strings to next step
• Generates file name to be written to based off of patient name, passes into next step
• Waits until “Run” button has true value to enter into next stage
Dinamap Model Poll.vi
Intermediate Step
Intermediate Step Duties• Grab current clock value, pass into
acquisition algorithm• Create text file with given name, write the
patient’s name into it and close the file• Pass the file name into the acquisition
algorithm• Pass model number into acquistion• Acquisition algorithm is placed inside
infinite while loop
Acquisition Algorithm
1 2 3 4 5
Acquisition Algorithm 5-Step Process
1. Set “Ready to Acquire” Indicator to True
2. Enter wait loop. Loop waits for timer to run out, manual acquire requested, comment written, or abort signaled
3. Set “Ready to Acquire” Indicator to False
4. Open file, Acquire/write data or write appropriate comment
5. Close the data file
Wait Loop
Wait Loop• Waits for True value
from “Insert Comment”, “Take Measurement”, “Stop”, or clock compare to exit loop
• Displays seconds until next acquire while in loop
• “Less than” compare required so loop bypassed on first iteration
Write DataInsert Comment OR abort = False
Write DataInsert Comment OR abort = True
Write Data Block• If “insert comment” and “abort” = false
– Calls “Dinamap serial Acquire.vi”– Displays outputted measurements– Passes measurements into “dinamap write.vi”
• If “insert comment” = true– Writes comment string + date/time into file
• If “abort” = true– Writes “Study Concluded” + date/time into file
Dinamap Serial Acquire.vi
•Inputs the model number (not currently used)
•Outputs Systolic, Diastolic, Mean Arterial Pressures and Heart Rate to main vi
•Waits 20 seconds to allow Dinamap machine to begin measurement
Dinamap Write.vi
• Inputs all data found from “serial acquire”
• Writes these strings separated by spaces plus date/time to file
• Outputs the file refnum for closing in step 5
Sample Output
AIRcable Progress
• Power cable has arrived• Command Line Interface
successfully accessed via hyperterminal
• Connection to Pocket PC established
• Meaningful communication still not acheived
AIRcable Command Interface
• ASCII strings sent over serial changes settings
• Decided to place device in “Service-Slave” Mode, discoverable by PDAs
MySQL connectivity
• DALP (Database Access Libraries for PDAs)
• LabView supports linear use of external functions
• DALP implements a MySQL connectivity class
• Must write new standalone function, for use with LabView
• This new function must be compiled to DLL on the PocketPC
• Learning to develop in eMbedded Visual C++
LabVIEW’s Call Library Function Node
Excerpt from “Hello World” example in eMbedded Visual C++
For Next Week• Work on Bluetooth communication
plausibility
• Develop a “worst-case” solution in case BT does not work
• Work really hard on MySQL connectivity
– Working .exe demo within two weeks