Collect Numeric Array
- Updated2026-02-19
- 4 minute(s) read
Accumulates numeric input elements when enable is TRUE. The collected data array contains the collection of input elements. If collected data reaches the capacity you specify using the array size input, the function block discards additional input values until you clear the function block by setting the reset input to TRUE.

Dialog Box Options
| Option | Description |
|---|---|
| Inputs | Contains the following configuration options:
|
| Outputs | Contains the following configuration options:
|
Inputs/Outputs
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
array size
—
Specifies the size of the collected data array.
enable
—
Specifies whether to process input. If enable is TRUE (default), the function block updates output terminals based on the current input. If enable is FALSE, the function block does not process input.
reset
—
Clears all outputs and internal states of the function block.
input
—
Specifies the input signal for the function block to process.
full
—
Indicates whether collected data has reached capacity by returning TRUE when points collected is greater than or equal to array size. Returns FALSE otherwise.
collected data
—
Returns the array that collects the input data values.
error out
—
error out contains error information. This output provides standard error out functionality.
points collected
—
Returns the number of data values contained in collected data. |
error in
—
array size
—
enable
—
input
—
full
—
collected data
—
error out
—
points collected
—