04-28-2012 08:15 PM
How to set Batch model TestUUT to loop once? Need to use TestUUT and not single pass as require the UUT dialog box.
In process model if "Goto Next Batch" step is changed to branch to "---- End of Batch Loop ----", threads do not stop.
Please advice.
Solved! Go to Solution.
04-29-2012 01:59 AM
Made the following updates but teststand hangs on the step "Wait For TestSockets" in the batch model.
1. Set ContinueTesting to False in modelsupport2.dll - this is in Stop button callback
2. In batch process model did the following
2a. After PostBatch Callback step added Tell TestSockets to Stop
2b. Goto Next Batch points to End of Batch Loop step
When the execution reaches "Wait For TestSockets" after running the first loop, it stays on this step forever.
Is there any other setting needed?
04-30-2012 04:33 PM
Hello sonotk,
Is the dialog box the only feature you need in addition to what Single Pass offers?
Jeff L.
04-30-2012 05:13 PM
Jeff,
All the feature provided by TestUUTs are needed. Dialog box simply customized.
Only feature not needed in TestUUTs is to loop over for the second iteration. So the dialog box Next button is replaced to show Stop and ContinueTesting set to false in modelsupport.
What is not working is the process model step where it waits forever.
Thanks!
05-01-2012 09:33 AM
The simplest thing for you to do is in the PreBatch callback/sequence check Parameters.ModelData.BatchLoopIndex if it's > 0 or > 1 (forget if it's 1 or 0 based) then set Parameters.ContinueTesting = false rather than running the steps that are normally run in that sequence. That's it really. That should do it.
Hope this helps,
-Doug
05-01-2012 09:38 AM
I believe that Doug is correct:
Regards,
Jeff L.
05-02-2012 05:35 PM
Thanks that worked.