LabVIEW Creates Additional Folders After Building an Executable

Updated Jan 5, 2018

Reported In

Software

  • LabVIEW Application Builder Module
  • LabVIEW Professional

Issue Details

I am building an executable from a LabVIEW project that was migrated from a previous version of LabVIEW. The executable is built and executes properly, but I also get some additional folders (NI_HTML, NI_report and NI_Standard Report) with VIs in them along with the .exe file. If I delete these folders, the executable stops working.

How can I avoid the creation of these folders while building my application?

Solution

If you are working with a version of LabVIEW prior to LabVIEW 2009, the issue might be a result of the behavior described in this other document. 

If you are working with LabVIEW 2009 and up:
  1. Go to the properties window for your build
    1. Go to your LabVIEW project
    2. Expand the contents of Build Specifications
    3. Right click the entry for the application that you are building and select Properties.
  2. In the <Your Application> Properties Window, go to the Advanced category and uncheck the Use LabVIEW 8.x file layout checkbox
  1. Save your configuration and rebuild your application

Additional Information

In LabVIEW 8.6 and earlier, the Application Builder saves VIs and library files in a flat list within the application and saves VIs with conflicting filenames outside the application in separate directories. The Application Builder no longer moves VIs with conflicting filenames outside of stand-alone applications, shared libraries, or Web services for build specifications you create in LabVIEW 2009.

By default, projects created in LabVIEW 8.6 and earlier that are opened with LabVIEW 2009 and up, will have this option enabled, which results on the creation of additional files when the project is built into an executable. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later.

See LabVIEW 2009 Help: LabVIEW 2009 Features and Changes for more information.

WAS THIS ARTICLE HELPFUL?

Not Helpful