You can copy the options you set in the LabVIEW work environment to the stand-alone application you build. By default, the application automatically uses the options that you set in the LabVIEW work environment.
From the Advanced page of the Application Properties dialog box, remove the checkmark from the Use the default LabVIEW Configuration file checkbox. Click the Browse Project button next to the Configuration file in project text box to select the configuration file to use. If the configuration file is not in the project, you can navigate to the file and add it to the project from the Select Project File dialog box. After you build the application, open the configuration file to verify that all settings are correct.
The configuration file is called myapp.ini, where myapp is the name of the application.
The configuration file is named myapp Preferences, where myapp is the name of the application and is in the same directory as myapp.
If the work environment settings did not copy correctly to the configuration file, complete the following steps to manually add the LabVIEW work environment options you set to the stand-alone application you built.
If the settings did not copy correctly to the configuration file, you might need to manually add the LabVIEW work environment options you set to the stand-alone application you built.
The preferences file for an application can reside either in the home directory or in a location you define. The file in the home directory always is named .labviewrc and contains the preferences you set for LabVIEW, as well as any application built with LabVIEW.
The preference entries in the .labviewrc file for this application are in the following format:
myapp.preference_name: value
where myapp is the name of the application.
To use a preferences file other than .labviewrc, you can launch the application with the command-line option -pref <path to preferences file>.
LabVIEW also searches for a myapp.ini file in the same directory as the stand-alone application.