11-22-2005 07:54 AM
11-23-2005 11:41 AM
Derek,
There is no simple VI to do this. Strings and paths you have to strip out the comment manually. For floats, ints, and Booleans it does get striped out automatically. I believe that the Read VIs should automatically strip out any comments to the right of any ";". The semicolon is the Windows standard character for commenting an INI file. I have attached some code and an INI file that you can look at and change if needed to fit your application. Bet of all, it is free to use as you want. Download both to your local disk and put the files in the same directory.
Hope this helps,
Matt
11-23-2005 12:14 PM
Aother way of storing 'ini' data with comments and more is the conversion to xml ![]()
Think of a cluster containing your comments and data, changing values is not that easy, however to just have a readable look at settings.. and storing structures (cluster) is easy
Backdraft: by manual changes you can corrupt the structure and can't read it back, ini is more robust..
11-23-2005 03:32 PM