08-28-2011 02:21 PM
hello labview users !
i have several loops running in parallel. some of the loops are events structure , each includes 100 ms timeout event.
all the stop terminals of the loops are connected to a local variable named Stop_All. is this the way ?
i don't know how else should i terminate the program.
please your kind help !
Solved! Go to Solution.
08-28-2011 02:54 PM
Hi hookso,
common ways are:
- using a local (or even a global) variable
- using the "quit" function (quick&dirty)
- using a notifier/queue to send a quit command to your statemachine
- using a functional global variable (FGV)
08-28-2011 03:13 PM - edited 08-28-2011 03:14 PM
All the loops with event structures don't need any local variable or stop button terminal, a stop event tied to the stop button is sufficient. Place the terminal of the stop button inside the loop without event structure. That should take care of most loops. 😄
What is the purpoise of the timeout events? Are they really needed?