Patrick,

You wrote:

... we would like to capture the values that cross a set (Y)
threshold and then save them to a separate array along with their (X)
value.

You can use the Threshold 1D Array primitive in a loop, feeding the fractional index output back to the start index input through a shift register, but be careful. You must ignore any value where the fractional index matches the start index or you will recover all points above the threshold. If the start index matches, increment it before feeding back. Stop the loop when the fractional index is NaN. There is a diagram at http://www.SULLutions.com/LabVIEW/ThresholdDetection.gif.


If you need any more info, just ask.

--
        EnWirementally,
        Paul F. Sullivan

----------------------------------------------------

        SULLutions              (781)769-6869
        "when a single discipline is not enough"

visit http://www.SULLutions.com

----------------------------------------------------




Reply via email to