/
Item.BoolToValue
Item.BoolToValue
Used to set a numeric data point based on a bool input item.
Description
This logic can be used to set a numeric data point based on an input that is of type bool.
Inputs
- Input (ItemID): input data point. It must be of type bool.
Outputs
- Output (ItemID): data point that shall be changed. It must be of type numeric.
Parameters
- TrueValue (numeric, optional): if specified, this value is written to the output whenever the input is set to "true".
- FalseValue (numeric, optional): if specified, this value is written to the output whenever the input is set to "false".
Possible trigger types
- All
Applies to
- XLogic Library 1.0.12+
, multiple selections available,
Related content
BoolToValue
BoolToValue
More like this
Item.ToggleWithStatus
Item.ToggleWithStatus
More like this
Item.ResetValue
Item.ResetValue
More like this
Item.Toggle
Item.Toggle
More like this
Logic.Not
Logic.Not
More like this
Item.Write3
Item.Write3
More like this