LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ring control's problem (CVI6.0)

I am using CVI6.0 on windows XP. Strange thing that the arrow on the drop down ring control is disappearing.

I see other users having similar problems. Here is a ref. to an old msg.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BF2E0000&UCATEGORY_0=_318_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=Ring+control%27s+problem+%28CVI6.0%29&USEARCHCONTEXT_QUESTION_S=0

Any solutions. It is weird. I removed the control, added a new control. It had arrow. Moment, I ran my program, the arrow disappeared. Now arrow is gone, even when I open my UIR file in the editor.
0 Kudos
Message 1 of 5
(3,684 Views)
The only solution we found was the one I added at the end of the previous discussion you referred to.

--
Martin
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 5
(3,684 Views)
Try downloading the CVI 7.0 evaluation version to see if the same problem exist there. I believe this problem has been fixed in 7.0

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 5
(3,684 Views)
Hi,

You may also want to generate the ring control programatically, this should eliminate the shinking arrow problem. Basically something like this:

PANEL_RING = NewCtrl (hPanel, CTRL_RECESSED_MENU_RING, "", 72, 87);
SetCtrlAttribute (hPanel, PANEL_RING, ATTR_CONSTANT_NAME, "RING");
SetCtrlAttribute (hPanel, PANEL_RING, ATTR_SHORTCUT_KEY, 0);
SetCtrlAttribute (hPanel, PANEL_RING, ATTR_DATA_TYPE, VAL_INTEGER);
InsertListItem (hPanel, PANEL_RING, 0, "one", 1);
InsertListItem (hPanel, PANEL_RING, 1, "two", 2);
InsertListItem (hPanel, PANEL_RING, 2, "three", 3);
InsertListItem (hPanel, PANEL_RING, 3, "four", 4);


This way the arrow should be there everytime you run your app. This is fixed in CVI 7.0, so as
Bilal says give the eval version a try.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 4 of 5
(3,684 Views)
I don't see the problem in CVI7.0. But I have to use CVI6.0 for this
project.

Thanks anyway.

bilalD wrote:
> Try downloading the CVI 7.0 evaluation
> href="http://sine.ni.com/apps/we/nioc.vp?pc=res&cid=11104〈=US&p_0=eval">version

> to see if the same problem exist there. I believe this problem has
> been fixed in 7.0
>
> Bilal Durrani
> NI
0 Kudos
Message 5 of 5
(3,684 Views)