Using a Configuration File with a Stand-Alone Application
You can use a LabVIEW configuration file or another, custom, configuration file with a LabVIEW stand-alone application.
LabVIEW Configuration Files
If you select to use the LabVIEW configuration file with a stand-alone application, LabVIEW creates a configuration file that includes a subset of the configuration tokens that appear in the LabVIEW configuration file in the labview directory. You can configure additional build specification settings using the Application Properties dialog box. For example, if you select Enable debugging from the Advanced page of the Application Properties dialog box, LabVIEW adds debugging tokens to the configuration file of the stand-alone application.
Complete the following steps to use the LabVIEW configuration file in a stand-alone application.
In the Project Explorer window, right-click Build Specifications and select New»Application from the shortcut menu. If you previously created a build specification for the application, double-click the build in the Project Explorer window to edit the build.
On the Advanced page of the Application Properties dialog box, ensure that the Use custom configuration file checkbox is not enabled.
(Optional) Make other selections on the Advanced page. Some of these changes add configuration tokens to the configuration file of the stand-alone application.
Click the OK button to apply the changes and close the dialog box.
Custom Configuration Files
If you use a custom configuration file with a stand-alone application, LabVIEW uses the configuration file you specify as a template. LabVIEW adds additional tokens to the configuration file you specify depending on the options you select in the Application Properties dialog box. For example, if you select Enable debugging from the Advanced page of the Application Properties dialog box, LabVIEW adds debugging tokens to the custom configuration file you included.
Complete the following steps to use a custom configuration file in a stand-alone application.
In the Project Explorer window, right-click Build Specifications and select New»Application from the shortcut menu. If you previously created a build specification for the application, double-click the build in the Project Explorer window to edit the build.
On the Advanced page of the Application Properties dialog box, place a checkmark in the Use custom configuration file checkbox. The Select Project File dialog box appears.
Select the configuration file you want to include from the Files in Project list.
If the file you want to include is not in the project, complete the following steps.
Click the Add button. A file dialog box appears.
Browse to the file you want to include and click the Add button. The dialog boxes close and the file you selected appears in the Configuration file in project text box on the Advanced page of the Application Properties dialog box.
(Optional) Make other selections on the Advanced page. Some of these changes add configuration tokens to the custom configuration file.
Click the OK button to apply the changes and close the dialog box.