NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to change the number of Test Sockets, from the CVI User Interface?

Solved!
Go to solution

I would like to have the number of sockets in an INI File, the User Interface would read the value from the file and set the Number of Test Sockets.  I know it can be done by adding Callback Sequence, ModelOptions, to my sequence files and modifying the parameter.  How would you do it in the User Interface?

0 Kudos
Message 1 of 4
(3,332 Views)
Solution
Accepted by topic author jhedr

You could have the user interface read and edit the reportoptions config file like the process model does (see source code for modelsupport2.dll in <TestStand>\Components\Models\TestStandModels). But why do you need the user interface to do this? Why not just override the ModelOptions callback and do it there?

 

-Doug

0 Kudos
Message 2 of 4
(3,310 Views)

Not a good reason the more I think about it.  Other than making sure the ModelOptions Override is added to the Test Sequences, we will be creating multiple Test Sequences and the ModelOptions would have to be added to all of them.

0 Kudos
Message 3 of 4
(3,299 Views)

You don't have to override it in every test sequence. You can override it in your StationCallbacks.seq file (located in <TestStand Public>\Components\Callbacks\Station). It will then get called for all process model executions on that machine.

 

-Doug

0 Kudos
Message 4 of 4
(3,292 Views)