LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate heart rate peaks over a 60 second interval

Hello,

 

I currently have a graph of a persons heart rate that is monitored continuously and displayed on a Labview chart. My question is what Labview functions do I need to use to calculate the frequency between pulse peaks over a 60 second interval. i.e. BPM (Beats Per Minute). Also, can anyone post code relative to my question.

 

Thanks.

 

 

0 Kudos
Message 1 of 3
(2,736 Views)

Could you post the vi that you already have available to get a better idea of what you graphed?  It would be easier to answer with a little more information. 

Thanks!

ncm

-ncm
0 Kudos
Message 2 of 3
(2,705 Views)

 

How are you measuring the raw data and what is the datatype (array, waveform, dynamic, etc.).

 

You have two problems (history data, peak finding) and it is not clear where you are stuck.

 

(1) You need to keep a 60s history. The actual number of points depends on your sampling rate.

One simple way would be the collector express VI or some simple home-made function.

 

(2) You need to analyze the history data for the number of peaks.

How clean is the data? How do you recognize peaks? Can you show us some typical sample data?

 

Where is the bulk of your current problems, (1) or (2) or both?

0 Kudos
Message 3 of 3
(2,660 Views)