Part 2: Building the Shortcut Menu Using Plug-Ins

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

You can specify how and when your custom item appears in the shortcut menu of front panel or block diagram objects. You also can create plug-ins that build the shortcut menu in the following ways:

  • Add custom items, conditionally, to object types.
  • Toggle transaction behavior of plug-ins.
  • Add multiple custom items.
  • Remove items.

The following figure illustrates the block diagram of the build VI (, where x is the name of the plug-in) that the Create Shortcut Menu Plug-In From Template VI generates. You modify the block diagram code to build the shortcut menu. Refer to the block diagram comments for tips on modifying the block diagram.

Note Note  Generate the files you need to create a shortcut menu plug-in by running the following utility VI: labview\resource\plugins\PopupMenus\Create Shortcut Menu Plug-In From
Caution Caution  Do not modify the controls that are assigned to connector pane terminals. To load and execute plug-ins, LabVIEW requires these predefined control names, types, and terminal positions.

The default configuration of this VI builds the shortcut menu by adding your custom item before the Properties item. The display name of the custom item is the name of this VI without the file extension.

Part 1: Specifying the Objects that Shortcut Menu Plug-Ins Affect Part 3: Executing Shortcut Menu Plug-Ins

Related Information

Identifying Refnum Types and Menu Item Tags of Objects

Application Item Tags for Shortcut Menus

Menu Functions


Not Helpful