Graphical User Interface

A Sony VAIO® notebook computer (PCG-505F) is used as part of the external communication unit. It is configured as the control panel for interrogating the PACER and displaying AEGs sent by the PACER. The graphical user interface (GUI) is created using LabVIEW, developed by National Instruments Corp. In addition to pacing and sensing parameters, programmable features such as PACER identification and data acquisition time were implemented in the GUI. The GUI compiled user commands into an ASCII string and sent them to the communication box using the RS-232 standard. It also received digitized AEGs from the communication box, decoding and displaying them on the interface for examination. Other features were also implemented in the GUI: the user could choose to view original or noise-eliminated AEGs, or to save the AEGs for further analysis.

Here is a snapshot of the graphical user interface, showing different sections of the control panel. A closer look of the GUI is provided here: GUI.

Programming in LabVIEW

LabVIEW is a graphical programming language; meaning the actual "program" of the GUI is coded graphically. The current GUI of the implantable cardiac telemetry system is implemented in 8 frames. They are briefly described here:

  • Frame 0 is for initialization: defines data arrays, reads in batterylife status and initializes the serial port of the laptop computer (see frame0);
  • Frame 1 is for sending the "wake-up" command to the PACER, the purpose of which is to switch the PACER from "power-save" to "continuous ON" mode (see frame1);
  • After receiving an acknowledgement from the PACER, the GUI compiles an ASCII string according to user's selections in Frame 2 (see frame2);
  • A convenient feature is implemented here in Frame 3: user's selections are coded as a header file to be saved along with AEG results. With this technique, AEG data can be interpreted correctly (see frame3);
  • Frame 4 is for receiving AEG data from the serial port. The number of samples received is tracked, until the expected sample number has been met (see frame4);
  • AEG results are received as an ASCII string from the serial port. In Frame 5, results are converted into a I-16 (16-bit word), 2-D array (see frame5);
  • From this I16, 2D data array, AEG results are divided into their corresponding channels in Frame 6. Also depending on whether "noise-filtering" option is selected, each channel can be plotted as "raw data" or "noise-eliminated data" (see frame6);
  • Finally, the user has the option to save received AEG results (along with the header file) as a simple text file for further analysis and processing in Frame 7 (see frame7);

[duke electrophysiology lab website] [duke biomedical engineering website] [duke university website]