Array Size Function
- Updated2025-07-30
- 2 minute(s) read
Returns the number of elements in each dimension of array.
The connector pane displays the default data types for this polymorphic function.

Inputs/Outputs
array
—
array can be an n-dimensional array of any type.
size(s)
—
size(s) is a 32-bit integer if array is one-dimensional (1D). If array is multidimensional, the returned value is a 1D array in which each element is a 32-bit integer that represents the number of elements in the corresponding dimension of array. The order of elements in the return array corresponds to row-major order. Thus, vol is the first index, followed by page, row, and column. These names are index identifiers and have no other meaning. |
FPGA Module Details
The following details apply when you use this object in an FPGA VI.
| Single-Cycle Timed Loop | Supported. |
| Usage | N/A |
| Timing | This function requires no clock cycles to execute because it does not include an internal register. |
| Resources | This function consumes no FPGA resources because it is purely a wiring operation. |
array
—
size(s)
—