Array Get
The Array Get action returns the value of an array element(Scalar mode) or a series of array elements(Array mode), based on an index. Used in a loop function to iterate through all the elements in the array.
Parameter descriptions
The action provides these parameters:
Parameter | Description |
---|---|
Mode | Select Scalar or Array.
|
Array Data Type | The data type of the array elements.
The list of the available data types
for the node. For example, BYTE, WORD,
DWORD, or INT1, INT2, INT4 and so
forth. |
Array Size | The number of elements in the array. |
Length
|
If you select
BINARY or
STRING as the array
data type, the Length
parameter becomes available. The Length defines the length to use for each string or binary data
element. |
Input tab
Parameter | Description |
---|---|
Array | The start of the array (the first
element) is entered in the
Value column. The values for Logical and Count columns will change based on the Array Data type and Array Size parameters specified in the action definition. |
Index
|
The array index element value to be
copied from. Array indexes start at
zero. |
Count | The number of elements to be read from the specified Index. |
Output tab
Parameter | Description |
---|---|
Value | The destination variable where the
array element value is copied
to. |