LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing RingDial label at runtime

Dear Madam/Sir,

 I would like to change the labels of a ringdial control at runtime. 

I tried to use the command

ReplaceListItem (panel, TOF_RINGDIAL_MUX1, 0, "2Dx", 0);

to replace the old label at the item 0 with the new one ("2Dx"). The command:

GetLabelFromIndex (panel, TOF_RINGDIAL_MUX1, 0, zp);

shows that the label has successfully changed (zp="2Dx") but the appearance of the command when the .uir is loaded at runtime is as before the label change. Is there some command required to update the appearance?

Thanks

Regards

Luca

0 Kudos
Message 1 of 2
(2,094 Views)

Every change done at run time is valid only during program lifetime and is not saved in the .UIR file.

This means that you must repeat the customization every time you load the panel with LoadPanel.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(2,081 Views)