05-05-2006 04:08 AM
05-05-2006 05:42 AM
Hi Madhu,
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,
Nick
05-05-2006 10:39 AM
Hi Nick,
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,
MadhuSri
05-05-2006 05:33 PM
05-09-2006 12:34 AM
Hi Tyler,
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?
Thanks,
MadhuSri
05-09-2006 02:03 AM
Hi Madhu,
I still have the example I wrote to check this out, which version of TestStand are you using and I will post it here.
Nick
05-09-2006 03:08 AM
Hi Nick,
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?
Thanks,
MadhuSri