Example Code

Randomizing A List of Items in a String Array

Code and Documents

Attachment

Overview
This VI can be used to randomize a list of items in a string array.

 


Description
This VI can be used to randomize a list of items in a string array. It's made to be used as a Sub-VI. Regardless of the size of the array, it will randomize the order of the items and output them as a new array.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Randomize Ordered List 2012 NIVerified.vi"
  3. Input the String Array In
  4. Run this VI

 

Additional Information or References
VI Snippet

Block Diagram.PNG

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.