Table Of Contents

Insert into Array (G Dataflow)

Last Modified: January 23, 2017

Inserts an element or subarray into an array at the index you specify.

connector_pane_image
datatype_icon

array

The array in which you want to insert an element, row, column, page, and so on. This input is an n-dimension array of any type.

datatype_icon

index

Point in the array at which you want to insert the element, row, column, page, and so on. This node automatically provides an index input for each dimension of the array. You can wire only one index input.

If index is larger than the array size, the node does not insert anything into the input array.

Default: new element or subarray appends to the end of array.

datatype_icon

new element or subarray

The element or array that inserts into an element, row, column, or page in the array specified in array.

The base data type of the new element or subarray must be the same type as the input array.

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

output array

The array with the inserted element(s).

Where This Node Can Run:

Desktop OS: Windows

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


Recently Viewed Topics