09-27-2012 03:41 PM
Hello,
I am using CVI 2010.
I want to save the state of my program.
So far with the SavePanelState and RecallPanelState, i was able to save the state of control elements on the GUI (buttons, switches, sliders...) but the attribute of them weren't restored after RecallPanelState.
And i have some variables, which are running in the back ground of the program, and their values weren't saved with the SavePanelState as well.
Is there a easy way, to save everything (state of GUI, Attribute of GUI element and background-variables) like in LabView ?
09-28-2012 04:01 AM
help file zu SavePanelState:
Saves the current values of all controls on a panel.
This function also saves the following control attributes:
Es werden also bis auf die erwähnten Ausnahmen nur Werte abgespeichert, nicht Attribute.
Um auch bestimmte Attribute abzuspeichern bzw. wiedereinzulesen, kann man die Befehle aus der inifile Bibliothek verwenden, das muss man dann aber selber programmieren, Attribut für Attribut...
Marco Brauner NIG
09-28-2012 04:09 AM
ts ts, Marco, don't expect German language skills from everyone
Here is the English equivalent:
Chocobombo, you will need to save / restore most attributes yourself; for this reason, you could use the commands from the inifile library.
(By the way, this topic has been discussed several times in this forum)