Showing results for 
Search instead for 
Did you mean: 

unchanged analog value!

Go to solution

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.



0 Kudos
Message 1 of 2
Accepted by topic author dphan128

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.

LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 2 of 2