LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve information stored via SavePanelState

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

0 Kudos
Message 1 of 4
(2,778 Views)

Hi did you try to use the RecallPanelState,  here is information about the SavePanelState, did you use the stateIndex?

 

0 Kudos
Message 2 of 4
(2,755 Views)

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.

Message 3 of 4
(2,722 Views)

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

0 Kudos
Message 4 of 4
(2,713 Views)