Jump to content

Rotate 1D Array function

From LabVIEW Wiki
Rotate 1D Array function
Object information
Owning palette(s) Array palette
Type Function
Requires Basic Development Environment
Icon

The Rotate 1D Array function takes a one-dimensional array and moves the start of the array by the number of elements specified, effectively "rotating" the array.

Usage

Connect a one-dimensional array at the array input terminal and specify the number of elements to move at n. The resulting array will contain all elements from the source array "rotated" by the number of elements specified.

It is also possible to specify a negative value for n to "rotate" in the opposite direction.

A value of zero results in a no-op which leaves the original array unchanged.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links