04-01-2012 04:02 PM
Hello:
I want to save some configuration values that I want to load when the program executes again after close it. My program have a lot of clusters.
Which is better: use a Key Config VI or XML File? I test both and...
If I use the "Key Config VI", I can use the same file to save all the values of the different cluster but the program is bigger and more complicated because it doesn't accept clusters directly and I must save values one by one.
If I use the "XML File", I must create a lot of files (one for each cluster) but it's easier to save values because it accepts clusters.
Therefore, which is better or which do you choose? Any other suggestions?
Solved! Go to Solution.
04-01-2012 04:05 PM
Why don't you combine the strings that each Flatten to XML function gives you into a large string that you write to one file?
04-01-2012 04:09 PM
The OpenG config API is pretty cool
04-01-2012 04:20 PM
@yenknip wrote:
The OpenG config API is pretty cool
I agree with yenknip. There is an Open G vi to save (and retrieve) a cluster to a config file using variant. Make your clusters Type def, If you need to modify them it will save you a lot of work.
Ben64
04-02-2012 07:59 AM
04-03-2012 01:57 PM
Thank you for all of your answers.
I've used The OpenG config API. It's very useful!