Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

To calculate heart rate

 respected seniors,
This is my first project in Labview,  trying to develope a system to monitor ECG waveform and to calculate heart rate"
 
I am using (labview 😎 DAQ 6025E to acquire ECG signal,and also I got a noise free ECG waveform on the display
 but I am unable to calculate heart rate from the ECG waveform.I want to display heart rate(BPM) on the front panel while the VI is running(real time heart rate display).
 I have attached the labview code for your referrence.
 I am expecting suggestions from experts.Thanking you in advance                 
0 Kudos
Message 1 of 2
(3,400 Views)
Your pretty close.  Do not add T0 to your data points, you will just lose that info when you subtract the points in the next step.  Just do the subtraction as you have it.  When you invert it your output is in beats/second so you only need to multiply by 60 seconds/minute to get you data in beats/minute.  These will be your Y values.  Your X values (time) can be your original outputs of the peak detector after you multiply them by dt (either first or second point or an average of the two, whichever way you want to do it).  You can try to add T0 to the X values (time) as the last step.


Randall Pursley
0 Kudos
Message 2 of 2
(3,390 Views)