NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Howto get result of the calling-step in SequenceFilePostStepFailure

Hello,

i have a sequence with a SequenceFileCallback "SequenceFilePostStepFailure".
How can i create a popup that displays the following values:
- Name of calling-step
- sequence-name of calling step
- result of calling step
- limit (low, high, string) of calling step

 

I found:
RunState.Caller.Step.Name,
RunState.Caller.Sequence.Name

but nothing for result and limits.

 

 

Thanks for any help

0 Kudos
Message 1 of 4
(3,816 Views)

Hi,

 

You sould take a look to the parameters that comes with this callback

Just try this example

Note: This example is only working on NumericLimitTest!

 

Hope this helps

 

juergen

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 4
(3,805 Views)

This should handle what you're looking for and then some. I use this with the retry expression that allows for the whole sequence to be repeated. Probably shouldn't allow for the "Force Pass". I think it origianally came from TestStand examples and I modified it, but I couldn't tell you which example.

Why do geeks think Halloween and Christmas occur on the same day?
Because 31oct = 25dec!
Message 3 of 4
(3,748 Views)
By the way, the original callback was taken from the teststand example FailureHandlerExample.seq
Why do geeks think Halloween and Christmas occur on the same day?
Because 31oct = 25dec!
0 Kudos
Message 4 of 4
(3,745 Views)