07-20-2007 10:57 AM
07-23-2007 11:46 AM
07-23-2007 12:01 PM
07-23-2007 01:13 PM
07-24-2007 10:47 AM
07-24-2007 11:24 AM
07-24-2007 01:46 PM
07-24-2007 01:59 PM
08-28-2018 03:31 PM
Hi Doug,
I know this is an old post but this was still very much applicable and super helpful in reducing interface clutter - thank you!
For what it's worth to someone reading this in the future, I am doing this from a model plugin in TestStand 2017 using the "Model Plugin - Pre Batch" entry point. All of our model customizations (of which there are many) are now in our plugin and we are using the stock NI batch model.
In our case, from the "Model Plugin - Pre Batch" entry point I'm using the following:
RunState.Thread.PostUIMessageEx(UIMsg_CloseWindows,0,"",Parameters.ModelPluginConfiguration.RuntimeVariables.PerSocket[Locals.i].Execution,True)
Where locals.i is the test socket index.
To determine if a socket is disabled...
Parameters.ModelData.TestSockets[Locals.i].Disabled
To re-enable tracing...
Parameters.ModelPluginConfiguration.RuntimeVariables.PerSocket[Locals.i].Execution.AsExecution.TracingDisabled = False
Maybe someone will find this useful someday.