NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to have teststand batch execution windows close themselves after the batch has been run?

It's quite annoying that at the end of batch execution, there are up to 8 copies of the same batch execution report, as well as a floating window displaying it.  I would like all these slot-specific execution windows to go away AFTER (hiding the windows from ever showing up is not an option because I can't see their execution traces) testing is complete.  How might I do this?  Would I programatically close them in the PostBatch call back?
0 Kudos
Message 1 of 2
(3,049 Views)
Hi Tjjuggle,

There are two options to make the windows disappear after testing is complete:

1)  Refer to the first part of KB MHB6C6E entitled "Is There an Easy Way to Close Open Execution Windows in the TestStand Sequence Editor?

2) The second option is to modify the Batch Process Model. First you would have to find the references to the different executions created during the test. Once you have the execution references, you would have to find out which executions are active and which are disabled. Finally, when all the sequences are done you would have to close the windows for the executions that were not active. The Batch Process Model is the most complicated of the three process model, so going through these steps can be very challenging. Furthermore, due to the multithreaded nature of the Batch Process Model changing its operation might create issues in other parts of the model.

Cheers,
David Goldberg
Cheers,

David Goldberg
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(3,010 Views)