| Download Help (Windows Only) |
Owning Palette: Structures
Requires: Base Package
Has one or more subdiagrams, or cases, exactly one of which executes when the structure executes. The value wired to the selector terminal determines which case to execute and can be Boolean, string, integer, enumerated type, or error cluster. Right-click the structure border to add or delete cases. Use the Labeling tool to enter value(s) in the case selector label and configure the value(s) handled by each case.

To scroll through the available subdiagrams, click the decrement and increment arrows in the selector label.
After you create a Case structure, you can add, duplicate, rearrange, or delete the subdiagrams. For each case, use the Labeling tool to enter a single value or lists and ranges of values in the case selector label at the top of the Case structure.
To convert a Case structure to a Stacked Sequence structure, right-click the Case structure and select Replace with Stacked Sequence from the shortcut menu.
You also can create multiple input and output tunnels and specify a default case for a Case structure.
Refer to the Simple Case Structure VI in the labview\examples\general\structs.llb for an example of using the Case Structure.