LabWindows/CVI

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 3
3.245Visualizzazioni
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
Messaggio 2 di 3
3.245Visualizzazioni
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
Messaggio 3 di 3
3.245Visualizzazioni