10-25-2007 12:12 PM
10-25-2007 01:24 PM
Hi Maz,
We had the same requirement and were able to solve it. I don't know if you can do this in TS2.1, we're using TS4.0:
1. Our Labview user interface is modified to allow the operator to select check boxes of slots that need to be active for the upcoming test.
2. When the TestStand sequence is called
a. In the ProcessSetup callback, an action step uses a UI message to tell the user interface to populate an array in FileGlobals. The array contains the information on which test slots should be active.
b. In the ModelOptions callback I set the number of test sockets desired:
Parameters.ModelOptions.NumTestSockets = 16c. In the PreBatch callback I use a counter to loop through the test socket indices and set the enable/disable depending on the contents of my array:
Parameters.ModelData.TestSockets[Locals.LocalCounter].Disabled = !(FileGlobals.SlotActiveArray[Locals.LocalCounter])
Note that the PreBatch callback eliminates the standard Batch/UUT serial number popup but we use our user interface for that purpose.
Hope this helps. It wasn't easy to implement but it works well. .
Steve S.