06-03-2008 10:16 AM
06-03-2008 10:32 AM
The peak-detector vi uses interpolation to find where the peaks would be if the data provided was a continuous curve, rather than consecutive points. Because of this, peaks will often be placed between points, and at values not actually listed.
One quick way to get the values and locations from the array itself would be to take the locations provided, and do a min-max of the indexes surrounding that area (round value to nearest integer, and use index above and below, for instance).
Hope this helps!