NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Post action execution

In post action of a pass/fail step, how can I go to a step in another sequence file?
0 Kudos
Message 1 of 4
(3,271 Views)
To hss -
A post action can only call a sequence in the existing file and it cannot pass parameters either.

To call into a different sequence file, you must use a separate Sequence Call step that uses a precondition that references the pass/fail status of the previous step.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 4
(3,271 Views)
This action cannot be performed directly, as said above. There is however another way to do this using callbacks and in particular using the PostStepFailure Engine Callback. I have attached a link to an example which uses this callback. This example can be used as a starting point.

http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=C5CA1B4FC45A2504E034080020E74861&p_node=DZ52228&p_submitted=N&p_rank=&p_answer=&p_source=external

Hope this helps

Hannah
NI
0 Kudos
Message 3 of 4
(3,271 Views)
Note that using an engine callback can slow down performance because it is called after every step executes. If this post action is an isolated case and does not apply to more than a handful of steps, using an engine callback would not be an ideal solution.

Scott Richardson
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 4
(3,271 Views)