Nube iO - Rubix Wires: Count Nodes

Rubix Wires: Count Nodes


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

Count

The `Count` category contains nodes that are used to perform counting operations involving stepped changes in output values.

Counter

This node performs addition or subtraction operations, to/from an accumulated `count` value, when the boolean status changes of `count up` and `count down` respectively.

Inputs

  1. [set value] - Numeric value to start the count from.  Value of `count` output is set to this when `reset` input is triggered.
  2. count up - Boolean input that increase the `count` value by `1` when input transitions from `false` to `true`.
  3. count down - Boolean input that decreases the `count` value by `1` when input transitions from `false` to `true`.
  4. reset - Boolean input that changes the `count` value to `[set value]` when input transitions from `false` to `true`.

Outputs

  1. count - Numeric value of the current count.

Settings

  1. Name - Name of the node.
  2. Set Value - Numeric setting value that `count` is set to when boolean `reset` input transitions from `false` to `true`.   Set from settings as a fallback from wired input value.

Operation

count' increases by `1` every time 'countUp' transitions from 'false' to 'true. 'count' decreases by `1` every time 'countDown' transitions from 'false' to 'true. 'count' will be set to 'set value' when 'reset' transitions from 'false' to 'true`.

Related Articles:

  1. Rubix Wires: Working with Nodes