Dataguess
v0.3.2
v0.3.2
  • Welcome
  • Getting Started
    • Installation
      • Windows Installation
      • Linux Installation
    • Activation
  • REFERENCES
    • Workstation
    • Workgroup
    • Dataflow
    • Components
      • Core Concepts
        • Scheduler
        • System Ports
        • Synchronizing Ports
        • Import / Export Ports
        • Forwarding Inputs
      • Inputs
        • MQTT
        • Modbus TCP
        • Siemens S7
        • OPC UA
        • TwinCAT
        • EtherNet/IP
        • Camera
      • Outputs
        • MQTT
        • Modbus TCP
        • Siemens S7
        • CSV
        • JSON
        • InfluxDB
        • OPC UA
        • TwinCAT
        • FTP Client
        • Image Stream
        • Data Watch
      • Function
        • Math & Logic
        • Array Functions
        • Image Functions
        • Type Conversion
        • To JSON
        • From JSON
        • Array
        • Variables
      • Script
        • Python Script Editor
      • AI
        • ONNX
        • Scikit Learn
      • API
        • HTTP
      • Server
        • HTTP Server
  • Use Cases
  • FAQ
Powered by GitBook
On this page
  • Node Definitions
  • Input & Output Ports
  • System 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 JSONNextVariables

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.

System Ports

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 .

For more information read

queue
here
Array Working Example