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

You must specify which front panel or block diagram objects to apply a shortcut menu plug-in. Complete the following steps to specify the objects that the shortcut menu plug-in affects.

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 Template.vi
  1. Open the type definition (x.ctl, where x is the name of the plug-in) that the utility VI generates.
  2. Edit the Affected Items control, which contains the objects or refnum types that the shortcut menu plug-in affects. Initially, the Affected Items control contains an array of the GObject refnum type, which means the plug-in appears in the shortcut menu of any GObject refnum. You can edit the Affected Items control in the following ways:
    Note Note  To identify the refnum types of an object, you can use the Lookup All Shortcut Menu Tags and Types plug-in that LabVIEW provides.
  3. Select File»Apply Changes to apply changes and propagate the changes to the plug-in VIs that use the type definition.
  4. Select File»Save to save changes to the type definition.
Understanding Shortcut Menu Plug-Ins Part 2: Building the Shortcut Menu Using Plug-Ins

Related Information

Identifying Refnum Types and Menu Item Tags of Objects

Creating Custom Controls, Indicators, and Type Definitions

Creating Type Definitions and Strict Type Definitions

VI Server Class Hierarchy