Disable Structure
- Updated2023-02-17
- 2 minute(s) read
Disable Structure
Contains one or more subdiagrams, or cases, of which only the enabled subdiagram executes. Use the Disable Structure to disable a section of the diagram.
Inputs/Outputs
Subdiagram Selector Label
Part of the structure that displays the value(s) for which the associated subdiagram executes.

Tunnel
Point through which data enters or exits a structure.

Examples
Search within the programming environment to access the following installed examples:- Disable Structure
Disabling Subdiagrams Based on a Specified Condition
Select Edit Condition for Active Subdiagram in the Item tab to set one or more conditions that, when met, enables a subdiagram in the Disable Structure. For example, you might conditionally enable a subdiagram to run code only on a specific target.
Refer to the following table for a list of available condition symbols and their values.
| Condition Symbol | Valid Values | Description |
|---|---|---|
| CPU |
|
The processor on which the subdiagram executes. |
| OS |
|
The operating system on which the subdiagram executes. |
| TARGET_BITNESS |
|
The bitness of the application that executes the subdiagram. |
| TARGET_TYPE |
|
The platforms or targets on which the subdiagram executes. |
Valid Condition Symbols for FPGA Targets
You can only access the symbols in the following table on a VI that is targeted to an FPGA.
| Condition Symbol | Valid Values | Description |
|---|---|---|
| TARGET_TYPE |
|
The platforms or targets on which the subdiagram executes. |
| FPGA_TARGET_FAMILY |
|
The FPGA family on which the subdiagram executes. |
| FPGA_TARGET_EXECUTION |
|
The location on either the FPGA target or the development computer running in simulation where the subdiagram executes. |
| FPGA_TARGET_CLASS |
|
The target class of the FPGA target on which the subdiagram executes. |