NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Different number of testsockets - How to change with expression?

Solved!
Go to solution

Hello,

i have two sequence files which are using two models. The models are set in:

Edit -> SequenceFileProperties -> Advanced

 

Now i need to run the first sequence with only 1 socket and the other sequence with 2 sockets.

But it seems that Configure + ModelOptions is a global setting which is valid for all models.

 

Question is:

How can i do it that model1 is always executing with one socket and the other model with two sockets?

 

Can i add here simply a step into the SequenceFileLoad of the model(s)?

If yes - what is the expression to change the sockets?

 

Thanks

0 Kudos
Message 1 of 3
(971 Views)

You can specify Sequence File specific Model options by overriding the ModelOptions callback and set the value of ModelOptions.NumTestSockets

 

santo_13_0-1633614129613.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(969 Views)
Solution
Accepted by topic author OnlyOne

Thanks.

How can i do this change directly in the model sequence?

So the one model should ALWAYS run with one socket and the other model always with two sockets

 

Currently in the model the Parameters in "ModelOptions" displays NumTestSockets = 4

 

Thanks

0 Kudos
Message 3 of 3
(964 Views)