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+