LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local min and max

I have a dataset which contains keystrok forces in it. Since the data points are oscillating, I can't find a local min and max by using first-derivative:i.e. there are too many zeros for the first derivatives. Is there any way for me to get local min and max?

 

Thanks,

Jay 

0 Kudos
Message 1 of 3
(3,034 Views)

Have you tried using the Waveform Min Max.vi (Programming » Waveform » Analog Waveform » Waveform Min Max.vi) or the Array Max & Min function (Programming » Array » Array Max & Min).  Will this work for your application?

Regards,

Mike S
NI AE
0 Kudos
Message 2 of 3
(3,006 Views)

You could use 'Waveform Peak Detector'.

You pass in an array of data.

Then specify if you are looking for Peaks (max) or Valleys (min).

You may also specify a threshold so only major peaks are caught.

Also, you may use 'peak width' to ensure that noise is not considered max/min.

Cory K
0 Kudos
Message 3 of 3
(3,004 Views)