02-20-2013 07:57 AM
I have inherited a rather massive piece of TestStand code which is a hierarchy of sequences and LabVIEW modules. I want to find all the tests (or anything) that can abort the overall sequence early. I see some Pass/Fail tests and some Numeric Limit tests, but all the ones I can find seem to go to the next step on a fail.
How can I find all these tests?
02-20-2013 01:57 PM
Not sure exactly what you are looking for but basically there are several items that can stop TestStand from executing:
Abort
Terminate
Failure
Test Completion
Abort and Terminate can be user initiated or initiated by the API.
For the Failure a step has to fail. In this case there are settings in both Station Options, Step Settings or Sequence Settings.
1- Configure>>Station Options and click the Execution tab. Look at the Immediately Goto Cleanup on Sequence Failure option
2- With the sequence highlighted go to Edit>>Sequence Properties... On the General tab look at the Immediately Goto Clenup on Sequence Failure
3- Step (sounds like you got this one figured out in the Post Action settings)
With each of these you can read in the Help about the scope and what not.
Hope this helps,
02-20-2013 11:25 PM
Like Jigg pointed out you can check the configure -->station option settings for global settings.
If you are doubting it will be there in your sequence - do a search (CTRL + F) and look for "terminate" or "cleanup".
You will get a list of all steps whose post action is configured to jump to cleanup or terminate on fail.