Placing SubVIs on Block Diagrams

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

Complete the following steps to place a subVI on the block diagram.

  1. Display the block diagram of a new or existing VI by selecting Window»Show Block Diagram.
  2. If necessary, display the Functions palette by selecting View»Functions Palette.
  3. Click the Select a VI icon or text on the Functions palette.
  4. Navigate to and double-click the VI you want to use as a subVI, and place it on the block diagram.
  5. Wire the subVI terminals to other nodes on the block diagram.
Note  If the subVI does not have a connector pane, you cannot wire the subVI to other nodes.

You can double-click the subVI node to display the front panel of the subVI.

You also can place an open VI on the block diagram of another open VI. Use the Positioning tool to click the icon in the upper right corner of the front panel or block diagram of the VI you want to use as a subVI, and drag it to the block diagram of the other VI.

Tip  (Windows and macOS) Drag a VI or control from the file system to a LabVIEW block diagram to create a subVI call to that VI.

If you are using a LabVIEW project, you also can place a VI from the Project Explorer window on the block diagram of another open VI. Select the VI you want to use as a subVI from the Project Explorer window, and drag it to the block diagram of the other VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful