I need some some help in finding all maximas of the signal.
For example: If the signal has 3 peaks I want to know the highest peak values(locations on x-axis).
I have tried function array max and min. But I gives only 1 highest peak value.
As input I have signal of 1D array.
ArrayMinMax works as described in the LabVIEW help…
Have you tried any other functions? Have you explored the SignalProcessing functions palette?
Mind to attach your VI with included example waveform?
"Maxima" is the plural of "maximum". So then "maximas" must be "maximumses".
the peak detection vi seems the one to try 😉
if you set width to 3 points you will all peaks 😄 so better read the help of that function and set reasonable tresholds and widths ... but be aware that this function give you subsample x resolution and fits a square function on the data, so if you want the numerical max value and sample index, use the peak detection positions, cut out a datasampl of search width length and use the array max vi.
It typically really helps to attach a simple VI containing example data because the choice of solution strongly depends on it. What do you know about the "peaks" (typical widths, amplitudes, shape, etc.)? How much noise is there? (if there is a lot of noise, each peak might have 10 micropeaks). How much baseline drift is there? Are the peaks negative or positive?
As mentioned, the peak detector might help.