06-30-2017 06:35 AM
I have a problem, I am trying to perform retries of some steps inside a For loop for many files. My solution is that I have set up a SequenceFilePostStepFailure. The For Loop has 5 to 7 steps to perform and a step which is the evaluation point for the test. But once this step fails I have to redo all the steps in the For Loop at least once otherwise end the test. My solution is easy on the step that I should start the retry I have set a local variable 'RetryStepIndex' and I set the variable to RunState.StepIndex and in the SequenceFilePostStepFailure I have set the next step RunState.Caller.RunState.NextStepIndex = RunState.Caller.Locals.RetryStepIndex. This works fine when debugging and TestStand. But I when I deploy it with a user interface the test does not work fine its always stuck after performing the call back.
By the way I have another call back that deletes the retries test results from the report.
I have attached the simple sequence I am using for testing and debugging
07-05-2017 04:50 PM
Hi Marius090,
Can you elaborate on what happens when it is deployed? Does the test just freeze or does it end?
Justin
Applications Engineer
National Instruments
07-06-2017 01:11 AM
I found a solution, unfortunately some had played with the configuration of the pc on the Test statation, They had set "stop when sequence fails" on and that caused the sequence to stop.