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.


icon

Inputs/Outputs

  • c1dfxdt.png array

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

  • i1dfxdt.png shuffled array

    shuffled array returns a shuffled version of the 1D array.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Malleable VIs\Basics\Malleable VIs Basics.lvproj