NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Station Options - Interactive Mode

Hello,
- Just wondering whether it is possible to set the "Interactive Mode"
properties programatically.
I would like to programatically set the Interactive Mode properties when
the operator interface starts up. (These options can be found in the
Station Options Dialog). I know that there are Engine properties to set the
"Execution Mode" using the ExecMask, but I could not find anything to set
the "Interactive Properties."

Thanks in advance.
Joe
0 Kudos
Message 1 of 5
(3,963 Views)
Currently there is not way to programmatically change "Run Setup and Cleanup for Interactive Execution" option.
But for "Record Results in Interactive Mode" Option you can disable record results for each step in your interactive execution and it will not record results.

You can also call Engine.DisplayOptionsDialogto display and modify the station options.


Anand Jain
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 5
(3,963 Views)

Hi all,

 

of course, this is an old point, but:

I'm using TestStand 2010 and 2012 and I'm wondering,if this is possible now.

 

I can't find the properties to set "Run Setup and Cleanup" and "Record Results" of interactive executions.

The only properties I found were "InteractiveExePropagateStatus" and "InteractiveBranchMode".

 

Is this still not possible?

 

Thx

Wolfram

 

 

0 Kudos
Message 3 of 5
(3,253 Views)

Example of removing the InteractiveRunSetupCleanup setting:

 

RunState.Engine.StationOptions.ExecutionMask &= ~ExecMask_InteractiveRunSetupCleanup

 

Example of adding the InteractiveRunSetupCleanup:

 

RunState.Engine.StationOptions.ExecutionMask |= ExecMask_InteractiveRunSetupCleanup

 

There is also a flag for the result setting: ExecMask_InteractiveRecordResults

 

Hope this helps,

-Doug

Message 4 of 5
(3,242 Views)

Great, this works!

 

Thx

Wolfram

0 Kudos
Message 5 of 5
(3,239 Views)