Over time, I've found writing INI files (section followed by key/value pairs) to be easier than writing the LV code to read and write the INI files.
So, here is a small tool to automate the generation of code for reading and writing existing INI files.
Download zip, open project, open and run GenINI_Main.vi.
Point the top file control to an existing standard INI file (like the one included in the Test folder, for instance)
Click the "Read File" button, and select the Key Type for each entry from the INI file.
Click the "Generate Code" button to spit out the read and write VI's (saved in the same folder as the INI file).
There are a fair number of limitations and possible enhancements, but I would love to hear any feedback people might have before I complicate this too much.
Thank you kindly,
Joe Z.
GenINI.zip