Boolean

From LabVIEW Wiki
Jump to: navigation, search
Boolean elements on the block diagram

A Boolean is a primitive data type that can have one of two values: True or False. It is represented by green wires on the block diagram. The Boolean constant is represented by a dynamic element that can be changed from True Boolean True Constant to False Boolean False Constant with a left mouse click.

Most functions from the Comparison palette return Boolean values.


History

In LabVIEW 2010 the representation of Boolean constants on the block diagram changed so that only the currently selected value is visible.

Icon LabVIEW Versions
Boolean True
Boolean True Constant Before LabVIEW 2010
Boolean True Constant Since LabVIEW 2010
Boolean False
Boolean False Constant Before LabVIEW 2010
Boolean False Constant Since LabVIEW 2010

This change was suggested by user altenbach on the LabVIEW Idea Exchange on 03.07.2009 and later confirmed to be included in the beta version of LabVIEW 2010 by user Wonger on 23.02.2010.

See Also

External links