Virus scan in progress. Please wait to download attachments.
This example shows how to store any type of data as the value by using Variant in LabVIEW
One useful data type for many types of programs is a dictionary or look-up table, where data is stored as a key -> value pairing. An example of this would be a contact list, where the person's name is the key and their phone number is the value.A great way to solve this problem in LabVIEW is with variants. By using the Set Variant Attribute and Get Variant Attribute functions, you can easily build and access a dictionary.
LabVIEW 2012(or compatible)
Steps to Implement or Execute Code
Run the vi.
Input the name
**This document has been updated to meet the current required format for the NI Code Exchange.**
Daniel E. TestStand Staff Product Support Engineer National Instruments
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.