Boolean

From LabVIEW Wiki

Jump to: navigation, search

A boolean is a primitive data type that can have one of two values: TRUE or FALSE. Various operations from the Boolean palette can be performed on these, such as AND, OR, and NOT. Most comparison functions return boolean data.

In addition to label and caption text, boolean controls and indicators can display "boolean text" that can depend on the state of the control. This allows a control or indicator to show a textual representation of its state (e.g. ON/OFF).

On the block diagram, boolean data is represented by green wires.

Mechanical action

Boolean controls have mechanical actions, which control how activation with the mouse affects the value of the control. Mechanical action allows a control to mimic certain physical actuators (e.g. a light switch, emergency stop button). The six types of mechanic actions are:

The three "latch" behaviors can not be used if the control has a local variable on the block diagram.

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Toolbox