You can simplify the block diagram of a VI by converting
sections of the block diagram into subVIs. Convert a section of
a VI into a subVI by using the Positioning tool to
select the section of the block diagram you want to reuse and
selecting Edit>>Create SubVI. An icon for the new
subVI replaces the selected section of the block
diagram. LabVIEW creates controls and indicators for the new
subVI and wires the subVI to the existing wires. Figure 1 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 connector pane and icon, and to save the subVI.
"A full introductory course on programming with LabVIEW."