10-22-2014 11:25 AM
hi!!
how to change the number of test socket directly into teststand!!
I see modelOption in the parallelModel.seq, but it's never call so I can't modify the number of test sockets.
Any idea?!
10-23-2014 09:38 AM
Hi,
There are a couple of ways to change the number of test sockets depending on whether you would like to do this at edit-time or run-time.
If you just want to change it in the TestStand environment, you can go to Configure>>Model Options, and there is an option to change the number of test sockets. Note that this option will only be available if the process model is set to parallel or batch.
If you want to setit programmatically, you would have to override the ModelOptions callback, as described in this article:
http://www.ni.com/white-paper/2802/en/
Depending on your version of TestStand, some of the images/steps in the above article may not apply, but the general steps are still valid.
Regards,
10-24-2014 06:58 AM
Yes, I want to set it programmatically!
The ModelOptions sequence is already in my list on the parallelModel.seq.
The problem is that even if I put something in the ModelOptions.seq, it's never called my anything!!
10-24-2014 07:09 AM
Never mind!
I found a way to make it work!!
I create a new stationGlobal variable where I set the count of socket I need for a specific station. Then, in ModelSupport.seq where it change the count, I applied my new count there.