NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically close Completed Execution Display?

After each execution of a sequence (Run MainSequnece) there is this 'completed execution display'. Is there a way to automatically close this display? In Configure/Station Options there is only the option to close that display automatically, when the NEXT execution is startes, but I want it to close automatically right after the execution! Thanks for any ideas!
0 Kudos
Message 1 of 6
(5,012 Views)
This is not possible in TestStand 1.0.x but it is possible in the recently released TestStand 2.0. In TS 2.0 you do not set this as an Station Option. Instead you set the ExecutionTypeMask to include CloseWindowWhenDone. This value is set whenever you start a new execution. In TestStand there are 2 ways to start a new execution.
1) Use a sequence call step. When specifying the subsequence you can select Run Sequence in New Execution. The corresponding Settings allow you to enable the Close Window When Done check box.
2) Call the API method Engine.NewExecution. In this case you will need to pass in the appropriate value to the ExecutionTypeMaskParam parameter of the method.

You can modify your operator interface code so that all execution windows are closed automatica
lly by using scenario 2) above. Your operator interface uses the Engine.Nexecution method to launch sequence executions initiated by the operator.
Message 2 of 6
(5,011 Views)
Does this approach apply to TS 3.1 as well? My Operator Interface uses "Application Mgr" invoke node to open sequneces. The Methods seem to be named differently.
Thanks.
0 Kudos
Message 3 of 6
(4,809 Views)
kev,

This is talking about Executions and not just Sequences. The API Method is still part of the Engine class and is backwards compatible to use this approach. Are you trying to close the Execution or the Sequence File itself?

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 4 of 6
(4,792 Views)

No, I want to leave the sequence open and just close the completed executions.

Thanks Brandon.

0 Kudos
Message 5 of 6
(4,789 Views)

Hey there,

you mean this "greyed out" window, right? 

Just Press "CTRL+D" and it or them disappear, i´m using a VI that simulates those key strokes during the ProcessCleanup.

Best Regards

Matthias

0 Kudos
Message 6 of 6
(4,748 Views)