Skip to main content
Version: 24.1

Boolean (Data Variable Type)

About

A boolean variable in HMI development is used to represent a binary state, meaning it can only have two possible values: true or false. This type of variable is commonly used to represent on/off states, such as a button being pressed or a light being turned on or off.

Define a Variable Using the Context Menu

  1. Change to the Data View.

  2. Right-click the Data or any other folder in your HMI Data View.

  3. Choose Add Variable.

  4. Choose the type Boolean.


Augment a Variable With Additional Metadata