Vernier Software and Technology
Vernier Software & Technology

Analyzing the Heart with EKG

Figure from experiment 8 from Engineering Projects with NI LabVIEW and Vernier


An electrocardiogram (EKG) is a graphical recording of the electrical events occurring within the heart. In a healthy heart there is a natural pacemaker in the right atrium that initiates an electrical sequence. This impulse then passes down natural conduction pathways between the atria to the atrioventricular node and from there to both ventricles. The natural conduction pathways facilitate orderly spread of the impulse and coordinated contraction of first the atria and then the ventricles. The electrical journey creates unique deflections in the EKG that tell a story about heart function and health. Doctors and other trained personnel can look at an EKG tracing and see evidence for disorders of the heart such as abnormal slowing, speeding, irregular rhythms, injury to muscle tissue (angina), and death of muscle tissue (myocardial infarction). By looking at several beats, you can also calculate heart rate.


Write a LabVIEW program to graphically record an EKG tracing of heart activity. You will use a Vernier interface and an EKG Sensor for data collection with a sampling time of 10 seconds and a sampling rate of 100 samples per second. You should make two graphical displays — the first plotting the data in real time on a chart, and the second displaying the plot on a graph after all data have been collected. The second display should incorporate the graphical analysis tools available with the use of a Waveform Graph. After creating your VI, follow the steps in the Project Setup to properly attach the EKG to a test subject and run your program.

Sensors and Equipment

This project features the following Vernier sensors and equipment.

Additional Requirements

You will also need

Engineering Projects with NI LabVIEW and Vernier

See other experiments from the lab book.

1Build a Temperature Sensor
2Digital Control Systems
3LED Color Mixer
4Hot Wire Anemometer
5DC Motor Control
6Light Intensity & Stepper Motors
7Servo Motors
8Analyzing the Heart with EKG
9Blood Pressure
10Strain Gage Measurements
11Propeller-Powered Pendulum
12PID Ping Pong Ball Levitation

Project 8 from Engineering Projects with NI LabVIEW and Vernier Lab Book

<i>Engineering Projects with NI LabVIEW and Vernier</i> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top