LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Config Data (compatibility)

Actually if you look in the file in question you will see that any line that doesn't match the section or key pattern will be simply added verbatim to the internal storage as a comment line. The only exception are empty lines which are dropped.

Rolf Kalbermatter
My Blog
0 Kudos
Message 11 of 12
(441 Views)

Good posts everyone I had the same issue when I converted a project from LV 8.6 to 2010.  A bit more details:

 

Writing an INI file using the Config LV2010 produces the following output

 

/Some Comment Here/

[Test]
Number = 3   
/Some Comment 2/

 

Notice (2) things:

1.)The comment is kept before the Section name.

2.) The comment is kept after the Section name and NOT given the dreaded '  = "" '

 

Here is the equivalent output using the LV 8.6 Configuration VIs:

 

[Test]
Number=3
/Some Comment 2/=""

I had numerous issues with the configuration VIs adding ' =""' to all items that were not keys in the file, this  was especially troublesome in TestStand when I had to use Tab Deliminated items to separate for the property loader.

 

Thanks,


PH

 

 

 

0 Kudos
Message 12 of 12
(412 Views)