Shuffle 1D Array VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Array Functions

Requires: Base Development System

Rearranges the elements of a 1D array in a pseudorandom order.

This VI uses a uniform shuffle so that every element has an equal chance of ending up in any position of the array.

Example

array specifies the 1D array with elements that you want to shuffle. The array can be a 1D array of any data type.
shuffled array returns a shuffled version of the 1D array.

Example

Refer to the Malleable VIs Basics.lvproj in the labview\examples\Malleable VIs\Basics directory for an example of using the Shuffle 1D Array VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful