- Overview
- This example shows how to programatically create and add shared variables to a library file using Invoke and Property Nodes.
- Description
- A valid project and variable library must be specified before the VI can be ran. The file path can be typed in, browed for, or simply dragged from the desktop/folder onto the front panel.
- This example create a Variable named "My Variable". The Variable name has to be unique, so check that no other variables with the same name exists in the project.
- Requirements
- LabVIEW 2012 (or Compatible)
- Steps to Implement or Execute Code
- Choose a valid project and library file
- Run VI
- Check in the Project Explorer for the new shared variable beneath the Shared Variable library
- Additional informations or References

**This document has been updated to meet the current required format for the NI Code Exchange.**
Chris Van Horn
Applications Engineer