LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparison in a while loop between a 7th loop valuee and 8th loop value

I have a value (voltage input) in a while loop that changes, maybe not every loop, but every 10 or so. Every loop I have to make a comparison between the previous loop voltage, and the voltage I am receiving from the current loop. If it did not change, then I have to do nothing. If it did change, I have to AO the voltage plus a certain increment. I have no idea how I could do this. Help!!!
0 Kudos
Message 1 of 3
(2,750 Views)
Feed your voltage into a shift register or (feedback node).

The shift register contains the value of the previous iteration to be compared with the current value.
0 Kudos
Message 2 of 3
(2,750 Views)
It worked perfectly, thanks!
0 Kudos
Message 3 of 3
(2,750 Views)