07-12-2005 08:31 AM
07-12-2005 10:02 AM
Jeffster,
If you need to execute a test x number of times in a loop you could implement a loop within your sequence.
For example you could move your test to a different sequence and use the sequence call step type to call it.
From the step properties go to the Loop options and configure the number of loops for the sequence call step.
In that way your test would run X number of times while you hit the test (Run) button without the necessity of modifying the operator interface.
You could even make your sequence display a dialog asking for the number of loops you want to execute.
Best Regards.
Check the Step Properties Dialog Box help in the TestStand environment Reference Help.
07-12-2005 10:36 AM
07-13-2005 12:44 PM
Hi Jeffster,
I'll first point out that I agree with Antonio that modifying the sequence is going to be many times faster than going through the OI, but if this is not a possibility, then we should be able to do it in the OI. You'll want to do the following:
This will create seperate executions for each run of the sequence. This should get you on the right track, but if you have any questions, please feel free to let me know. Have a good one.
07-13-2005 01:10 PM
If you loop on Command.Execute for an entry point command, you will get parallel executions. This doesn't sound like what is desired.
The desited behavior would be easiest to implement in the process model. In the TestUUTs entry point, there is already a loop that exits when the user cancels it. TestUUTs could be changed to instead initially prompt for an iteration count. You can make a new entry point by copying TestUUTs so that you would still have the TestUUTs entry point.
To implement this looping in the OI, you should probably restart an execution or launch a new one in response to the ApplicationMgr.EndExecution event. Your OI would need to track which executions are being looped and which iteration they are on.