NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Launch actions of an asynchronous thread in a main sequence

Solved!
Go to solution

You can use Execution.GetStates and check the termination state to see if the execution is terminating. The default behavior of TestStand is for an execution to terminate when an error is encountered. If you want to know specifically that an error occurred and what that particular error is then you should pass RunState.SequenceError as a by reference parameter to your asynchronous sequence that contains your monitoring VI and then monitor the fields under that parameter (i.e. check MyParameter.SequenceError.Occurred to see if an error occurred).

 

Hope this helps,

-Doug

Message 11 of 12
(1,041 Views)

Thanks Doug,

 

Your suggestion worked perfectly.

 

-Brian

0 Kudos
Message 12 of 12
(1,008 Views)