Contains one or more subdiagrams, or cases, of which only the enabled subdiagram executes. You can conditionally disable subdiagrams using the Edit Condition for Active Subdiagram button on the Item tab.
Part of the structure that displays the value(s) for which the associated subdiagram executes. You can also use the subdiagram selector label to set a default subdiagram.
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. |
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. |
Where This Node Can Run:
Desktop OS: none
FPGA: All devices
Web Server: Not supported in VIs that run in a web application