Example Code

Creating and Editing Rows in List Boxes

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 data into different parts of a given array.

 

Description

This example demonstrates how to programmatically create and delete rows inside of a list box. In addition to being able to create/remove rows, by selecting any given row you can update the contents of the rows by selecting the different values of the ring control.

 

Requirements

LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code
1. Run the VI
2. Select the Type, Unit and Description desired
3. Select the New Row button
4. Use the Delete button to delete the selected row
5. Use the Stop button to finish the execution

 

Additional Information or References

Capture.PNG

A_Ryan
AES
National Instruments

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