Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI +INI-Files +remarks

How Can I avoid that CVI is deleting all remarks of INI-files if I change the content of an existing INI-file with CVI?
Is it possible to write remarks into an INI-file with CVI?
0 Kudos
Message 1 of 3
(5,848 Views)
You should post this to the CVI board.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(5,839 Views)

Unfirtunately CVI does not handle commented-out lines when reading a INI file so it does not rewrites them to the file when saving data.

I can suggest you to create fake data items instead of remarks (=comment). Something like this:

[Section 1]
Item 1 = 123
Item 2 = "String"
Coment 1 = "A row of comments"



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 3 of 3
(5,777 Views)