LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

it takes only the first"number"value and the small loop goes on and on

i want to read and compare each value(of the"number" constant)with the numeric value.but in the small loop it reads only the first value and the next value is not read because in the small loop the "number" value is not refreshed.i want this value in the small loop to be refreshed.
0 Kudos
Message 1 of 2
(2,236 Views)
I'm not exactly sure what you are looking for, but I'll take a guess. The VI is rather hard to follow but it sounds like you want to compare the value of the variable "number" and the value of the variable "numeric." Is that correct? If so, then the reason why "numeric" is not updating its value is because you wired it into a loop and so it only takes that first value. In order to always get the most current value of that control, you will need to use a property node with the value property to get its value every time in the while loop. If that's not what you're looking for, explain in a little more detail exactly what your VI is supposed to do, and I'll try to help you out some more.
J.R. Allen
0 Kudos
Message 2 of 2
(2,236 Views)