To download NI software, including the products shown below, visit ni.com/downloads.
1. Overview:
This VI gets the names of all the variables contained in a library
2. Description:
The properties for shared variables are defined in the Variable class property node. In order to access the Variable class, a reference to the shared variable must be connected to the variable class property node.
This code uses VI Server to access the variables in the Library. First, a library is opened. Then references to the items in the library are returned. Then each variable reference is extracted and the name of the variables is returned.
3. Requirements
4. Steps to Implement or Execute Code
5. Additional Information or References
VI Snippet
**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.