Table Of Contents

Array Size (G Dataflow)

Last Modified: January 23, 2017

Returns the number of elements in each dimension of an array.

connector_pane_image
datatype_icon

array

An n-dimensional array of any type.

This input also accepts clusters containing a single array, such as waveforms.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

size(s)

The number of elements in array. If array is one-dimensional (1D), size(s) returns a 32-bit integer. If array is multidimensional, size(s) returns 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.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics