To download NI software, including the products shown below, visit ni.com/downloads.
This VI allows a user to programmatically deploy their shared variable library from a Development System and built Application. Once the Shared Variable Library and Executable are properly named, the user can easily change them to constants to remove front panel interaction.
This VI deploys a shared variable library programmatically through the use of Property and Invoke Nodes. The Deploy Library Invoke Node deploys a library based on the provided library path. The case executed by the code is determined by the Kind property of the Application Property Node, which specifies the LabVIEW instance the VI is running in. The library path for the development case uses the current VI Path VI as a base from which to build the Shared Variable Library path. The library path for the Run-Time case is constructed by building onto the directory path of the executable.
Steps to Implement or Execute Code
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.