Table Of Contents

Split 1D Array (G Dataflow)

Last Modified: January 23, 2017

Divides an array at a specified index and returns the two portions.

The element at the specified index appears at the beginning of the second portion.

connector_pane_image
datatype_icon

array

A 1D array of any type.

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

Where to split array. If index is negative or 0, first subarray is empty. If index is equal to or greater than the size of array, second subarray is empty.

datatype_icon

first subarray

array[0] through array[index-1].

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

second subarray

The remaining array elements not already contained in first subarray.

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.

Splitting an Empty Array

If the input array is empty, both output arrays are empty. This node does not generate an error if you pass in an empty array.

Where This Node Can Run:

Desktop OS: Windows

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


Recently Viewed Topics