LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically save Ring Control's value and label in Windows/CVi

Hi
I am adding Value and label in ring control by program. But when I close my application and start again at that time I lose that value and label. Is there anyway I can save dynamically also
Thanks"
0 Kudos
Message 1 of 3
(2,714 Views)
The common way to do that is to save your data in a ini file (there is a ini Instrument library for this) and when your program start, read this ini file and populate the ring via the the function InsertListItem().

Best regards,
Farid.
0 Kudos
Message 2 of 3
(2,714 Views)
You can call the function SavePanelState before exiting your application, and then call RecallPanelState when you start it back up. That should do the trick.

Luis Gomes
NI
0 Kudos
Message 3 of 3
(2,714 Views)