Contains 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.
Case Structures behave similarly to switch statements or if-then-else statements in other programming languages.
Value that determines which case to execute based on the input data. The input data can be a Boolean, string, integer, enumerated type or error cluster. The data type you wire to the selector terminal determines the allowed cases you can enter in the case selector label.
Case Selector Label
Part of the structure that displays the value(s) for which the associated case executes. You can specify a single value or a range of values. You also can use the case selector label to specify a default case.
Point through which data enters the structure.