Overview
This VI allows the user to set the path of an .lvlib for deployment in an executable.
Description
This VI builds the path to a library so you can programmatically deploy it. It makes use of the Application Kind property node to check if the VI is running in development or as an executable and changes the path accordingly.
Steps to Implement or Execute Code
Requirements to Run
Software
LabVIEW 8.6 or later
Hardware
N/A
Additional Images
Block Diagram
Caveats and Additional Notes
There are a few things you need to have set in the exe build specifications:
Be sure include the Library as an always include source file.
Set it to go in the support directory on the source file setting page. You can preview how your file structure will be organized in the preview window.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
The Conditional Diagram Disable Structure can provide the same functionality without the additional property node.