09-22-2008 03:43 PM
Is there a way to stop a program while it's insides some embedded for loops? I've been trying using events, but I am still stuck inside my embedded for loops. Basically, I have 3 embedded for loops, which do a total of... 600 iterations, all of these loops are inside a while loop... I would like to be able to stop the while loop (and hence my program) while I'm in the for loops... is this possible?
Thanks
09-22-2008 03:48 PM
09-22-2008 04:31 PM
The best solution is the one provided by smercurio. You can also use a "quick and dirty"-solution: In the Application-Control-palette, there's a "STOP"-Vi which does the same the red button in LabVIEW does...it stops the program. If you place it into a case-structure into your for-loops, you can also stop your program. You have to place your cleanup-stuff (if any) BEFORE executing this stop...for example by adding a sequence-structure into the case-structure and adding the cleanup in a frame before...
Hope this helps,
Greetings,
Christian
09-23-2008 08:45 AM
09-23-2008 09:28 AM