NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Sco88
Posts: 6
0 Kudos

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!

 

Member
Sco88
Posts: 6
0 Kudos

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

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! 

Trusted Enthusiast
tbob
Posts: 4,067
0 Kudos

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

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
Member
Sco88
Posts: 6
0 Kudos

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

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!

 

Member
Steve.J
Posts: 195
0 Kudos

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

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

Visit the NI Biomedical User Group at:
www.ni.com/biomedusers
Trusted Enthusiast
tbob
Posts: 4,067
0 Kudos

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


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
Member
Sco88
Posts: 6
0 Kudos

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

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

Trusted Enthusiast
tbob
Posts: 4,067
0 Kudos

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

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
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page