LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

writes tag/value pair to a specific location inside .ini file

Well, as far as I can understand, all fields in the file are treated as strings, that's why no error is reported when you read back the lines with comments at the end; values are then extracted from the strings with Scan () or sscanf () or atof () functions. I suppose that lines in DF Sites sections are written outside the IniFile instrument (with notepad or similar program) and that's why no quotes surround them. The instrument maintains this structure since no Ini_Put is made on those lines.
The other sections are written with IniFile instrument and ini_Put functions and so the quotes are present.
 
But this is just an hipotesys that maybe popcorn could corroborate.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 11 of 11
(695 Views)