Professional Documents
Culture Documents
PC-Based ECG Monitoring and Analysis Using BioBenchâ
PC-Based ECG Monitoring and Analysis Using BioBenchâ
Introduction
National Instruments has been a leader in the field of test and measurement and PC automation for years, supplying
products for instrument control, data acquisition (DAQ), and industrial automation. Besides making hardware,
National Instruments has created powerful software tools including LabVIEW, the graphical programming
environment. Combining programmable software and data acquisition hardware, National Instruments provides
solutions leveraging off the power of the PC. From the growth of this product arena National Instruments has become
involved in creating instrumentation based on the personal computer, or computer-based Instrumentation.
Computer-based instrumentation is the methodology of using programmable software and PC-based data acquisition
hardware to build application-specific instrumentation solutions. A user can program the same piece of hardware to be
an oscilloscope, data logger, or electrocardiograph. The software gives the hardware the desired personality. Users have
created perfusion instruments that have the exact look and feel as the traditional stand-alone instrument. With the same
software and hardware, users could program their system to monitor O2. There are no boundaries to what you can
create with computer-based instrumentation. Computer-based instrumentation is very powerful because it leverages
off current PC technology to provide flexible and cost-effective solutions at fractions of the cost of stand-alone devices.
To showcase this power National Instruments has created turnkey packages that require no programming, such as
BioBench. It uses the PC to function as a chart recorder but adds the ability to store information to disk and analyze
your data.
Electrocardiograms
The recording of electrocardiograms (ECGs) has been an integral part of medicine to both doctors and researchers
since its inception. Often ECG monitoring has very little flexibility in its instrumentation. Through the use of PCs,
ECG data can now be recorded to disk and analyzed with greater flexibility for a more cost-effective solution. This
application note explains how to use the personal computer to acquire store and analyze ECG data using National
Instruments BioBench software and National Instruments data acquisition (DAQ) hardware. Using BioBench, a
turnkey software package written with LabVIEW, and our data acquisition products, you can modernize your
laboratory for computer-based acquisition of physiological signals. With BioBench, users can record up to 16 channels
of data to disk with real-time display. One of the keys to BioBench is that a National Instruments DAQ device is used
to acquire the signals from the amplifier and electrodes you are currently using in your lab. Therefore, there is no need
to completely remodel your laboratory, but just consolidate experimental operations to one station. Using your current
amplifier and electrode configuration with National Instruments DAQ device and BioBench will offer you the power
of your current instrumentation setup with the flexibility of a PC-based system.
—————————————————
Product and company names are trademarks or trade names of their respective companies.
341546A-01 © Copyright 1998 National Instruments Corporation. All rights reserved. July 1998
BNC-2090
Adapter
Plug-in
DAQ Board
Amplifier
BioBench software
Chart
Recorder
Transducers acquiring
life science data
2
Figure 2. Electrode Configuration
Once your electrode connections have been made, connect the positive, negative, and ground leads to the correct ter-
minals on your amplifier. Using the BNC connection from your amplifier, wire it directly from the amplifier to
channel 0 on the BNC-2090 Adapter. Now connect the BNC-2090 to your DAQ device using the cable supplied. You
are now ready to acquire signals from your subject. See Figure 1 for more information.
3
Figure 3. Channel Configuration Window
Signal voltage range should be set to the output voltages for your amplifier, and scaling will be used to set the gain on
the DAQ board itself. Click on the OK button and return to the previous window.
Step 3. Timing
Select Configure»Settings»Timing tab to set up the timing configuration for the data acquisition process. Choose
200 Hz from the Sample Rate pull-down menu. The sample rate setting can be changed according to the needs of your
acquisition process. In the Scan List field you should see ECG for the channel to use. The Start Time and Stop Time
settings should be set to manual to employ use of the front panel manual controls. The window should appear as in
Figure 4.
4
Figure 4. BioBench Timing Configuration Window
Click OK and return to the Four-Graph Acquisition window. Now you are ready to begin acquiring and logging data.
5
Figure 5. BioBench Trend Plot
Now that data has been acquired and logged to disk, you can use BioBench to analyze the data in detail. Press the anal-
ysis button or choose an analysis screen option from the View menu to get into analysis mode. If you have just used
BioBench to record data to disk, that data file will automatically be opened in the analysis mode. If you did not just
record your data to disk, simply choose File»Open and pick the BioBench data file you wish to open.
6
Figure 6. Peak Detection Example
7
Figure 7. Overlaid Analysis Graph
Any data collected with BioBench can be saved into a spreadsheet format (.txt) compatible with application software
such as Microsoft Excel. Once you have selected the data you wish to export, select Export to Spreadsheet from the
File pull down menu. For further analysis capabilities, you can open BioBench datalog files with LabVIEW and write
your own analysis routines. The LabVIEW VIs for reading BioBench datalog files are available free of charge on our
ftp site, ftp.natinst.com/support/biobench/lvfileio.
Summary
With these instructions, you are now ready to collect ECG signals using BioBench, National Instruments DAQ
hardware, and the current amplifiers in your laboratory. With computer-based instruments, you can more effectively
use the power of your PC, applying it to acquire, analyze, and present data easily. Exploit the power of your PC with
computer-based instrumentation to provide flexible and powerful solutions at a fraction of the cost.