LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure heart-rate and test for Hypertrophic Cardiomyopathy (HCM) using labview

Hello,

 

For our BME senior project, we are acquiring ECG signals from a person using sensorDAQ system and then analyzing the signals to measure heart rate as well as test for HCM. We've created a VI for measuring the heart-rate but the values that our VI gives us make no sense (1500, 721, 5000...). I've attached our VI with this message, can someone please take a look at it and tell me what we are doing wrong?

 

Also, we want to test for HCM in the ECG signals, indicated by an inverted T wave. How do we go about doing that in Labview?

 

Thanks a lot!

 

0 Kudos
Message 1 of 8
(3,741 Views)

I found a VI (attached with this post) in the LifeScience discussion forum which seems to do a very good job of calculating the heart rate. How do we modify  this to work with our sensorDAQ system?

 

Thanks! 

0 Kudos
Message 2 of 8
(3,738 Views)

Good find.  Just double click on the DAQ Assistant Express VI and set the parameters to match your system.  For instance, set Acquisition Mode to N Samples, Samples to Read to 5000, Rate to 1k, add your physical channels to the Configuration tab, etc....  This VI does all your homework for you.  You should learn how it works by studying all the functions that it uses.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 8
(3,730 Views)

Thanks for the reply!

 

However, I don't understand why we extract the waveform components and rebuild the waveform from output data from each filter and denoised waveform. Can you please explain that?

 

Thanks!

 

0 Kudos
Message 4 of 8
(3,680 Views)

Hi Sco88,

 

You may also find some useful information, links, resources, etc. related to ECG acquisition and analysis on the NI Biomedical User Group website - check it out.

 

Steve

0 Kudos
Message 5 of 8
(3,675 Views)

Sco88 wrote:

Thanks for the reply!

 

However, I don't understand why we extract the waveform components and rebuild the waveform from output data from each filter and denoised waveform. Can you please explain that?

 

Thanks!

 


 

That is mighty strange.  I don't see the purpose of extracting and rebuilding.  Just eliminate that part.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 8
(3,671 Views)

Thanks for the reply! I've attached my modified VI with this post as well as an image of the front panel. As you can see, the heart rate values are really off (they go from 16 to 42 to 83). I believe that after obtaining a couple of values for the heart rate, we would average them out to get the final value for the pulse which we can use for further analysis.

 

Also, the denoised waveform (yellow line) is the final waveform that we want to display for our project. However, it seems that the amplitude of the signal is being reduced because of the filters and detrend/denoise functions. Why does that happen?

 

 Any ideas on how to look for an inverted T wave within this signal to test for HCM?

 

Thank you!

 

Sco88

0 Kudos
Message 7 of 8
(3,663 Views)

Sorry, its been too long since I worked with heart waveforms.  Also, I can't run your vi because you have subvi's that are missing from my system.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 8 of 8
(3,661 Views)