05-20-2021 02:43 AM
Hi TestStand community,
In the sequence properties, you can set the execution flow of the sequence on step failure (No Action, Goto Cleanup, Use Station Option). But this is a manual setting for the sequence. Is it possible to programmatically change this setting for a given sequence?
What we are trying to do is run a sequence in one of two modes. Either:
- Production: Immediately go to cleanup on sequence failure
- R&D: Continue executing subsequent test steps if a test step fails
Solved! Go to Solution.
05-24-2021 05:33 PM
This may give you some ideas:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LiGSAU&l=en-US
06-15-2021 10:27 AM
I guess what you are looking for is Immediately Goto Cleanup On Sequence Failure option.
You can find it under Configure-> Station Options->Execution
Station Options Dialog Box - TestStand 2019 Help - National Instruments (ni.com)
Roman
10-06-2021 09:37 PM
This is what I was looking for! (Finally)
https://zone.ni.com/reference/en-XX/help/370052AA-01/tsapiref/reftopics/sequence_failureaction_p/