NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SequenceFilePostStepFailure

Hello 

 

I am using Teststand 2014 and i want to send a message to the UI if a step fails. So, i use the SequenceFilepoststepFailure callback. But the problem is that this callback not only fires when the step fails but also when the sequence fails where the failed step is in. So, it fires twice. Is there a way to let the callback fire only on the step and not on the sequence the step is in ?

 

Thanks in advance

0 Kudos
Message 1 of 2
(1,771 Views)

Since SequenceCall Steps are still steps that callback is going to fire if the sequence fails. If you're just trying to update the UI with some step info, then you could just let the callback fire both times and only send your UI Message once. Try a precondition like this on the step that sends the message:

Parameters.Step.StepType.Name != "SequenceCall"

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 2
(1,692 Views)