This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

LabVIEW Read Key VI Does Not Find Keys in Configuration File

Updated Jan 9, 2026

Reported In

Software

  • LabVIEW

Issue Details

  • I need to read .INI file with the LabVIEW Read Key VI. However, some keys that exist in the file are not being detected. What causes this?
  • I have a configuration file (.INI) with sections and keys, 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.

Solution

  This issue can occur due to unsuitable character format, spelling mistakes or incorrect file path. Follow the steps below to resolve this issue:

 

  1.  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.
 
  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.

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.