02-21-2006 07:03 PM
02-22-2006 02:00 AM
02-22-2006 02:04 AM
Are you using 8? I know that some properties (and methods?) are supported there and that variants are supported as well.
Is it possible to use the Set Control Value (Variant) method? If it is, then you might be able to do the same thing done in the OpenG save panel to INI file VI.
If not (and this is probably the more likely case), why not use local variables? You can either flatten all your control data to a single string (look in the advanced palette) and later unflatten it and put the data into the locals or you can work with a more flexible structure by using something like an INI file.
02-22-2006 06:21 AM
10-16-2006 12:31 AM
10-16-2006 12:56 PM
Attached is a highly simplified example. It is only supposed to show the concept and I didn't test it. You will need to expand it to support more variables. To be more clever about it, you can use a typedef cluster and do this in subVIs.
It's possible that 8.2 supports the Label.Text and Value property nodes and that then you can get a more generalized solution.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
10-16-2006 08:18 PM
Thanks a lot for the example. I have used the idea of config file before but since you had mentioned local variable rather than a config file, I assumed that it might be something else.
~Zulfi~