09-20-2006 12:35 AM
09-20-2006 12:45 AM
Hi Avni there are some ways to abort your sequence. For instance you could use the stop VI, this works as the abort button of LabVIEW but you wont be closing task and for example if you are using the serial port it wont close the port and you might get some errors later. On the other hand you could replace your stack sequence with a state machine, this will give you chance to interrupt it between states.
Another possible way is place the code of each of the sequence in a case structure a use an abort button when you press this, you won’t execute the following cases.
I’m more on the state machine, but I hope these ideas help you
Best Regards