|
Re: How to force break a loop
The puzzle has been solved. I'll just add that aborting running VIs is not something you should do on a regular basis. We are doing it here to make the framework simpler to use. The normal way of exiting a loop is for the code in the loop to say "I'm done". It can include info from anywhere else in the program to make that decision.
Using the Run and Abort methods on a VI is a way for you to spawn and kill a task similar to an OS thread.
Greg McKaskle
|