NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically terminate a sequence execution in TestStand?

I would like to terminate my sequence in the middle of execution (depend on user input) programmatically, but setting a step Status="Terminated" have no effect on it. Is there any method to do so?
0 Kudos
Message 1 of 2
(12,352 Views)
Hi,

I have attached an example sequencefile.

You have to call Execution.Terminate() method or if you have more than one execution then call Engine.TerminateAll() method.

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
Message 2 of 2
(12,352 Views)