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 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
Open the type definition (x.ctl, where x is the name of the plug-in) that the utility VI generates.
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:
Add an object by adding an array of a refnum type.
Remove an object by deleting an array.
Choose a different object by right-clicking an array and selecting Select VI Server Class and selecting a refnum type under the Generic hierarchy.
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.
Select File»Apply Changes to apply changes and propagate the changes to the plug-in VIs that use the type definition.
Select File»Save to save changes to the type definition.