Boolean values
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
When a field in any table is a Boolean flag, for example the step flag in the PIPOINT table, the input data can be specified as:
1 / 0
Yes / No
True / False
piconfig always sends the data to the table as a string as explained above.
The table owner, in this example PI Base Subsystem, interprets the incoming string as a Boolean value .
This can cause some confusion in the digital states table when states are defined as the strings , , , and so on. We recommend that you configure digital states like this: ", , …" or ", , …"
Similarly, to define the states "", "", make a set with "" in the first position followed by "" to correspond to and . Alternatively, modify the names slightly; such as "", "".