09-12-2009 03:58 AM
Dear All !
I have a while loop with only 1 num. controller. When the user changes the value in it - in whatever way - , i would like the loop to end.
I couldn't find a way. I looked for something like a "ValueHasChangedPropertyNode" boolean, but found nothing. The only thing i could do is have a STOP button next to the control and after changing the value i have to press the STOP.
...Which i dont like.. please help, thank you,
Laszlo
09-12-2009 04:04 AM
Hi Laszlo,
either you use an event structure with a "value change" event for that numeric control or a shift register keeping the value from last iteration and a simple "unequal" comparison...
This is pretty basic. Have you attended the free online courses on NI's website (academics section)?
09-12-2009 04:48 AM
GerdW is right...
if you go into labviews examples and search event it will bring up a couple of examples of the event structure being used and how to use it
09-12-2009 08:08 AM
Thank You very much. I haven't, i didnt know about it. I will, thank you for the advice.
Laszlo