Editing the INI File Created with my LabVIEW Executable

Updated Oct 29, 2020

Environment

Software

  • LabVIEW

I've created a LabVIEW executable and its generated an INI file, how do I edit this file?

The INI file is automatically generated when the application is built, its content will depend on the properties set when the build is configured. The simplest way to edit this INI file is simply to change the build properties within LabVIEW and rebuild the project.

To manually edit the INI file, open it in a text editor (such as notepad) and change the values to suit your needs.

Additional Information

An INI file can also be edited programmatically through LabVIEW using the "Configuration File VIs" in the "File IO" pallet. To automatically make edits to an applications' INI file post build, you can create a VI to perform the edits and set it to run using the "Pre/Post Build Actions" in your build properties.
 


A custom INI file may also be used instead of the one generated by LabVIEW. To use a custom INI file, add it to your project and then set it using the "Use custom configuration file" option on the "Advanced" tab in your build properties.