Nube iO - Rubix Wires: Latch Nodes

Rubix Wires: Latch Nodes


This article describes the Rubix Wires nodes that are in the Latch category.

Latch

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

  1. input - Input value of any data type.
  2. latch - Boolean trigger for the latch operation.

Outputs

  1. output - Output value of any data type.

Settings

  1. Name - Name of the node.
  2. 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

  1. input - Boolean input value.
  2. latch - Boolean trigger for the latch operation.

Outputs

  1. output - Boolean output value.

Settings

  1. 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

  1. input - Numeric input value.
  2. latch - Boolean trigger for the latch operation.

Outputs

  1. output - Numeric output value.

Settings

  1. 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

  1. input - String input value.
  2. latch - Boolean trigger for the latch operation.

Outputs

  1. output - String output value.

Settings

  1. 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

  1. set - Boolean SET input.
  2. reset - Boolean RESET input.

Outputs

  1. output - Boolean output value.

Settings

  1. Name - Name of the node.
  2. 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':
  1. 'reset' is 'true', and 'set is 'false'.
  2. 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.


Related Articles:

  1. Rubix Wires: Working with Nodes
  2. Rubix Wires: Node Reference Guide

    • Related Articles

    • Rubix Wires: Dashboard Nodes

      This article describes the Rubix Wires nodes that are in the Dashboard category. Dashboard The `Dashboard` category contains nodes that interact with the Wires Dashboard.  The Wires Dashboard provides a way to interact with the nodes/flows built in ...
    • Rubix Wires: Widget Nodes

      This article describes the Rubix Wires nodes that are in the Widgets category. Widget The `Widget` category contains nodes that are used in conjunction with an external user interface.   These nodes are often used to support extended functions from ...
    • Rubix Wires: String Nodes

      This article describes the Rubix Wires nodes that are in the String category. String The `String` category contains nodes that are used for manipulating string data. String-Join This node joins multiple input strings into a single output string. ...
    • Rubix Wires: Statistics Nodes

      This article describes the Rubix Wires nodes that are in the Statistics category.   Statistics The `Statistics` category contains nodes that provide statistical analysis functionalities.  Min-Max-Average This node provides minimum, maximum, and ...
    • Rubix Wires: Connection Nodes

      This article describes the Rubix Wires nodes that are in the Connection category. Connection The Connection category contains nodes that can send and receive data values without the need for wire link connections. Link-Transmitter-Single This node is ...