Shortcut Menu Plugin
Owning Palette: Eulogy Add-on
Requires: Eulogy, Base Development Environment
Eulogy comes with a Shortcut Menu Plugin (SMP) with menu items that correspond to various actions for working with graves.
- Dig a Grave - Digs a grave around the currently selected nodes in the block diagram of a VI. The selected nodes are placed in the Corpse frame (legacy code) and a copy of the selected nodes are placed in the Spirit frame (refactored code). Controls and Indicators are automatically excluded from the grave. This appears in the run-time shortcut menu when nodes are selected in a block diagram.
- Grave - Sub-menu that contains menu items for working with graves. This sub-menu only appears when a grave is selected.
- Reanimate - Reanimates a corpse at a grave. The Spirit frame (refactored code) is disabled, the Corpse frame (legacy code) is enabled for the grave, and a zombie bookmark is created for the Corpse frame's subdiagram label. This appears in the Grave sub-menu when a grave is selected.
- Smite - Strikes a mighty blow to the head of the zombie at the grave. The Spirit frame (refactored code) is enabled and the Corpse frame (legacy code) is disabled. The zombie bookmark for the Corpse frame is not modified. This appears in the Grave sub-menu when a grave is selected.
- Bury - Buries the corpse at the grave. This enables the Spirit frame (refactored code) of the grave and removes the grave. The Corpse frame (legacy code) is removed in the process. This appears in the Grave sub-menu when a grave is selected.
Dig a Grave
This SMP action uses the Dig VI from the toolkit API to wrap a selection of nodes on the block diagram of a VI in a grave. Controls and indicators are excluded from the grave, even if selected. This menu item only appears for run-time shortcut menus on the block diagram, not the front panel.
To execute this SMP action:
- Open the block diagram of a VI.
- Select one or more nodes/elements in the block diagram.
- Right-click on any one of the selected nodes from the previous step.
- Select Dig a Grave from the menu that appears.
Grave>>Reanimate
This SMP action uses the Reanimate VI from the toolkit API to enable the Corpse frame (legacy code) and disable the Spirit frame (refactored code). A zombie bookmark is created for for each Corpse frame that is enabled. Corpses at multiple graves can be selected and reanimated with a single execution of this SMP action, and non-grave nodes, including Diagram Disable Structures that are not graves, are ignored.
To execute this SMP action:
- Open the block diagram of a VI.
- Select one or more graves in the block diagram of the VI.
- Right-click on any one of the selected graves from the previous step.
- Select Grave>>Reanimate from the menu that appears.
Grave>>Smite
This SMP action uses the Smite VI from the toolkit API to enable the Spirit frame (refactored code) and disable the Corpse frame (legacy code) containing a zombie. The zombie bookmark is not modified. Zombies at multiple graves can be selected and smited with a single execution of this SMP action. Non-grave nodes are ignored and graves that do not contain a zombie are unaffected.
To execute this SMP action:
- Open the block diagram of a VI.
- Select one or more graves in the block diagram of the VI.
- Right-click on any one of the selected graves from the previous step.
- Select Grave>>Smite from the menu that appears.
Grave>>Bury
This SMP action uses the Bury VI from the toolkit API to enable the Spirit frame (refactored code) and remove the grave along with the legacy code. Multiple graves can be selected and buried with a single execution of this SMP action, and non-grave nodes in a selection will be ignored.
To execute this SMP action:
- Open the block diagram of a VI.
- Select one or more graves in the block diagram of the VI.
- Right-click on any one of the selected graves from the previous step.
- Select Grave>>Bury from the menu that appears.