NI TestStand 2014 Help
»View Product Info
This example demonstrates the concepts of executions, threads, and call stacks and shows how they interact. The example also shows how you can use the Call Stack Pane and the Threads pane to view the current status of an execution.
Example File Location
<TestStand Public>\Examples\Fundamentals\Structure of TestStand Executions\Structure of TestStand Executions.seq
How to Use This Example
Complete the following steps to review the sequences and steps in the example.
- On the Sequences pane, select the MainSequence. This sequence contains three Sequence Call steps, which represent three distinct methods of calling a subsequence.
- Click the Call SubSequence step and navigate to the Module tab of the Step Settings pane. Notice that the Execution Options for this sequence call are set to None, which indicates that this sequence does not execute in a new thread or execution.
- Click the Call NewThread step and navigate to the Execution Options of this step. Notice that this sequence call is set to execute in a new thread, which means that execution of the MainSequence continues as the New Thread sequence executes.
- Click the Call NewExecution step and navigate to the Execution Options of this step. Notice that this sequence call is set to execute in a new TestStand execution, which means that TestStand manages execution of the NewExecution sequence independently from the current execution.
Complete the following steps to run the example.
- Select Execute»Single Pass to run the sequence.
- During execution, message prompts explain the structure of TestStand executions. After you dismiss each message, the corresponding Sequence Call step executes, and TestStand automatically pauses execution so you can examine each concept being demonstrated.
- When you are ready to continue to the next step in the example, click the green Resume button on the debug toolbar. This process repeats until execution completes.