NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand how to check debug mode

I want to close the execution windows when done, and for this i've inserted a statement at the begining of the process model : RunState.Execution.TypeMask = RunState.Execution.TypeMask + 0x10. But i would like it to be executed only in debug mode.
How can i check TestStand debug mode ?

JMC
JMCe
0 Kudos
Message 1 of 2
(3,079 Views)
I've found my answer : i've a boolean "IsEditor", updated with an ActiveX action :
Object reference : RunState.Engine
Automation Server: TestStand API
Object class : Engine
Get Property : ApplicationIsEditor.

There are a lot of methods and properties accessible with ActiveX, but not so easy to find !

JMC
JMCe
Message 2 of 2
(3,077 Views)