LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time interval between two time of Max

Hi,

    I need to find the difference between two consecutive 'Time of Max' in the statistics block... I appareciate greatly if any body could help me... Am actually finding the interval between the two consecutive peaks in ppg.

0 Kudos
Message 1 of 9
(2,806 Views)

Hi vigwin,

 

"I need to find the difference between two consecutive 'Time of Max' in the statistics block"

To get the difference I would use a simple subtract function! Smiley Wink

Maybe a small feedback node could help here too...

 

You should learn to write better questions!

You should attach a VI instead of just a short description!

What is a "statistics block"?

What is "ppg"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 9
(2,802 Views)

Thanks for your reply... By the way ppg is photoplethysmography.

I need to find the interval between two consecutive peaks. Am not able to efficiently find by this vi.

And one more question is how to read the datas and construct the waveform from the datas in excel or text file?

Download All
0 Kudos
Message 3 of 9
(2,793 Views)

Am getting datas only in excel or txt format physionet website. I need to know how to construct the waveform signal using those values..?

0 Kudos
Message 4 of 9
(2,790 Views)

take a look at peak detector vi.

Message 5 of 9
(2,784 Views)

I tried that too...... I need to know whether my vi is right in calculating the interval between two peaks.....

I have attached my vi too.....

Download All
0 Kudos
Message 6 of 9
(2,780 Views)

You have about 68k points. The way you are reading your points in show there are breakage poings via the gap on your charts (probably re-reading the header each time). This may or may not be a problem in your process except some of the points are at your peak.

 

Why don't you read all the points in and  then process the data. The locations that are returned would then give your timing locations in one single run.

 

The peak detector does it own smoothing since it does its own interlopation. The accuracy is not at the actual point itself.

0 Kudos
Message 7 of 9
(2,771 Views)

Could you explain briefly?

You mean to remove the collector function right?

How you found out that there are 68k points...?

May i know please?

0 Kudos
Message 8 of 9
(2,766 Views)

Just read all the data in at one time so you have a single collector point.

 

Take a look at your data file. It has about 68k lines in it. I just took a text editor that has the line count. Just went to the end.

0 Kudos
Message 9 of 9
(2,755 Views)