LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview real time

Can anybody help me how to find pulse rate per minute from a waveform chart .

0 Kudos
Message 1 of 10
(2,589 Views)

Hi can you help me to find how to find pulse rate per minute from a obtained waveform in waveform chart


@nelghazawy wrote:

Hi, 

 

You can use an XY graph for this which you can find by right clicking on the block diagram>> Graph>> XY Graph. 

 

For different methods of how to use it please see this Article.

 

Kind Regards,

Nour Elghazawy

Technical Support Engineer


 

0 Kudos
Message 2 of 10
(2,536 Views)

You posted the same in three different places already. Once is enough!

 

Instead, I would recommend to refine the question. A waveform chart has nothing to do with pulse rate, it is just a display that can even show nothing. What matters is the data displayed on it. You simply need to provide significantly more detail.

 

What does the chart display? What is the time spacing of the data points?

0 Kudos
Message 3 of 10
(2,579 Views)

I am measuring pulse rate using  webcam and IR led in real time , with the help of vision acquisition and color histogram i have got an output waveform (X-axis as amplitude and Y-axis as time )as shown in the attachment 

Now from that i need to calculate pulse rate per minute.

0 Kudos
Message 4 of 10
(2,570 Views)

@vinod1997 wrote:

 i have got an output waveform (X-axis as amplitude and Y-axis as time )as shown in the attachment 


The attachment is a picture of the block diagram and does not show us any typical waveform obtained by your measurement. We need to see how the measured data looks like (noise, shape, etc.)

 

Since you are only getting a single scalar with every iteration, maybe one of the pbypt tools would work (e.g. Peak Detector PtByPt VI or similar).

0 Kudos
Message 5 of 10
(2,560 Views)

the output waveform looks like as shown in the attachment

0 Kudos
Message 6 of 10
(2,543 Views)

and the block diagram is shown in the attachment 

0 Kudos
Message 7 of 10
(2,530 Views)

Sorry, I don't have the vision tools, but your data looks pretty clean, basically a single frequency with a huge DC components that you probably want to subtract. Simplest would be to save the time in a shift register whenever you get a peak and look at the time difference of successive peaks, then apply some simple math. You might need some filtering and other cleanup. Still, seems pretty trivial.

 

Currently, we can only look at your data from a small image, do you have some real and typical data? Can you record and store a typical time trace over e.g. a minute and attach it so we can play? 

What is the loop rate?

 

 

0 Kudos
Message 8 of 10
(2,524 Views)

can you attach what you have told to the block diagram using shift registes

0 Kudos
Message 9 of 10
(2,504 Views)

@vinod1997 wrote:

can you attach what you have told to the block diagram using shift registes


Not before I can test with some typical data. You have not answered any of my questions.

0 Kudos
Message 10 of 10
(2,500 Views)