ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple peak detect

I have a waveform that I need to detect peaks & valleys on. I use the peak detector VI.
Attached is my VI with an indicative array of values that I will encounter. The peak detector correctly finds the 3 peaks but doesn't find the 2 valleys in the middle - I don't undertand why.
Those are the 2 I'm most interested in  - the first & last are just tails of the waveform.

Any help would be greatly appreciated,

thanks

ak

0 Kudos
Message 1 of 4
(3,080 Views)

Hi cig438,

In order to view all your low points, you need to change your lower-peak-detection to 100.  That should allow you to see all 4 of the lower values.

Message 2 of 4
(3,074 Views)
If I open your vi and set the peak threshold and valley threshold to 100, the peaks and valleys seem to be found.
Randall Pursley
Message 3 of 4
(3,074 Views)
Yes - that does it. Must have been a long week...

Thanks !

0 Kudos
Message 4 of 4
(3,057 Views)