NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine if in Interactive mode?

In the process model, I need to determine if the client sequence file was run in Interactive mode. I found a method called Execution.InInteractiveMode(), but I don't know how to get an ActiveX reference to the Execution object.
0 Kudos
Message 1 of 3
(2,993 Views)
Every SequenceContext has an Execution property. You can use the expression "Execution" for the reference to the Execution object.

Scott Richardson NI
Scott Richardson
https://testeract.com
Message 2 of 3
(2,993 Views)
Thanks, that works. This way I can differentiate between complete and partial sequences when logging results to the database. I used an ActiveX step with a reference to "RunState.Execution".
0 Kudos
Message 3 of 3
(2,993 Views)