You can do this by inserting a sequence file callback into your main sequence and choose the ModelOptions callback. You can then use the expression step to set the "Parameters.ModelOptions.NumTestSockets" value to whatever you want. If you then use the Test UUTs execution entry point you will be prompted for serial numbers automatically. You could also use this same procedure but alter the ModelOptions callback in the process model directly, either way works just as well but I think that using a sequence file callback gives a bit more flexibility in the system.
Hope this helps,
Thanks for ur solution. I tried it out but the i find that though i set the "Parameters.ModelOptions.NumTestSockets" in the ModelOptions callback, it gets the number of test sockets only from the value entered for the Number of Test Sockets in the ModelOptions Dialog of the OI. How to override this value at runtime?
Thanks and Regards,
I am settg the ModelPath in the OI only. I have checked out with breakpoints and it has changed the value of NumTestSockets. Can you please send the example that you have tried so that i can find out what i am missing?
I still have the example I wrote to check this out, which version of TestStand are you using and I will post it here.
I got it done. It worked out fine for me too. Thanks.
Do you have any idea of how it can be done dynamically through the OI?