CommandKinds Enumeration

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

These constants specify types of standard commands. CommandKinds values specify a single command or a set of commands that can contain several commands or no commands, depending on the state of the application.

You can pass these constants to the ApplicationMgr.ConnectCommand, SequenceFileViewMgr.ConnectCommand, and ExecutionViewMgr.ConnectCommand methods to connect commands to buttons or checkboxes. You can also connect commands to menu items.

Note  If you connect a command that applies to the control that has the input focus, such as CommandKind_Edit_Cut and CommandKind_Edit_EditCode, to a button control, the command does not function after the first time the user clicks the button because the button acquires the input focus. To avoid this issue, you must ensure the button does not acquire the input focus when clicked. For a TestStand Button, you can achieve this by setting the Button.Style property to ButtonStyle_ToolBar.

You can pass these constants to the Commands.InsertKind method to directly create command objects.

Most commands, such as OpenSequenceFile, Login, and Restart, behave the same as the corresponding menu items in the TestStand Sequence Editor with regard to the action they take and the circumstances under which they are enabled. Refer to the NI TestStand Environment Reference Help for the corresponding sequence editor menu item for more information about how the item behaves.

TestStand assigns default images to some commands, which TestStand displays when you connect the command to a Button control and you enable images for the control.

  • CommandKind_Abort–(Value: 75) Aborts the current execution. The execution does not run the Cleanup steps. This command applies to the ExecutionView Manager control only.
  • CommandKind_AbortAll–(Value: 78) Aborts all executions. This command applies only to the Application Manager control.
  • CommandKind_Break–(Value: 71) Suspends the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_BreakAll–(Value: 76) Suspends all executions. This command applies only to the Application Manager control. This command has a default image.
  • CommandKind_BreakOnFirstStep–(Value: 50) Toggles whether executions suspend at the first step.
  • CommandKind_BreakOnSequenceFailure–(Value: 52) Toggles whether executions suspend when a sequence fails.
  • CommandKind_BreakOnStepFailure–(Value: 51) Toggles whether executions suspend when a step fails.
  • CommandKind_BreakpointSubmenu–(Value: 85) Contains the CommandKind_ToggleBreakpoint and CommandKind_DisplayBreakpointSettings subsidiary commands. When you insert this command into a menu, each subsidiary command appears as a submenu item. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_BreakResume–(Value: 72) Suspends the selected execution if it is executing. Resumes the selected execution if it is suspended. This command applies only to the ExecutionView Manager control.
  • CommandKind_Close–(Value: 21) Closes the currently selected sequence file or execution. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_CloseAll–(Value: 22) Closes all executions and sequence files. This command applies only to the Application Manager control.
  • CommandKind_CloseCompletedExecutions–(Value: 23) Closes all completed executions. This command applies only to the Application Manager control.
  • CommandKind_ConfigurationEntryPointDefaultMenuInsertionMarker–(Value: 113) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Configuration entry point with a menu hint that does not select a menu other than the current menu. Because most entry points do not have menu hints, this constant typically specifies all Configuration entry points.
  • CommandKind_ConfigurationEntryPointInsertionMarker–(Value: 112) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Configuration entry point with a menu hint that selects the current menu.
  • CommandKind_ConfigurationEntryPoints_Set–(Value: 145) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Configuration entry point. When you specify commands to create menu items, use the CommandKind_ConfigurationEntryPointInsertionMarker and CommandKind_ConfigurationEntryPointDefaultInsertionMarker constants to honor menu hints entry points can specify.
  • CommandKind_ConfigureAdapters–(Value: 90) Launches the Adapter Configuration dialog box.
  • CommandKind_ConfigureEngineEnvironment–(Value: 94) Launches the Configure Environment dialog box.
  • CommandKind_ConfigureExternalViewers–(Value: 93) Launches the Configure External Viewers dialog box.
  • CommandKind_ConfigureSearchDirectories–(Value: 92) Launches the Edit Search Directories dialog box.
  • CommandKind_ConfigureSequenceViews–(Value: 149) Launches the Edit Step List Configurations dialog box. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_ConfigureStationOptions–(Value: 91) Launches the Station Options dialog box.
  • CommandKind_Container–(Value: 1) Contains only subsidiary commands.
  • CommandKind_Custom–(Value: 3) Represents an action you define. You must set Command properties, such as the Command.Enabled and Command.Visible properties, to the values you require. Although this command does not perform an action when it executes, an application can perform an action when it receives the ApplicationMgr.PreCommandExecute or ApplicationMgr.PostCommandExecute event for the command. You can attach data you define to the command using the Command.UserObject and Command.UserData properties so the data is available to the application in the handlers for PreCommandExecute and PostCommandExecute events.
  • CommandKind_CustomizeTools–(Value: 101) Launches the Customize Tools Menu dialog box.
  • CommandKind_DefaultConfigureMenu_Set–(Value: 124) Specifies a set of commands that correspond to the typical items in the Configure menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_ConfigureStationOptions
    CommandKind_ConfigureSearchDirectories
    CommandKind_ConfigureExternalViewers
    CommandKind_ConfigureAdapters
    CommandKind_Separator
    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointDefaultMenuInsertionMarker
  • CommandKind_DefaultDebugMenu_Set–(Value: 123) Specifies a set of commands that correspond to the typical items in the Debug menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointInsertionMarker
    CommandKind_Separator
    CommandKind_ToggleBreakpoint
    CommandKind_SetRunModeSubmenu
    CommandKind_Separator
    CommandKind_Resume
    CommandKind_StepInto
    CommandKind_StepOver
    CommandKind_StepOut
    CommandKind_SetNextStep
    CommandKind_Separator
    CommandKind_Break
    CommandKind_Terminate
    CommandKind_Abort
    CommandKind_Separator
    CommandKind_BreakAll
    CommandKind_TerminateAll
    CommandKind_AbortAll
    CommandKind_ResumeAll
    CommandKind_Separator
    CommandKind_DisplayBreakAndWatchPoints
  • CommandKind_DefaultEditMenu_Set–(Value: 128) Specifies a set of commands that correspond to the typical items in the Edit menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_Edit_Undo*
    CommandKind_Edit_Redo*
    CommandKind_Separator*
    CommandKind_Edit_Cut*
    CommandKind_Edit_Copy
    CommandKind_Edit_Paste*
    CommandKind_Edit_Delete*
    CommandKind_Edit_Rename*
    CommandKind_Separator
    CommandKind_SelectAll
    CommandKind_Separator*
    CommandKind_Edit_EditSteps_Set*
    CommandKind_Edit_SpecifyModule*
    CommandKind_Edit_EditCode*
    CommandKind_Edit_Preconditions*
    CommandKind_Separator*
    CommandKind_Edit_SequenceFileCallbacks*
    CommandKind_Separator*
    CommandKind_Edit_StepProperties*
    CommandKind_Edit_SequenceProperties*
    CommandKind_Edit_SequenceFileProperties*

    * The command is present only when editing is enabled.
  • CommandKind_DefaultExecuteMenu_Set–(Value: 121) Specifies a set of commands that correspond to the typical menu items in the Execute menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_Restart
    CommandKind_Separator
    CommandKind_ExecutionEntryPointDefaultMenuInsertionMarker
    CommandKind_ConfigurationEntryPointDefaultMenuInsertionMarker
    CommandKind_Separator
    CommandKind_RunCurrentSequence
    CommandKind_Separator
    CommandKind_RunSelectedSteps
    CommandKind_RunSelectedStepsUsingEntryPointSubmenu
    CommandKind_LoopOnSelectedSteps
    CommandKind_LoopOnSelectedStepsUsingEntryPointSubmenu
    CommandKind_Separator
    CommandKind_BreakOnFirstStep
    CommandKind_BreakOnStepFailure
    CommandKind_BreakOnSequenceFailure
    CommandKind_TracingEnabled

    This command applies only to the ExecutionView Manager control.
  • CommandKind_DefaultFileMenu_Set–(Value: 120) Specifies a set of commands that correspond to the typical items in the File menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_Login
    CommandKind_Logout
    CommandKind_Separator
    CommandKind_Edit_NewSequenceFile*
    CommandKind_OpenSequenceFiles
    CommandKind_Close
    CommandKind_Separator
    CommandKind_CloseAll
    CommandKind_CloseCompletedExecutions
    CommandKind_Separator
    CommandKind_OpenWorkspaceBrowser
    CommandKind_Separator
    CommandKind_Edit_Save*
    CommandKind_Edit_SaveAs*
    CommandKind_Edit_SaveAll*
    CommandKind_Separator*
    CommandKind_UnloadAllModules
    CommandKind_LockUnlock
    CommandKind_Separator
    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointInsertionMarker
    CommandKind_Separator
    CommandKind_MRUFiles_Set
    CommandKind_Separator
    CommandKind_Exit

    * The command is present only when editing is enabled.
  • CommandKind_DefaultHelpMenu_Set–(Value: 440) Specifies a set of commands that corresponds to the typical items in the Help menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_ShowTestStandHelp
    CommandKind_ShowGuideToDocumentation
    CommandKind_ShowHelpTopic
    CommandKind_Separator
    CommandKind_ShowTestStandWebResources
    CommandKind_ShowTestStandDiscussionForum
    CommandKind_Separator
    CommandKind_ShowPatents
    CommandKind_Separator
    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointInsertionMarker
  • CommandKind_DefaultListBarContextMenu_Set–(Value: 127) Specifies a set of commands that corresponds to the typical items in the list bar context menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following are a representative set of commands:

    SequenceFileView Manager Control:

    CommandKind_ExecutionEntryPointDefaultMenuInsertionMarker
    CommandKind_Separator
    CommandKind_RunCurrentSequence
    CommandKind_Separator
    CommandKind_OpenSequenceFile
    CommandKind_Close

    ExecutionView Manager Control:

    CommandKind_Close
    CommandKind_CloseCompletedExecutions
    CommandKind_Separator
    CommandKind_TerminateRestart
    CommandKind_BreakResume
    CommandKind_Abort
    CommandKind_Separator
    CommandKind_BreakAll
    CommandKind_TerminateAll
    CommandKind_AbortAll
    CommandKind_ResumeAll
  • CommandKind_DefaultSequenceListContextMenu_Set–(Value: 129) Specifies a set of commands that corresponds to the typical items in the sequence list context menu of a TestStand application. This constant applies to the SequenceFileView Manager control. Although the specific commands this constant represents might vary according to the version of TestStand, the following are a representative set of commands:

    CommandKind_Edit_InsertSequence*
    CommandKind_Separator*
    CommandKind_Edit_Cut*
    CommandKind_Edit_Copy*
    CommandKind_Edit_Paste*
    CommandKind_Edit_Delete*
    CommandKind_Edit_Rename*
    CommandKind_Separator*
    CommandKind_Edit_SequenceFileCallbacks*
    CommandKind_Separator*
    CommandKind_Edit_SequenceProperties*

    * The command is present only when editing is enabled.
  • CommandKind_DefaultSequenceViewContextMenu_Set–(Value: 126) Specifies a set of commands that corresponds to the typical items in the sequence view context menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following are a representative set of commands:

    SequenceFileView Manager Control:

    CommandKind_Edit_InsertStepsSubmenu*
    CommandKind_Edit_EncapsulateSelectedStepsSubmenu*
    CommandKind_Edit_SelectDefaultAdapters_Set*
    CommandKind_Separator*
    CommandKind_Edit_EditSteps_Set*
    CommandKind_Edit_SpecifyModule*
    CommandKind_Edit_EditCode*
    CommandKind_Edit_Preconditions*
    CommandKind_Separator*
    CommandKind_BreakpointSubmenu
    CommandKind_SetRunModeSubmenu
    CommandKind_Separator
    CommandKind_Edit_Cut*
    CommandKind_Edit_Copy*
    CommandKind_Edit_Paste*
    CommandKind_Edit_Delete*
    CommandKind_Edit_Rename*
    CommandKind_Separator
    CommandKind_RunSelectedSteps
    CommandKind_RunSelectedStepsUsingEntryPointsSubmenu
    CommandKind_LoopOnSelectedSteps
    CommandKind_LoopOnSelectedStepsUsingEntryPointsSubmenu
    CommandKind_Separator
    CommandKind_SequenceViewConfigurationsSubmenu
    CommandKind_Separator*
    CommandKind_Edit_StepProperties*

    ExecutionView Manager Control:

    CommandKind_BreakpointSubmenu
    CommandKind_SetRunModeSubmenu
    CommandKind_Separator
    CommandKind_RunSelectedSteps
    CommandKind_LoopOnSelectedSteps
    CommandKind_Separator
    CommandKind_SetNextStep
    CommandKind_Separator*
    CommandKind_SequenceViewConfigurationsSubmenu

    * The command is present only when editing is enabled.
  • CommandKind_DefaultToolsMenu_Set–(Value: 125) Specifies a set of commands that correspond to the typical items found in the Tools menu of a TestStand application. Although the specific commands this constant represents might vary according to the version of TestStand, the following is a representative set of commands:

    CommandKind_Tools_Set
    CommandKind_Separator
    CommandKind_CustomizeTools
    CommandKind_Separator
    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointInsertionMarker
  • CommandKind_DisplayBreakpointsAndWatchExpressions–(Value: 80) Launches the Edit Breakpoints/Watch Expressions dialog box.
  • CommandKind_DisplayBreakpointSettings–(Value: 81) Launches the Breakpoint Settings dialog box for the selected step. This command applies to the ExecutionView Manager or SequenceFileView Manager controls.
  • CommandKind_Edit_AdvancedSequenceListSubmenu–(Value: 451) Contains the CommandKind_Edit_Attributes subsidiary command. When you insert this command into a menu, the subsidiary commands appear within a submenu item. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_Attributes–(Value: 450) Displays the Attributes dialog box. TestStand supports this command only for a sequence connection. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_Copy–(Value: 204) Copies the selection to the clipboard. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_Cut–(Value: 203) Moves the selection onto the clipboard. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_Delete–(Value: 206) Deletes the selection. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EditCode–(Value: 216) Displays the module source code for the step with focus. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EditPaths–(Value: 223) Launches the Edit Paths in Files dialog box.
  • CommandKind_Edit_EditStep–(Value: 217) Performs a step type-dependent editing operation on the step with focus. Typically, the operation launches an editing dialog box. For example, this command might launch the Edit Numeric Limit Test dialog box for a Numeric Limit Test step. You do not create commands of this type. Instead, the CommandKind_Edit_EditSteps_Set and CommandKind_Edit_EditStepsSubmenu constants contain commands of this type as needed. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EditSteps_Set–(Value: 341) Specifies a set of commands that contains a CommandKind_Edit_EditStep command for each step type specific editing operation that applies to the step with focus. A step type can define the available editing operations for instances of the type by specifying Edit substeps, which typically call a module to launch an editing dialog box.
  • CommandKind_Edit_EditStepsSubmenu–(Value: 301) Specifies a container command with subsidiary commands the CommandKind_Edit_ EditSteps_Set constant specifies. When you insert this command into a menu, the subsidiary commands appear within a submenu item. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EncapsulateSelectedSteps–(Value: 224) Surrounds the selected steps with the specified step and a corresponding end step. You do not create commands of this type. Instead, the CommandKind_Edit_EncapsulateSelectedSteps_Set and CommandKind_Edit_EncapsulateSelectedStepsSubmenu constants contain commands of this type as needed. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EncapsulateSelectedSteps_Set–(Value: 343) Specifies a set of commands that contains a CommandKind_Edit_EncapsulateSelectedSteps command for each available step type with the StepType.CanEncapsulate property set to True and that starts a block structure in a sequence. Insert this command into a menu to create the contents of the Encapsulate With context menu. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_EncapsulateSelectedStepsSubmenu–(Value: 303) Specifies a container command whose subsidiary commands the CommandKind_Edit_EncapsulateSelectedSteps_Set constant specifies. When you insert this command into a menu, each subsidiary command is visible as a submenu item. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_InsertSequence–(Value: 221) Inserts a new empty sequence into the selected sequence file. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_InsertStep–(Value: 207) Inserts a step into the selected file. You do not create commands of this type. Instead, the CommandKind_Edit_InsertSteps_Set and CommandKind_Edit_InsertStepsSubmenu constants contain commands of this type as needed. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_InsertSteps_Set–(Value: 340) Specifies a set of commands that contains a CommandKind_Edit_InsertStep command for each available step type. The commands are organized hierarchically as specified for the step types in the Step Type Menu Editor dialog box. Insert this command into a menu to create the contents of the Insert Step context menu. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_InsertStepsSubmenu–(Value: 300) Specifies a container command with subsidiary commands the CommandKind_Edit_InsertSteps_Set constant specifies. When you insert this command into a menu, each subsidiary command is visible as a submenu item. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_NewSequenceFile–(Value: 211) Creates a new, empty sequence file. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_Paste–(Value: 205) Pastes the contents of the clipboard into the selected file. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_Preconditions–(Value: 218) Launches the Preconditions dialog box. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_Redo–(Value: 201) Calls Redo on the UndoStack of the connected manager control. This command applies to the SequenceFileView Manager and Application Manager controls. When connected to a SequenceFileView Manager control, this command redoes the last edit to the currently selected sequence file an undo command reverted. Before connecting this command to the Application Manager control, you must assign an UndoStack to the ApplicationMgr.UndoStack property. This command has a default image.
  • CommandKind_Edit_Rename–(Value: 202) Enters name-editing mode for the step with focus or the sequence item in a SequenceView or ListBox control. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_Save–(Value: 208) Saves the selected sequence file. This command applies to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_Edit_SaveAll–(Value: 210) Saves all modified sequences files. This command has a default image.
  • CommandKind_Edit_SaveAs–(Value: 209) Launches the Save As dialog box. The dialog box prompts you to choose a location in which to save the selected sequence file. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_SelectDefaultAdapter–(Value: 220) Select a specific module adapter for new steps. You do not create commands of this type. Instead, the CommandKind_Edit_SelectDefaultAdapters_Set and CommandKind_Edit_SelectDefaultAdaptersSubmenu constants contain commands of this type as needed.
  • CommandKind_Edit_SelectDefaultAdapters_Set–(Value: 342) Specifies a set of commands that contains a CommandKind_Edit_SelectDefaultAdapter command for each module adapter.
  • CommandKind_Edit_SelectDefaultAdaptersSubmenu–(Value: 302) Specifies a container command with subsidiary commands the CommandKind_Edit_SelectDefaultAdapters_Set constant specifies. When you insert this command into a menu, each subsidiary command is visible as a submenu item.
  • CommandKind_Edit_SequenceFileCallbacks–(Value: 222) Launches the Sequence File Callbacks dialog box. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_SequenceFileProperties–(Value: 214) Launches the Sequence File Properties dialog box for the selected sequence file.
  • CommandKind_Edit_SequenceProperties–(Value: 213) Launches the Sequence Properties dialog box for the sequence with focus.
  • CommandKind_Edit_SpecifyModule–(Value: 215) Launches the Specify Module dialog box for the step with focus. This command applies to the SequenceFileView Manager control.
  • CommandKind_Edit_StepProperties–(Value: 212) Launches the Step Properties dialog box for the step with focus.
  • CommandKind_Edit_Undo–(Value: 200) Calls Undo on the UndoStack of the connected manager control. This command applies to the SequenceFileView Manager and Application Manager controls. When connected to a SequenceFileView Manager control, this command reverts the most recent edit to the currently selected sequence file. Before connecting this command to the Application Manager control, you must assign an UndoStack to the ApplicationMgr.UndoStack property. This command has a default image.
  • CommandKind_ExecutionEntryPointDefaultMenuInsertionMarker–(Value: 111) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Execution entry point with a menu hint that does not select a menu other than the current menu. Because most entry points do not have menu hints, this constant typically specifies all Execution entry points.
  • CommandKind_ExecutionEntryPointInsertionMarker–(Value: 110) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Execution entry point with a menu hint that selects the current menu.
  • CommandKind_ExecutionEntryPoints_Set–(Value: 141) Specifies a set of commands that contains a CommandKind_RunEntryPoint command for each Execution entry point. When you specify commands to create menu items, use the CommandKind_ExecutionEntryPointInsertionMarker and CommandKind_ExecutionEntryPointDefaultInsertionMarker constants to honor any menu hints the entry points might specify.
  • CommandKind_Exit–(Value: 30) Unloads all files and exits the application.
  • CommandKind_LockUnlock–(Value: 148) When a sequence file is protected, this command launches the Lock File dialog box or the Unlock File dialog box, depending on whether the file is currently locked.
  • CommandKind_Login–(Value: 25) Launches the user login dialog box.
  • CommandKind_LoginLogout–(Value: 27) Launches the user login dialog box when no user is logged in. Otherwise, logs out the current user.
  • CommandKind_Logout–(Value: 26) Logs out the current user.
  • CommandKind_LoopEntryPointOnSelectedSteps–(Value: 43) Launches the Loop On Selected Steps dialog box, in which you can specify how many times the command loops on the selected steps using a specific Process Model entry point sequence. Do not directly create commands of this type. Instead, the following constants contain commands of this type as needed:

    CommandKind_LoopOnSelectedStepsUsingEntryPoints_Set
    CommandKind_LoopOnSelectedStepsUsingEntryPointsSubmenu

    This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_LoopOnSelectedSteps–(Value: 48) Launches the Loop On Selected Steps dialog box, in which you can specify how many times the command loops on the selected steps without using a process model. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_LoopOnSelectedStepsUsingEntryPoints_Set–(Value: 144) Specifies a set of CommandKind_LoopEntryPointOnSelectedSteps commands that contains a command to run the selected steps with each applicable Execution entry point.
  • CommandKind_LoopOnSelectedStepsUsingEntryPointsSubmenu–(Value: 49) For each applicable Process Model entry point, this command contains a subsidiary command that launches the Loop On Selected Steps dialog box, in which you can specify how many times the subsidiary command loops on the selected steps using the entry point. When you insert this command into a menu, each subsidiary command is listed as a submenu item. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_MRUFile–(Value: 29) Opens a file in the most recently used (MRU) file list. Each command in the set opens one of the files from the most recently used file list. Do not directly create commands of this type. Instead, use CommandKind_MRUFiles_Set to create a set of commands of this type.
  • CommandKind_MRUFiles_Set–(Value: 140) Specifies a set of CommandKind_MRUFile commands. Each command opens one of the files in the MRU file list. This command applies only to the Application Manager control.
  • CommandKind_NotACommand–(Value: 0) Guaranteed to never be a valid command kind specifier.
  • CommandKind_OpenSequenceFile–(Value: 20) Launches the Open File dialog box. When the user selects a sequence file, the command loads and displays the file. This command has a default image.
  • CommandKind_OpenSequenceFiles–(Value: 147) Launches the Open Multiple File dialog box, in which the user can select any number of files to open. The command loads all selected sequence files and displays one of the selected sequence files. This command has a default image.
  • CommandKind_OpenWorkspaceBrowser–(Value: 24) Launches the Workspace Browser dialog box.
  • CommandKind_Restart–(Value: 40) Restarts the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_Resume–(Value: 66) Resumes the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_ResumeAll–(Value: 79) Resumes all executions. This command applies only to the Application Manager control. This command has a default image.
  • CommandKind_RunCurrentSequence–(Value: 44) Runs the selected sequence without using a process model. This command applies only to the SequenceFileView Manager control. This command has a default image.
  • CommandKind_RunEntryPoint–(Value: 41) Runs a particular Process Model entry point sequence. Do not directly create commands of this type. Instead, use one of the following constants to create commands of this type as needed:

    CommandKind_ExecutionEntryPoints_Set
    CommandKind_ConfigurationEntryPoints_Set
    CommandKind_ExecutionEntryPointInsertionMarker
    CommandKind_ExecutionEntryPointDefaultMenuInsertionMarker
    CommandKind_ConfigurationEntryPointInsertionMarker
    CommandKind_ConfigurationEntryPointDefaultInsertionMarker

    This command has a default image.
  • CommandKind_RunEntryPointOnSelectedSteps–(Value: 42) Runs the selected steps using a specific Process Model entry point sequence. Do not directly create commands of this type. Instead, use one of the following constants to create commands of this type, as needed:

    CommandKind_RunSelectedStepsUsingEntryPoints_Set
    CommandKind_RunSelectedStepsUsingEntryPointSubmenu

    These commands apply only to the SequenceFileView Manager control.
  • CommandKind_RunModeForceFail–(Value: 63) Sets the run mode of the selected steps to Force Fail. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_RunModeForcePass–(Value: 62) Sets the run mode of the selected steps to Force Pass. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_RunModeNormal–(Value: 65) Sets the run mode of the selected steps to Normal. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_RunModeSkip–(Value: 64) Sets the run mode of the selected steps to Skip. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_RunSelectedSteps–(Value: 46) Runs the selected steps without using a process model. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_RunSelectedStepsUsingEntryPoints_Set–(Value: 143) Specifies a set of CommandKind_RunEntryPointOnSelectedSteps commands that contains a command to run the selected steps with each applicable Execution entry point.
  • CommandKind_RunSelectedStepsUsingEntryPointsSubmenu–(Value: 47) For each applicable Process Model entry point, this command contains a subsidiary command that runs the selected steps with that entry point. When you insert this command into a menu, each subsidiary command appears as an item in a submenu. This command applies only to the SequenceFileView Manager control.
  • CommandKind_RunSequences_Set–(Value: 142) Specifies a set of CommandKind_RunSpecificSequence commands that contains commands to run each sequence in the selected file without using a process model. This command applies only to the SequenceFileView Manager control.
  • CommandKind_RunSpecificSequence–(Value: 45) Runs a specific sequence without using a process model. You do not directly create commands of this type. Instead, the CommandKinds_RunSequences_Set constant contains commands of this type as needed. This command applies only to the SequenceFileView Manager control.
  • CommandKind_SelectAll–(Value: 219) Selects all the items or text in the control with focus.
  • CommandKind_Separator–(Value: 2) Denotes a visual separation between other commands. For example, when commands appear as items in a menu, commands of this type appear as menu item separator bars.
  • CommandKind_SequenceViewConfiguration–(Value: 116) Do not directly create commands of this type. Instead the CommandKind_SequenceViewConfigurations_Set constant contains commands of this type as needed.
  • CommandKind_SequenceViewConfigurations_Set –(Value: 139) Specifies a set of CommandKind_SequenceViewConfiguration commands. Each command in the set applies a specific configuration to all SequenceView controls that connect to the specified manager control. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_SequenceViewConfigurationsSubmenu –(Value: 118) Contains all the CommandKind_SequenceViewConfiguration commands the CommandKind_SequenceViewConfigurations_Set constant specifies, followed by a CommandKind_Separator and a CommandKind_ConfigureSequenceViews command. Insert this command into a menu to create a submenu with menu items to apply any existing SequenceView configuration or to edit the set of available configurations. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_SetNextStep–(Value: 70) Moves the execution pointer to the selected step. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_SetRunModeSubmenu–(Value: 61) Contains the following subsidiary commands:

    CommandKind_RunModeForcePass
    CommandKind_RunModeForceFail
    CommandKind_RunModeSkip
    CommandKind_RunModeForceNormal

    When you insert this command into a menu, each subsidiary command appears as an item in a submenu. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_ShowExamples–(Value: 453) Launches the help for the NI TestStand example programs.
  • CommandKind_ShowGettingStarted–(Value: 454) Launches the Getting Started with TestStand manual.
  • CommandKind_ShowGuideToDocumentation–(Value: 421) Launches a topic that is a guide to the TestStand documentation. This command is visible only when editing is enabled.
  • CommandKind_ShowHelpTopic–(Value: 422) Launches the help for the currently active TestStand User Interface Control.
  • CommandKind_ShowInList–(Value: 400) Takes the selected step for an ExecutionView Manager control and selects the step in a SequenceFileView Manager control. This command is used in the context menu of a SequenceView control connected to an ExecutionView Manager control, and the command displays the step in the SequenceView control connected to a SequenceFileView Manager control.
  • CommandKind_ShowInVariables–(Value: 401) Takes the selected step for an ExecutionView Manager control and selects the step in a VariablesView control connected to the ExecutionView Manager control. This command is used in the context menu of a SequenceView control connected to an ExecutionView Manager control.
  • CommandKind_ShowPatents–(Value: 425) Displays a list of National Instruments patents.
  • CommandKind_ShowTestStandDiscussionForum–(Value: 424) Opens the TestStand discussion forum on ni.com in a web browser. This command is visible only when editing is enabled.
  • CommandKind_ShowTestStandHelp–(Value: 420) Launches the NI TestStand Help file. This command is visible only when editing is enabled.
  • CommandKind_ShowTestStandWebResources–(Value: 423) Opens the TestStand support web page in a browser. This command is visible only when editing is enabled.
  • CommandKind_ShowUpdateService–(Value: 452) Launches the NI Update Service. This option is available only when you have installed the NI Update Service.
  • CommandKind_StepInto–(Value: 67) Steps into the current step in the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_StepOut–(Value: 69) Resumes execution through the end of the current sequence and suspends before the next step in the calling sequence. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_StepOver–(Value: 68) Steps over the current step in the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_Terminate–(Value: 73) Terminates the selected execution. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_TerminateAll–(Value: 77) Terminates all executions. This command applies only to the Application Manager control. This command has a default image.
  • CommandKind_TerminateRestart–(Value: 74) Terminates the selected execution if it is executing or suspended and restarts the selected execution if it has completed. This command applies only to the ExecutionView Manager control. This command has a default image.
  • CommandKind_ToggleBreakpoint–(Value: 60) Toggles the breakpoint state of the selected steps. This command applies to the ExecutionView Manager and SequenceFileView Manager controls.
  • CommandKind_ToolItem–(Value: 100) Executes a particular tool item in the TestStand Tools menu. Do not directly create commands of this type. Instead, the CommandKind_Tools_Set constant contains a command of this type for each item in the TestStand Tools menu.
  • CommandKind_Tools_Set–(Value: 146) Specifies a set of CommandKind_ToolItem commands that contains a command for each tool item in the Tools menu.
  • CommandKind_TracingEnabled–(Value: 53) Toggles whether the user interface application displays the steps in an execution as they execute.
  • CommandKind_UnloadAllModules–(Value: 28) Removes all code modules from memory.
  • CommandKind_UnloadStepModule–(Value: 455) Displays the module source code for the step with focus. This command is similar to CommandKind_Edit_EditCode, but does not increment the change count of the current sequence file. Unlike CommandKind_Edit_EditCode, this command is available when a sequence file is not editable, such as while the sequence is executing. CommandKind_UnloadStepModule is not available while any executions are actively running; the user must suspend all executions to use this command. This command applies to the SequenceFileView Manager and ExecutionView Manager control.

See Also

Adapter Configuration dialog box

ApplicationMgr

ApplicationMgr.ConnectCommand

ApplicationMgr.PostCommandExecute

ApplicationMgr.PreCommandExecute

ApplicationMgr.UndoStack

Button

Breakpoint Settings dialog box

Configure menu

Command

Command.Enabled

Command.UserData

Command.UserObject

Command.Visible

Commands.InsertKind

Commands

Configure External Viewers dialog box

Connecting Commands to Menu Items

Customize Tools Menu dialog box

Debug menu

Edit Breakpoints/Watch Expressions dialog box

Edit Numeric Limit Test dialog box

Edit menu

Edit Paths in Files dialog box

Edit Search Directories dialog box

Edit Step List Configurations dialog box

Execute menu

ExecutionViewMgr

ExecutionViewMgr.ConnectCommand

ListBox

File menu

Help menu

Lock File dialog box

Loop On Selected Steps dialog box

NI TestStand Environment Reference Help

Open File dialog box

Open Multiple File dialog box

Preconditions dialog box

Sequence File Callbacks dialog box

Sequence File Properties dialog box

Sequence Properties dialog box

SequenceFileViewMgr

SequenceFileViewMgr.ConnectCommand

Sequence List context menu

Sequence View context menu

SequenceView

Specify Module dialog box

Station Options dialog box

Step Properties dialog box

Step Type Menu Editor dialog box

Unlock File dialog box

Workspace Browser dialog box

WAS THIS ARTICLE HELPFUL?

Not Helpful