TestStand 2019 Help
»View Product Info
Steps Pane Context Menu
To access the context menu, right-click the Steps pane. The items in the context menu vary depending on whether you right-click a step or the background area of the pane.
The Steps pane context menu can contain the following items:
- Insert Step—Selects the type of step you want to insert into the sequence.
You can use many of the steps types in the Insert Step submenu to call code modules. Of these step types, some can work with all module adapters, while others require a specific module adapter. Each module adapter calls a category of code modules, such as LabVIEW VIs, LabWindows/CVI source or object modules, or DLLs. Some module adapters also know how to control the ADEs in which you build these types of code modules.
Before you insert a step that can call a code module using any adapter, you must select the appropriate module adapter for the type of code module you want the step to call. Select the adapter icon from the Insertion Palette. If a step type in the Insert Step submenu can work with any adapter, the icon for the module adapter currently selected in the toolbar appears beside the step type. When you insert a step, the adapter icon also appears beside the step name.
When a step type in the Insert Step submenu works with only one specific module adapter, the icon for the module adapter appears beside the step type. After you insert a step using one of these step types, the adapter icon also appears beside the step name.
When you insert a step that does not call a code module, such as a Goto or Label step, the currently selected adapter has no effect. These step types have unique icons. These icons appear next to the step types in the Insert Step submenu and next to the steps you create using these step types.
- Surround Selection With—Surrounds the selected block of contiguous steps with a default set of corresponding begin and end Flow Control or Auto Schedule steps. You can select from the following step types, and you can configure custom step types to appear in this list:
- For Each
- Do While
- Auto Schedule
- Use Auto Scheduled Resource
- Edit Menu—The full name of the Edit Menu item varies according to the type of the selected step. For example, the menu item name is Text and Buttons for a Message Popup step, Edit Limits for a Numeric List Test step, and Edit Destination for a Goto step. For each step, the menu item either displays a tab of the Step Settings pane or invokes a dialog box in which you edit the settings unique to the type of the step. Some step types, such as the Label step and the Action step, do not have step-type-specific settings. For these step types, this menu item is disabled. When a step type has more than one Edit substep, the step type may provide more than one Edit menu item.
- Specify Module—Opens the Module tab on the Step Settings pane for the selected step, according to the module adapter for the step. Use the Module tab to specify the code module the step calls. You can also specify options TestStand uses when it calls the step.
- Edit Code—Displays the source code for the code module the step calls. TestStand uses the module adapter for the step to determine the appropriate application in which to display the source code.
- Step Settings—Displays the Step Settings pane where you can specify the module and settings for the active step or steps selected on the Steps pane of a Sequence File window. The Step Settings pane also displays the module and settings for the selected step or steps on the Steps pane of an Execution window.
- New Subsequence from Steps—Allows you to create a subsequence from selected steps.
- Breakpoint—Launches a submenu that contains the following options for modifying the breakpoint settings:
- Toggle Breakpoint—Sets or clears the breakpoint state for the selected steps.
- Breakpoint Settings—Launches the Breakpoint Settings dialog box for the selected step.
- Run Mode—Displays a submenu from which you can set the following run mode values for the selected steps:
- Force to Pass—The step does not execute. Instead, the status of the step is set to Passed.
- Force to Fail—The step does not execute. Instead, the status of the step is set to Failed.
- Skip—The step does not execute. Instead, the status of the step is set to Skipped.
- Normal—The step executes normally.
||Note TestStand does not load the code module when the Run Mode for the step is set to Force to Pass, Force to Fail, or Skip.
- Cut—Removes the selected steps and places them onto the clipboard. The TestStand Sequence Editor maintains the unique IDs for the steps for the first paste operation and generates new unique IDs for the steps in subsequent paste operations.
- Copy—Copies the selected steps and places the steps into the clipboard. The sequence editor does not maintain the unique IDs for the steps.
- Paste—Inserts the steps from the clipboard below the currently selected step or at the end of the sequence. The sequence editor maintains the unique IDs for the steps for the first paste operation and generates new unique IDs for the steps in subsequent paste operations.
- Delete—Removes the selected steps from the step list.
- Run Selected Steps—Runs the selected steps in interactive mode.
- Run Selected Steps Using—Executes the selected steps using the process model entry point you select. When you loop on steps with an entry point such as Single Pass, the process model can generate a report and log the results to a database. The Run Selected Steps Using command is available only in a Sequence File window.
- Loop on Selected Steps—Loops on the selected steps in interactive mode. Before running the steps, this command launches the Loop On Selected Steps dialog box, in which you can specify how many times to loop.
- Loop on Selected Steps Using—Interactively loops on the selected steps using the process model entry point you select. When you loop on steps with an entry point such as Single Pass, the process model can generate a report and log the results to a database. The Loop on Selected Steps Using command is available only in a Sequence File window.
- Step List Configurations—Lists the layouts the Edit Step List Configurations dialog box defines.
- <Default>—The default layout for the sequence editor.
- Edit Step List Configuration—Launches the Edit Step List Configurations dialog box, in which you can create and modify layouts and settings for the Steps pane of the sequence editor.
- View—Lists the available panes or windows for a sequence file. These commands are available only when a Sequence File window is active.
- Steps—Displays the Steps pane where you edit the steps in the Setup, Main, and Cleanup step groups for the sequence file.
- Sequences—Displays the Sequences pane where you edit the sequences in the sequence file.
- Variables—Displays the Variables pane where you edit the locals, parameters, and file globals for the sequence file and station globals.
- Types—Displays the Types window where you can edit step types, custom data types, and built-in data types. The sequence editor selects the active sequence file in the Type Palettes window.
- Display File Hierarchy—Displays a graph in the Sequence Hierarchy window of the hierarchy of all sequences in the sequence file.
- Display Hierarchy Using—Displays a graph in the Sequence Hierarchy window of the hierarchy of all sequence calls starting at the process model entry point you select. The list of entry points varies according to the process model the sequence file uses. This option uses the current sequence file as a client sequence file.
Adding Step Types to Surround Selection With Context Menu
Breakpoint Settings dialog box
Edit Step List Configurations dialog box
Loop On Selected Steps dialog box
Sequence Hierarchy Window
Step Settings Pane