Xentara v2.0.4
User Manual
|
Bit values are skill data points that extract a single bit from a numeric data point containing a signed or unsigned integer value. The bit’s value is represented as a Boolean value. The conversion is done automatically and does not require a task to be scheduled.
The bit value can optionally be inverted, meaning that the result value will be false if the source bit was set, and true if the source bit was not set.
Bit value data points are always read only.
Bit values have the following members:
key | The bit value’s primary key. |
name | The bit value’s name. The name is the last component of the primary key. |
UUID | The unique UUID of the bit value. |
type | The bit value’s element type. For bit values, this is always “bit value”. |
category | The bit value’s category. For bit values, this is always “data point”. |
value | The bit’s value, extressed as a Boolean value. For normal bit values, a value of true means the bit was set, a value of false means it was not set. For inverted bits values, false means set, and true means not set. |
updateTime | The last time the value was updated. |
changeTime | The last time the value changed. |
quality | The quality of the current value. |
error | If the quality attribute is anything but “good”, this attribute contains the error that caused the quality to degrade. |
changed | This event is raised when the value, the quality, or the error changes. |
Additionally, the bit value will inherit all attributes and events related to the input data from its source value. At least the following attributes are inherited from the source value data point, if is provides them:
Each individual type of skill data point can have additional attributes and events that are inherited by bit values. Please refer to the documentation of the specific skill data point for details. Bit values inherit the same attributes and events that data points inherit from their input.