01-05-2007 06:54 AM
01-05-2007 04:30 PM - edited 01-05-2007 04:30 PM
Hello Monk,
What you are describing sounds basically okay. I will need to do something similar in the near future, so I am interested in how your concept works out.
You shouldn't have to worry about finding the empty string at the end. Setting autoindexing of the arrays into a for loop should take care of it.
Whether you need a cluster or not, I'm not sure. Depending on what you do first, you would have either an array of clusters, or a cluster of arrays. I think an array of clusters makes sense. Each element is a cluster which represents a control. The cluster would have a string value for description and a numeric (??, What if controls are combinations of numbers and strings, then would we use variant?) for the default value.
I think the file I/O configuration file VI's may be useful. It may make a larger .ini file, but would handle a lot of overhead if you only want to write or extract one particular setting at a time.
Message Edited by Ravens Fan on 01-05-2007 05:31 PM