Disable a Socket in Parallel Execution in Teststand

Updated Jul 3, 2020

Reported In


  • TestStand

Issue Details

I want to disable a socket using parallel execution in TestStand. I am unable to find an option that will allow me to do this similar to the batch process model that has the option of: ModelData.TestSocket[0]=False.

How can I disable a test socket so that no tests can run on a socket if a condition is not met before the execution of the tests, such as no hardware being found?


Due to how the parallel process model works, there is no such option to directly disable a test socket if a condition is not met. 

This is because the parallel process model runs the test independently for each test socket, so you can terminate the execution of tests with a general command.

One of these commands is RunState.Execution.Abort, this will make the test stop and allow the user to restart it.