NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SequenceFilePostStepFailure call back stuck

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

Download All
0 Kudos
Message 1 of 3
(2,653 Views)

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 

0 Kudos
Message 2 of 3
(2,594 Views)

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.

0 Kudos
Message 3 of 3
(2,584 Views)