10-04-2010 10:51 AM
Using multiple While loops. Is it best to wire up all loops to one stop using locals?? or is there a better way??
Stu
Solved! Go to Solution.
10-04-2010 10:52 AM
10-04-2010 10:54 AM
I generally agree with the example smercurio gave.
Have a "main" while loop that makes a queue to pass to the other loops.
When the user wants to stop the VI, the main loop will control the order in which the rest of the code should stop.
10-04-2010 11:42 AM
I like using queues or notifiers.
Never Locals..
I might use a ActionEngine if it is used to propagate status or events.
10-04-2010 12:20 PM
@Ray.R wrote:
I like using queues or notifiers.
Never Locals..
I might use a ActionEngine if it is used to propagate status or events.
.... and here comes Ben
10-04-2010 12:49 PM
Generally i avoid queues, not sure why lol But i like this answer. Simple and elegant.
Thanks Stuart