07-02-2018 04:09 PM
Is there a way to retrieve or at least read the information that is in the file that is created by using 'SavePanelState'?
I have a multitude of panels that the user can select to save and before calling RecallPanelState I would like to retrieve some of the information, like how panels where saved, the name of the saved panels and etc.
Thanks
07-03-2018 07:31 PM
Hi did you try to use the RecallPanelState, here is information about the SavePanelState, did you use the stateIndex?
07-09-2018 07:26 AM
SavePanelState saves panel information to a binary file, and the help documents don't say anything about the file's format. So RecallPanelState is probably the only way to retrieve any panel information.
If you need to test the panel's contents before "officially" restoring it, you can make a copy of your panel using DuplicatePanel and run RecallPanelState on the copy.
07-10-2018 10:29 AM
Thanks for the reply.
I was actually wanting to see if there was a way to tell how many panels and the names thereof that where stored in the binary. But I'm in agreement with you. There probable is not a way, at least from the exposed API calls in LabWindow's libraries.
Cheers