From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass / Fail step post action - option to retest step / fail step / abort sequence on fail.

Solved!
Go to solution

Hi there....

 

In my main sequence there are a number of Pass / Fail steps, preceeding this an instruction telling an operator to connect cables etc.

 

What I would like to do;

 

If after executing a step the result is a Fail, we would like the option to retest, or, fail step and continue, or, abort  the sequence (incase of operator forgetting to connect a UUT correctly etc)

 

I'm a little out of my depth here in terms of how we could configure this in the "Step > Properties > Post Action" to give us these sort of options, or indeed if there is a different / better way of doing this altogether.

 

TIA.

 

Jim.

LABOR OMNIA VINCIT
0 Kudos
Message 1 of 2
(4,235 Views)
Solution
Accepted by topic author jimbobaggies

Do not use the Post Action.  There is a callback for this very thing.

 

This example demonstrates what you are looking for:

http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/callbacks_sequencefileposts...

 

Let me know if you have any quesitons about it.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(4,220 Views)