Array Size Function

Owning Palette: Array VIs and Functions

Requires: Base Development System

Returns the number of elements in each dimension of array.

The connector pane displays the default data types for this polymorphic function.

 Add to the block diagram  Find on the palette
array can be an n-dimensional array of any type.
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.