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 case executes. You also can use the case selector label to specify a default case.
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. An example of when you might conditionally enable a subdiagram is 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. |
FPGA_TARGET_FAMILY |
|
The FPGA family on which the subdiagram executes. |
FPGA_TARGET_EXECUTION |
|
The location where the subdiagram executes: on the FPGA target or on the development computer in simulation. |
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