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.
![]() | Note You can select Dynamic Dispatch Input (Required) or Dynamic Dispatch Output (Recommended) for dynamic dispatch member VIs. |
You also can use the Front Panel page of the Options dialog box to change terminal settings. Select Tools»Options and select Front Panel from the Categories list. Put a checkmark in the Connector pane terminals default to Required checkbox. This option sets terminals on the connector pane to required instead of recommended. This applies to connections made using the wiring tool and to subVIs created using the Create SubVI shortcut menu item.
You can connect only one control or indicator to a terminal.