My Configuration File INI Keys are not Working in LabVIEW

Updated Sep 14, 2023

Reported In


  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Issue Details

I have a configuration file (.INI) with sections and keys to read using LabVIEW, but the Read Key VI is not finding the keys even though they're in the configuration file. I get the default value instead of the value in my file.


    1. Make sure the spelling is correct for your section names and keys.
    2. Make sure the file path to the configuration file is correct.
    3. Check that the character format of the configuration file is ANSI or ASCII. You can refer to the Encoding tab in the bottom of the Windows Notepad Save As window.

Additional Information

LabVIEW uses ASCII character formatting, therefore, reading from another character set file will not work as expected in some cases. You can use the Configuration File VIs for Windows configuration settings files only in the ANSI format.

Sometimes LabVIEW will be able to read just one section of the file, and not all the keys, if the file is not formatted correctly.