The VI shown in the attachment will give peak location and amplitude, but often it gives the wrong amplitude. I usually just take the location that it gives and find the amplitude of the location in the array.
I've tried using this vi and others (see attached along with data) and they all give me conflicting/wrong results. I want to measure the amplitude of a series of peaks, where the amplitude for each peak is different.