Edit Default Data Directory for a LabVIEW Executable

Updated Oct 2, 2023

Reported In

Software

  • LabVIEW Application Builder Module
  • LabVIEW

Issue Details

I have edited the default data directory in LabVIEW Tools >> Options >> Paths and I can see the change is there for my LabVIEW development environment, but when I build an executable the data directory goes back to the default. How can I change this setting for my executable?

Solution

The paths settings you edit in the Options menu for LabVIEW are written in the LabVIEW.ini file or equivalent, this file configuration only pertains to the LabVIEW development environment.

If you want to edit this setting for your executable, you'll need to edit the associated token in the corresponding *.ini file that gets created along your executable build.
 
Build Exe.png
Custom Data Directory.png