01-21-2007 12:51 PM
01-21-2007 01:43 PM
In general, I think INI files are the easiest solution, as they already have an existing key-value interface and you can easily go in and edit\review them if necessary. If you use the OpenG Variant Configuration VIs, you can even save and load arbitrarily complex clusters.
The main problem with these is that they're plain ASCII and some users feel the urge to screw around with them. You can try encrypting the text or adding checksums to deter the users from doing this (or get their management [or common sense]) to do this.
01-22-2007
08:21 AM
- last edited on
10-19-2025
01:39 PM
by
Content Cleaner
My favorite method is one you did not mention - HDF5. Its advantages
Its disadvantages
HDF5 is actually designed as a complete data storage mechanism. Using it on an INI file is often like swatting a fly with a sledge hammer. However, I prefer to have the power when I need it, rather than having to rewrite my code and have backwards compatibility issues.
If you are interested, you can get more information at the HDF5 website. If you have LV8.2 or higher, it may be easier to create your own using the shared library wizard. Others in the community are also working on APIs.
All things considered, however, the INI file is probably the easiest way to go.