The `Compare` category contains nodes that provide numerical and data type comparisons with Boolean results.Equal
This node performs an equivalency operation on the two inputs.Input
- in 1 - First term to `Equal` operation.
- [in 2] - Second term to `Equal` operation.
Output
- out equal - Boolean result of equivalency comparison.
- out not equal - Boolean opposite of `out equal` value.
Settings
- Name - Name of the Node.
- in 2 - Second term to `Equal` operation.
Operation
'output equal' is 'true' when 'in 1' and 'in 2' are identical, otherwise 'output equal' is 'false'. Can be used to compare boolean, numeric, and string values; it can also be used to compare 'null' values. 'output not equal' is always the boolean opposite of 'out equal'.Greater-Than
This node performs a greater-than operation on the two numeric inputs.Input
- in 1 - First input to `Greater Than` operation.
- [in 2] - Second input to `Greater Than` operation.
Output
- out > - Boolean output `true` if `in 1` is greater than `in 2`, else is `false`.
- out >= - Boolean output `true` if `in 1` greater than OR EQUAL to `in 2`, else is `false`.
Settings
- Name - Name of the node.
- [in 2] - Second input to `Greater Than` operation.
Operation
out >' is 'true' when 'in 1' is greater than 'in 2', otherwise 'out >' is 'false'.'out >=' is 'true' when 'in 1' is greater than or equal to 'in 2', otherwise 'out>=' is 'false'.Both Outputs will be 'false' if either input is undefined.Less-Than
This node performs a less-than operation on the two inputs.Input
- in 1 -First input to `Less Than` operation.
- [in 2] - Second input to `Less Than` operation.
Output
- out < - Boolean output `true` if `in 1` less than `in 2`, else `false`.
- out <= - Boolean output `true` if `in 1` less than OR EQUAL to `in 2`, else `false`.
Settings
- Name - Name of the node.
- in 2 - Second input to `Less Than` operation.
Operation
'out <' is 'true' when 'in 1' is less than 'in 2', otherwise 'out <' is 'false'. 'out <=' is 'true' when 'in 1' is less than or equal to 'in 2', otherwise 'out <=' is 'false'.Both outputs will be 'false' if either input is undefined.Between
The `Between` node compares two inputs.Input
- input - Input value.
- [from] - Lower limit of `Between` operation.
- [to] - Upper limit of `Between` operation.
Output
- output - Boolean result of `Between` operation on input.
- out not - Boolean opposite of `output` value.
Settings
- Name - Name of the node.
- from - Lower limit of `Between` operation.
- to - Upper limit of `Between` operation.
Operation
'output' is 'true' when 'in 1' is within the numeric range between 'from' value and 'to' value (exclusive), otherwise 'output' is 'false'. 'output' will be 'false' if either input is undefined.'out not' is always the boolean opposite of 'output'.Hysteresis
This node performs an hysteresis operation on the input value. Hysteresis compares `input` value to the `risingEdge` and `fallingEdge` threshold values with reference to the past `input` values. This is most commonly used to provide a control deadband.
Input
- input - Input value.
- [risingEdge] - ON threshold value. When `input` reaches this value, `output` will turn ON.
- [fallingEdge] - OFF threshold value. When `input` reaches this value, `output` will turn OFF.
Output
- output - Output value.
- out not - Boolean opposite of `output` value.
Settings
- Name - Name of the node.
- risingEdge - ON threshold value. When `input` reaches this value, `output` will turn ON.
- fallingEdge] - OFF threshold value. When `input` reaches this value, `output` will turn OFF.
Operation
Boolean 'output' based on 'input' in relation to 'risingEdge' and 'fallingEdge' setpoints.There are 2 cases: 'risingEdge' greater than 'fallingEdge', and 'risingEdge' less than 'fallingEdge'.[For 'risingEdge' > 'fallingEdge'] => 'output' is 'true' when 'input' is greater than 'risingEdge'. 'output' is 'false' when 'input' is less than 'fallingEdge'.[For 'fallingEdge' < 'fallingEdge'] => 'output' is 'false' when 'input' is greater than 'risingEdge'. 'output' is 'true' when 'input' is less than 'fallingEdge'.In both cases, when 'input' is between 'risingEdge' and 'fallingEdge', 'output' will remain in its current state.Type-Check
The `Type-Check` node determines the data type of the input value. It also provides a boolean output of the comparison between the input value data type, and a configured data type check.Input
- input - Input value.
Output
- output - Boolean output of the node compared to `Type to check`.
- isType - Outputs the data type of the `input` value.
Settings
- Name - Name of the node.
- Type to check - Data type to compare the `input` value data type with.
Operation
‘Output' is 'true' when 'input' type matches 'Type to check'. 'isType' outputs the data type of the 'input' value (as a string).