Dataguess
v0.2.0
v0.2.0
  • Welcome
  • Getting Started
    • Installation
      • Windows Installation
      • Linux Installation
    • Activation
  • REFERENCES
    • Workstation
    • Workgroup
    • Dataflow
    • Components
      • Core Concepts
        • Scheduler
        • Synchronizing Ports
        • Import / Export Ports
        • Forwarding Inputs
      • Inputs
        • MQTT
        • Modbus TCP
        • Siemens S7
        • OPC UA
        • TwinCAT
        • EtherNet/IP
      • Outputs
        • MQTT
        • Modbus TCP
        • Siemens S7
        • CSV
        • JSON
        • InfluxDB
        • OPC UA
        • TwinCAT
        • Data Watch
      • Function
        • Math & Logic
        • Array Functions
        • Type Conversion
        • To JSON
        • From JSON
        • Array
        • Timer
      • API
        • HTTP
      • Server
        • HTTP Server
      • Script
        • Python Script Editor
      • Ai
        • ONNX
        • Scikit Learn
  • Use Cases
  • FAQ
Powered by GitBook
On this page
  • Node Definitions
  • Input & Output Ports
  • Working Example

Was this helpful?

  1. REFERENCES
  2. Components
  3. Function

Array

Array component lets you convert your input values to an array structure

PreviousFrom JSONNextTimer

Last updated 3 years ago

Was this helpful?

Node Definitions

Type Conversion has no unique node definition to be configured, you can give it a name and a description:

Input & Output Ports

Array defines Input and Output ports in one row, as input rows are mapped to output rows 1 by 1. Each input value will be pushed into an array that will be the value of the corresponding output port.

There are multiple things you can define:

  • Default: If the length is bigger than 1, the array won't be completed with the first change in the value. By setting a default value, you can define what will array show for not-yet-pushed values. You can explicitly give a default value, or click the checkbox and make them Null.

Working Example

For the first output, the default value was 20, and the screenshot was taken when there are only 4 values pushed to the array. Therefore, the first element, 20, is not yet overridden.

Length: Lets you decide the length of your array. If the input value changes and the array is maxed at length, the earliest value will be removed from the array like a .

queue
Node Definitions
Array Ports
Array Working Example