The `Latch` category contains value latching functionality for each data type. Latch nodes will maintain an output value between trigger events.Any-Latch
This node can take any input data type compared to the other latch nodes than can only take specific data types.Inputs
- input - Input value of any data type.
- latch - Boolean trigger for the latch operation.
Outputs
- output - Output value of any data type.
Settings
- Name - Name of the node.
- Only if input value is updated - Toggle switch to
Operation
The 'input' value is passed to 'output' when 'latch' transitions from 'false' to 'true'; The 'output' value is maintained until the next 'false' to 'true' transition.Bool-Latch
This node takes a boolean input value and outputs (and maintains) the boolean value when latch is triggered.Inputs
- input - Boolean input value.
- latch - Boolean trigger for the latch operation.
Outputs
- output - Boolean output value.
Settings
- Name - Name of the node.
Operation
The Boolean 'input' value is passed to 'output' when 'latch' transitions from 'false' to 'true'; The 'output' value is maintained until the next 'false' to 'true' transition.Num-Latch
This node takes a numeric input value and outputs (and maintains) the numeric value when latch is triggered.Inputs
- input - Numeric input value.
- latch - Boolean trigger for the latch operation.
Outputs
- output - Numeric output value.
Settings
- Name - Name of the node.
Operation
The Numeric 'input' value is passed to 'output' when 'latch' transitions from 'false' to 'true'; The 'output' value is maintained until the next 'false' to 'true' transition.String-Latch
This node takes a string input value and outputs (and maintains) the string value when latch is triggered.Inputs
- input - String input value.
- latch - Boolean trigger for the latch operation.
Outputs
- output - String output value.
Settings
- Name - Name of the node.
Operation
The String 'input' value is passed to 'output' when 'latch' transitions from 'false' to 'true'; The 'output' value is maintained until the next 'false' to 'true' transition.Set-Reset
This node outputs a latched boolean value based on boolean `set` and `reset` inputs. (ref: https://en.wikipedia.org/wiki/Flip-flop_(electronics)#Simple_set-reset_latches). This node is commonly used to implement staging logic that is based on Stage-UP and Stage-Down conditions.Inputs
- set - Boolean SET input.
- reset - Boolean RESET input.
Outputs
- output - Boolean output value.
Settings
- Name - Name of the node.
- Reset when set=true - When enabled `output` will always be `false` while `reset` is `true`. When disabled `output` will always be `true` when `set` is `true` (even when `reset` is `true`).
Operation
‘output' will be 'true' when 'set' is 'true', and 'reset' is 'false'.There are 2 cases when 'output' will change to 'false':
- 'reset' is 'true', and 'set is 'false'.
- If the 'Reset when set=true' setting is turned ON (Default), and 'reset' and 'set' are both 'true'. If 'Reset when set=true' setting is turned OFF, 'output' will only change to 'false' under Case 1) conditions.