Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Viewing the Hierarchy of VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

The VI Hierarchy window displays a graphical representation of all open LabVIEW projects and targets, as well as the calling hierarchy for all VIs in memory, including type definitions and global variables. Use this window to view the subVIs and other nodes that make up the current VI.

The VI Hierarchy window displays a top-level icon to represent the main LabVIEW application instance, under which appear all open VIs that are not part of a project or are not part of the application instance for a project. If you add a project, the VI Hierarchy window displays another top-level icon to represent the project. Each target you add appears under the project.

Complete the following steps to use the VI Hierarchy window.

  1. Select View»VI Hierarchy to display the VI Hierarchy window.
  2. Select from the following options:
    • Move the cursor over objects in the VI Hierarchy window to display the name of each VI in a tip strip.
    • Use the Positioning tool to select a VI or subVI node from the VI Hierarchy window and drag it to the block diagram. You also can select and copy one or more nodes to the clipboard and paste them on block diagrams.
    • Double-click a VI or subVI node to display the front panel of that VI.
    • Search for a node by name.
    • Right-click a blank area of the window and select Show All VIs from the shortcut menu to show the entire hierarchy.
Note Note  The VI Hierarchy window is a dynamic view of what is in memory. If you rearrange items in the hierarchy, LabVIEW does not save the new position of items. When you close the VI Hierarchy window, the original positions regenerate.

To display instances of polymorphic VIs in the VI hierarchy, click the red arrow at the bottom of each polymorphic VI icon. The top-level VI indicates that it is linked to the polymorphic VI and to an instance of the polymorphic VI.

To switch to the Scrolling tool when automatic tool selection is enabled, press the <Ctrl-Shift> keys when the cursor is not over an icon in the window. (Mac OS) Press the <Option-Shift> keys. (Linux) Press the <Alt-Shift> keys.

You also can use the Application:All VIs in Memory property to retrieve a list of VIs in memory programmatically.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit