Copying LabVIEW Work Environment Options

You can copy the options you set in the LabVIEW work environment to the stand-alone application you build.

If you use a LabVIEW configuration file with the stand-alone application, you do not need to manually copy LabVIEW work environment options. The Application Builder automatically copies the options that you set in the LabVIEW work environment. If you use a custom configuration file with the stand-alone application and the file does not contain the LabVIEW work environment options you want, you can manually copy the entries that specify the LabVIEW work environment options from the LabVIEW configuration file.

Complete the following steps to manually copy LabVIEW work environment options.

  1. Open the LabVIEW configuration file. Refer to the following table for the name and location of the LabVIEW configuration file. In the following table, x is the LabVIEW version currently in use.
    Platform LabVIEW Configuration File
    Windows LabVIEW x\labview.ini
    macOS ~/Library/Preferences/LabVIEW.app x 64-bit Preferences
    Linux /home/<username>/natinst/.config/LabVIEW-x/labview.conf
  2. In the LabVIEW configuration file, copy the entries that specify the LabVIEW work environment options you want. The entries that specify the LabVIEW work environment options are in the following format: preference_name = value.
  3. Paste the entries to the stand-alone application configuration file. Refer to the following table for the name of the stand-alone application configuration file. In the following table, myapp is the name of the stand-alone application and x is the LabVIEW version currently in use.
    Platform Stand-Alone Application Configuration File
    Windows myapp.ini
    macOS myapp.app x Preferences
    Linux myapp.conf
  4. Save the stand-alone application configuration file.

Related Information

How LabVIEW Stores Options