Array Split / Replace Subarrays Border Node

Owning Palette: Structures

Requires: Base Development System

Split an array into subarrays along a dimension you specify and operate on the subarrays in place within the structure. Right-click the border of an In Place Element structure and select the Add Array Split / Replace Subarrays option from the shortcut menu to place this border node on the In Place Element structure.

Details  

array can be an n-dimensional array of any type.
split length specifies the length of the resulting subarray. Each split length results in an additional subarray. You must wire all or none of the split length inputs. If you do not wire any split length inputs, LabVIEW automatically determines the length of the resulting subarray.
array is the array this border node returns with the replaced element(s), row(s), column(s), or page(s).
split length indicates the length of the resulting subarray.

Array Split / Replace Subarrays Details

This border node allows the LabVIEW compiler to avoid making a complete value copy of the array and array elements in memory.

Right-click this border node and select Split Dimension to specify in which dimension to split the array. For example, if you select 1 for a two-dimensional array, LabVIEW creates the subarrays from columns of the original array. If you select 0, LabVIEW creates the subarrays from rows of the original array.

If you wire more elements than are in the original array to the border node on the right side of the structure, LabVIEW truncates the elements to fit in the original memory space. If you wire fewer elements than are in the original array to the border node, LabVIEW adds additional array elements to fill the original memory space.