LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

measureing heart rate

Hi

I am trying to measure the heart rate of an ECG signal.  My data comes from a .csv file which I input into an array.  I am using the pulse measurement function to obtain period, then manipulating that to get the BPM.  However the pulse measurement only allows me to measure 1 peak-peak at a time, I am able to use a manual control to obtain more then one measurement.  Is there any way to obtain all of the measurements within my sample data so I have an average BMP.  I was wondering if I could use a loop to take multiple measurements and store them in an array.  I am having trouble figuring out the code i would need for this. Is there a better approach then my proposed method?  Thanks

Danny

0 Kudos
Message 1 of 2
(3,123 Views)
Hi DJ013, 
 
You should be able to implement more than one pulse measurement using the pulse measurement vi.  You WILL have to use a while loop to break up the elements, but as long as they are in an array, you should be able to pass that data and take the average.  An example of this behavior is located in the example finder with the name "N chan pulse and transition measurements.vi"
 
Let me know if you have any questions.
0 Kudos
Message 2 of 2
(3,097 Views)