NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

number of enabled testsockets

I may application i have 5 testsockets. The user can enable/disable testsockets. Which variable holds the total number of enabled testsockets ? I seen only the Runstate.TestSockets.Count (total number of testsockets) and RunState.TestSockets.MyIndex (current active testsocket number)

0 Kudos
Message 1 of 3
(948 Views)

Heya Tonnie, 

 

If you add in the ModelOptions callback into your main sequence you can use the parameter of Parameters.ModelOptions.NumTestSockets to set the number of sockets programatically. This can be seen in the following article. 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7p7SAC&l=en-GB

They use a statement step but it could be any other way that allows the user to enable or disable certain sockets. 

Is this what you are looking for?

0 Kudos
Message 2 of 3
(911 Views)

Hello AlastairUK

 

This is not what i meant. As far as i know this is the total number of testsockets used by the processmodel.

For instance, i have 5 testsockets [0..4] but for a burnin run i only want to enable socket 0 , 2 and 4 and disable socket 1 and 3.

Is there a variable that tells me how many sockets of are enabled (in this case 3 of 5) ?

0 Kudos
Message 3 of 3
(890 Views)