Example Code

Store User Selectable Input into Array

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Coding that exemplifies how to insert user defined data into a 2D array.

 

Description

This Example code shows how to allow the user to choose a number of items (in this case Parts) to input values for. It then stores those values into an array and stores each part's array into another array that can be viewed.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Select the amount of rows you would like to add
2. Run the VI
3. Add the values when prompted


Additional Information or References

Snippet.png

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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