Table Of Contents

Replace Array Subset (Clock-Driven Logic)

Last Modified: September 13, 2017

Replaces an element or subarray in an array at the index you specify.

connector_pane_image
datatype_icon

array

The array in which you want to replace elements, rows, columns, or pages. This input is an n-dimension array of any type.

datatype_icon

index

Location within array of the element, row, column, or page you want to replace.

Relationship between index Inputs and array Dimensions

For multidimensional arrays, index inputs correspond to row-major order. Thus, the first index corresponds last dimension of the array input, and the last index corresponds to the first dimension of the array input. The following table shows the relationship between four index inputs and the dimensions of a 4D array input.

index Order Corresponding Dimension in array Input index Name
1 4th volume index
2 3rd page index
3 2nd row index
4 1st column index

Default: 0

datatype_icon

new element or subarray

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

This input changes to new element/waveform subset when you wire a waveform to array.

datatype_icon

output array

The array this node returns with the replaced elements, rows, columns, or pages.

Where This Node Can Run:

Desktop OS: none

FPGA: All devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics