01-04-2002 12:36 PM
01-04-2002 01:26 PM
01-04-2002 04:06 PM
01-06-2002 06:06 PM
01-06-2002 08:17 PM
01-06-2002 08:32 PM
11-17-2013 11:15 AM
I found this old thread because I was having the same problem doing peak detection with only the base package.
My solution uses the algorithm 'if value n and value n-2 are both less than value n-1 then n-1 is peak'
This could be expanded over 5 values instead of 3 thus: n-4 < n-3 < n-2 > n-1 > n and peak is at n-2
Expand over any odd number of values to improve noise immunity.
I have attached my VI, that also includes a calculation of the mean of the peaks.
This reads 100 dummy data points from a file and should show 13 peaks.