01-12-2017 04:09 PM
Can I exit an if/end block with a goto (bypassing the 'end' step)? It seems to work ...
Pseudocode
1. Get serial number via dialog
2. If 'cancel' not pressed
3. End if
01-13-2017
04:34 PM
- last edited on
10-20-2024
08:51 PM
by
Content Cleaner
Hi stephenb2,
I took a look at your code, and it looks good. goto steps are commonly used for this purpose, to add it different branches of execution order dependent on either post conditions/expressions or conditional steps. Here's some additional documentation if you want more detailed information on these types os steps:
How Can I Skip to a Specific Step in a TestStand Sequence?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7Q2SAK&l=en-US
Goto Step
https://www.ni.com/docs/en-US/bundle/teststand-api-reference/page/tsref/goto-step.html