Table Of Contents

Array Subset (G Dataflow)

Last Modified: January 23, 2017

Returns a portion of an array starting at a specified index and containing a specified number of elements.

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

index

First element, row, column, or page to include in the portion of array you want to return.

If index is less than 0, the node treats it as 0. If index is greater than or equal to the array size, the node returns an empty array.

datatype_icon

length

The number of elements, rows, columns, or pages to include in the portion of array you want to return.

If index plus length is larger than the size of the array, the node returns only as much data as is available.

Default: The length from index to the end of array.

datatype_icon

subarray

The portion of array starting at index and containing length elements.

Data Type Changes on FPGA

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

Where This Node Can Run:

Desktop OS: Windows

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


Recently Viewed Topics