Example Code

Auto-populating search inside a 2D Array of strings

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

Demonstrate the method to search between the objects present in the first column and enable objects to be chosen and displayed.

 

Description

This VI searches between the objects listed in the first column of the 2D array, giving as output the data linked to that object.

All objects and data are stored in a 2d array of strings.

 

Requirements

  • LabVIEW 2012 (or compatible)

Steps to Implement or Execute Code

  1. Open the VI " Auto Populating Search.vi".
  2. Input an object to search.
  3. Run the VI.

Additional Information or References
VI Snippet

1.png

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

 

 

 

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