Solution
This LabVIEW issue happens when the
width input of the
Peak Detector VI is lower than 3.
According to the documentation the
width input specifies the number of consecutive data points to use in the quadratic least squares fit.
Width is coerced to a value greater than or equal to 3. The value should be no more than about 1/2 of the width of the peaks above
threshold or valleys below
threshold and can be much smaller (but > 2) for noise-free data.