How Do I Include The File Structure In A Build

Updated May 3, 2018

Reported In

Software

  • LabVIEW

Issue Details

How do I include the Project Explorer folder/ sub-folder structure once I build the Application (EXE)?

Solution

During the build of an Application (.EXE) the structure cannot be replicated, this is because when building a Application (.EXE) the files needed to run the Application are all placed into the same folder, from the example above during the compiling process the VIs (Demo 1.vi & Demo 2.vi) and the Text file (Documented Code.txt) are all placed as one single file. 

For those looking at creating additional sub-folders, for files during the build of an application please see here.

Additional Information

When building an Application (.EXE) from the host computer the Application will automatically link the LabVIEW Libraries required for the Application. If the Application is built for another computer to use, it is advised you create an Installer which includes the necessary files needed to run the Application. 

Please Note

When using the Always Included option in the Source Files when Building an Application, Selecting the main folder will NOT allow you to use the files within the folder as a Startup VI. This is because the files will ultimately be duplicated. To avoid this place the Startup VIs in the main folder and include the remaining folders, please see below:

 

WAS THIS ARTICLE HELPFUL?

Not Helpful