Setting Required, Recommended, and Optional Inputs and Outputs

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

You can designate which inputs and outputs are required, recommended, and optional to prevent users from forgetting to wire subVI terminals.

For terminal inputs, required means that the block diagram on which you place the subVI will be broken if you do not wire the required inputs. Required is not available for terminal outputs. For terminal inputs and outputs, recommended or optional means that the block diagram on which you place the subVI can execute if you do not wire the recommended or optional terminals. If you do not wire the terminals, the VI does not generate any warnings.

Complete the following steps to set a terminal to required, recommended, or optional.

  1. Right-click a terminal on the connector pane and select This Connection Is from the shortcut menu.
  2. Select Required, Recommended, or Optional.

You can configure LabVIEW to set all new terminals you configure on the connector pane to required instead of recommended. Select Tools»Options»Front Panel and place a checkmark in the Connector pane terminals default to required checkbox. This option also applies to connections made using the Edit»Create SubVI menu item.

You can connect only one control or indicator to a terminal.

Related Information

Block Diagram Objects

Assigning Terminals to Controls and Indicators

Confirming Terminal Connections

Deleting Terminal Connections on the Connector Pane

WAS THIS ARTICLE HELPFUL?

Not Helpful