06-23-2009 05:21 PM
Hi ,
I'm reading an increased analog value thru my DAQmx and I want to perform another action when the analog value reaches its max and stop increasing. How would I write my LV code to check for that condition.
Thanks
Solved! Go to Solution.
06-23-2009 05:41 PM
With noise-free data, this is easy. Just place the value in a feedback node and compare the previous value with the current value. If the are equal, the condition is met.
If you have any kind of noise, you could use the "point-by-point linear fit" with a suitable history size and check if the slope is below a certain threshold.