LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make program know that x value is changed when you enter new value?

I want to make program like this:
 - x is numeric control. Each time when you enter new value for x, the program will do new task .
how to make program know that x value is changed when you enter new value?
I tried to make it in array, i can see it changed, but only in short time, and the program did not know that the value was changed.
0 Kudos
Message 1 of 4
(2,558 Views)
I also tried with property node, but i haven't found the way.
0 Kudos
Message 2 of 4
(2,550 Views)
Hello HaNoi,
a common way for this problem looks like this:



greets, Dave


Message Edited by daveTW on 11-14-2007 09:38 AM
Greets, Dave
0 Kudos
Message 3 of 4
(2,546 Views)
Right inside that while loop put an event structure. Then righ click
the event and click edit events handled by this case... Under
Controls Numeric select value change in the right column. When the
value is changed the event will fire and the code will execute, if it
is inside the while loop will execute each time the value is changed.
If you put an event structure outside a while loop it will only excute
once.

0 Kudos
Message 4 of 4
(2,524 Views)