NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Abort and Terminate

Solved!
Go to solution

What is the difference between aborting and terminating a sequence?

0 Kudos
Message 1 of 4
(6,051 Views)

Create a sequence with some steps in the setup, some in the main and some in the clean-up stepgroup. You should also add a subsequence with an equal setup. Call this sub from a main step in the MainSequence.

Terminate/Abort at a step in the main stepgroup of the subsequence. Look into the report for the result.

 

Hint: Give unique names to your steps (statements) that you see with one blink of an eye from which stepgroup the steps are.

 

hope this helps,
Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(6,044 Views)

What is see is, Terminate will execute the steps in the Cleanup Step group and generate a report. Whereas abort will not execute any further steps and it will not even generate the report.

0 Kudos
Message 3 of 4
(6,020 Views)
Solution
Accepted by topic author Flamboyant

Terminate will run the cleanup as you have observed.

 

This becomes important when you have hardware and it has to be reset/brought to known state before the end of execution.

 

In case of terminate the cleanup routines will be taken care of.

 

In abort it does not.So your hardware can remain in a unknown state when Teststand quits.

Message 4 of 4
(6,014 Views)