04-02-2010 09:57 AM
Hello all
I have a program with lots of controls (aprox. 35) and their value I need to save.
I looked at the write configuration file example but it seams to be a lot of work to save 35 controls (more may be added later)..
Also I looked at the following page:
http://decibel.ni.com/content/message/4098#4098
The reason why I cant use this VI is I would like to get the control values in plain text so I can use the values in other programs or manually.
Tried to mess around a bit with some array index and unbundle by name in order to get the names and values seperatly and then converting them
to a string and saving it, but I can't get the value from the variant converted to a string....
I know there is quite a lot posts with the config topic, but I couldn't find one describing a easy way to save all controls without doing it individually.
Hope you guys understand my problem and are able to help, just attached the VI from the link why my attempt to fix this..
Thanks
Regards
Tommy
Solved! Go to Solution.
04-02-2010 10:29 AM
There is an OpenG vi that can save and load all Ctrl values of the F in the Variant Config palette.
Felix
04-02-2010 11:00 AM
Hello Felix
Thanks for your answer, this works like i wanted it to!
Have a nice day
Regards
Tommy
08-24-2010 09:25 AM
@f. Schubert wrote:
There is an OpenG vi that can save and load all Ctrl values of the F in the Variant Config palette.
Felix
Felix, I would really like to take a look at that VI you are referring to.
Do you know the name of it so I can search for it?
Or can you post a link to it?
Your link above brings me to the OpenG homepage.
Thanks a lot.
08-24-2010 10:42 AM
Get the VIPM and Install the OpenG palettes:
http://forums.jkisoft.com/index.php?showtopic=233
The one I mentioned is called 'OpenG Variant Configuration File VIs', the name in the VIPM will be similar.
Felix
08-24-2010 12:16 PM
@f. Schubert wrote:
Get the VIPM and Install the OpenG palettes:
http://forums.jkisoft.com/index.php?showtopic=233
The one I mentioned is called 'OpenG Variant Configuration File VIs', the name in the VIPM will be similar.
Felix
I already have VIPM, so I will look for the Variant Configuration library. Thanks a lot.
08-31-2010 02:12 PM
Hi
I am using Lab View 8.6 . Please port that code in Lab View 8.6 and post again.
I badly need that code .
Please help me.
Thanks
Anirban
08-31-2010 02:55 PM
To which code are you refering? The original post's incomplete code, or the tools in the OpenG toolbox. The later can be download, plus a lot of other handy code from Felix's link to the OpenG page. The original post's was what didn't work, not his finished result.
08-31-2010 05:19 PM
Sorry for the confusion . Actually I am referring to solution of the original post i.e Programmatically Save Control Values 2009.vi 23 KB .
Thanks
Anirban
08-31-2010 05:34 PM
That is not the solution. The marked solution was to use the OpenG function. Don't you see the link in the green bar - Go to Solution?
If you still want the code that does not work, download it and post it to the downconvert thread, just like it says at the top of the LabVIEW page