You can use an Invoke node with the 'Abort VI' method and get a
reference to your subVI and kill it that way, but it's not good
practice to use Abort to stop a VI, it's really a developmet/debugging
tool. Another problem is the Sequence structure, they cannot be broken
out of before it's done executing all of its frames.

Your best bet is going to be to redesign your subVI so it doesn't use
the sequence, and instead have it running in a While loop. You can
then use a Queue to send a message from your main VI to the subVI to
tell it to stop. A bit more work, but it's a better way to go about
it.

Ed

Reply via email to