Jump to content

Interleave 1D Arrays function

From LabVIEW Wiki
Revision as of 18:15, 19 November 2019 by Logmanoriginal (talk | contribs) (Add content)
Interleave 1D Arrays function
Object information
Owning palette(s) Array palette
Type Function
Requires Basic Development Environment

The Interleave 1D Arrays function takes two or more one-dimensional arrays and "interleaves" them into a single array by indexing the source arrays vertically before horizontally (take the first element of each source array, then take the second element of each source array, ...).

Usage

Connect two one-dimensional arrays to the array input terminals. The resulting array will contain all elements from the source array "interleaved".

Add more source arrays by dragging the upper or lower border of the function until the desired number of elements is reached.

A single source array results in a no-op in which the source array is returned unchanged.