|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
The Application Builder stores source files inside an application or shared library based on the directory structure of the source files on disk. This internal file layout preserves source file hierarchy inside the application.
If you call VIs dynamically, use relative paths to ensure the application loads the VIs correctly at run time. If the application references a data file outside of the application, you can use the Application Directory VI to determine the path to the file.
If you want to call VIs from the labview\vi.lib directory dynamically, create a wrapper VI for the file you want to load by adding the VI to the block diagram of a new VI. Prepare the wrapper VI as a subVI, and ensure the connector pane for the wrapper VI matches the connector pane of the original vi.lib VI.
If you enable the Use LabVIEW 8.x file layout option on the Advanced page of the Application Properties or Shared Library Properties dialog boxes, the Application Builder stores source files inside the application as a flat list. Because of this file structure, LabVIEW moves any files with conflicting filenames to different folders. National Instruments recommends you only enable this option if the application you build relies on the legacy behavior to store files in a flat list inside the application.
You can use the Built App File Layout VI located in the labview\vi.lib\appbuilder directory to determine if your application is using the legacy file layout for storing VIs inside a stand-alone application or shared library.
|Path to source files||Path to files in application||Path to files in application with 8.x layout|