From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak and Valley Detection

Solved!
Go to solution

Hi,

 

I`m looking for a nice way of splitting a curve up into different parts. The curves can have 1 sweep or n sweeps like in the images.

 

I can already count the number of peaks and valley but i can`t figure out a neat way of getting the indicies of the highest point of each peak and the lowest point of each valley. I`ve attached a couple of images of what i`m trying to do.

 

Any ideas most welcome.

 

Thanks


James

 Curves split.png

0 Kudos
Message 1 of 5
(3,894 Views)
Solution
Accepted by topic author Treble20

Hello Treble,

 

have a look here

Greets, Dave
Message 2 of 5
(3,881 Views)

Hello Treble20,

try the function Peak Detector VI.

asdf.pngThe interesting part is to find a good threshold and width setting for the different wave forms.

best regards
Alexander
0 Kudos
Message 3 of 5
(3,878 Views)

Hi Dave,

 

Perfect starting point to sort my problem out. I know there was something simple that would do this.

 

Many thanks

 

James

 

 

0 Kudos
Message 4 of 5
(3,871 Views)

That's my next task as it works well on a few curves but not all curves. I have the starting point to work on though.

 

Cheers for your help.

James

0 Kudos
Message 5 of 5
(3,868 Views)