This page is optimized for mobile devices, if you would prefer the desktop version just click here

2.5 Creating a subvi from sections of a vi

You can simplify the block diagram of a VI by converting sections of the block diagram into subVIs. Convert a section ofa VI into a subVI by using the Positioning tool to select the section of the block diagram you want to reuse andselecting Edit>>Create SubVI. An icon for the new subVI replaces the selected section of the blockdiagram. LabVIEW creates controls and indicators for the new subVI and wires the subVI to the existing wires. shows how to convert a selection into a subVI.

The new subVI uses a default pattern for the connector pane and a default icon. Double-click the subVI to edit the connectorpane and icon, and to save the subVI.

Do not select more than 28 objects to create a subVI because 28 is the maximum number of connections on a connector pane.

<< Chapter < Page Page > Chapter >>

Read also:

OpenStax, Labview graphical programming. OpenStax CNX. Apr 09, 2015 Download for free at https://legacy.cnx.org/content/col11408/1.2
Google Play and the Google Play logo are trademarks of Google Inc.
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use and Privacy Policy.