Menus VIs

Use the TestStand Menus VIs to edit a custom run-time menu by adding or removing menu items or groups of menu items associated with TestStand commands.

Palette Object Description
Cleanup Menus Removes any duplicate menu shortcut keys or redundant menu separator bars that result from multiple calls to the TestStand - Insert Commands in Menu VI or from inserting TestStand menu items into a menu with pre-existing items. Use this VI after you rebuild the menu bar in response to the < This VI >:Menu Activation? event in the main TestStand User Interface VI.
Execute Menu Command Executes the command associated with a menu item previously inserted with the TestStand - Insert Commands in Menu VI. Use this VI in response to the < This VI >:Menu Selection (User) event in the main TestStand User Interface VI.
Insert Commands in Menu Inserts a menu item or group of menu items associated with TestStand commands into a custom run-time menu. The data type you wire to the Application Manager input determines the polymorphic instance to use. Use this VI to rebuild the menu bar in response to the < This VI >:Menu Activation? event in the main TestStand User Interface VI to populate the menu bar with the commands that apply to the current state of the application. Before you use this VI, use the TestStand - Remove Commands from Menus VI to remove any pre-existing TestStand menu items.
Remove Commands from Menus Removes menu items previously inserted with the TestStand - Insert Commands in Menu VI. Optionally, this VI can also remove menu items inserted with the LabVIEW Menu Editor dialog box or the Insert Menu Items function. Use this VI in response to the < This VI >:Menu Activation? event in the main TestStand User Interface VI to clear the menu bar before you use the TestStand - Insert Commands in Menu VI.