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

    • Related Articles

    • Rubix Wires: LoRa Sensor Nodes

      This article describes the Rubix Wires nodes that are in the LoRa category.  Preparation Rubix Wires: Getting Started Guide Rubix Platform: Adding and Editing Wireless LoRa Droplet Sensors Rubix Platform: Adding and Editing Wireless Microedge Sensors ...
    • Rubix Wires: Switch Nodes

      This article describes the Rubix Wires nodes that are in the Switch category. Switch The `Switch` category contains nodes that are used to direct the flow of data.  They can be though of like train track switches, controlling which track the train ...
    • 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: Point Nodes

      This article describes the Rubix Wires nodes that are in the Point category.   Point The `Point` category contains nodes that produce constant or variable data; there are nodes for each Rubix Wires data type. Bool-Constant This node outputs a fixed ...
    • Rubix Wires: Num-Transform Nodes

      This article describes the Rubix Wires nodes that are in the Num-Transform category. Num-Transform The `Num-Transform` category contains nodes that modify numeric values.  Round This node rounds a numeric value to a configured number of decimal ...