LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

support for 4095 list items - ring guage

Hello,
  I am trying to use a ring guage to represent the 4096 beam positions that our radar can assume.  I wanted to have the 4096 position granularity so as I step through an address range, the needle will move slightly and follow the actual radar beam.  It appears that after 500 entries, using "InsertListItem", the ring guage will not display labels properly.  If I limit the number of items to 500, up to 62 labels can be displayed but if I raise the number of items to 501, only the very first label and tick mark is displayed.  I would like to have 128 labels and 4096 steps.  Is this possible?
Thanks
0 Kudos
Message 1 of 5
(3,597 Views)
Hi bstroup,

I tried this on my computer (CVI 8.1.1) and the labels seemed to display fine (although very cluttered). What version of CVI are you using and could you post an example that demonstrates this behavior? I attached my project for your reference.

Regards,
0 Kudos
Message 2 of 5
(3,563 Views)
James, try putting    for (i = 0; i < 502; i++) .... Smiley Wink


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?
0 Kudos
Message 3 of 5
(3,547 Views)
Hi bstroup,

This was reported to R&D (# 4BUDGDZL) for further investigation. As an aside, if the control did have the ability to display this many tick marks, what would you expect the  tick marks to look like? A solid black bar?

Regards,
0 Kudos
Message 4 of 5
(3,532 Views)
Hello bstroup,

I've confirmed that there is in fact a limitation of 500 items in slide controls, which is not documented. And it's also true that CVI isn't handling excessive items very well.

I'd be happy to remove the limitation for the next version of CVI, but like James pointed out, when the limitation isn't there, and you add 4000 items you end up with a basically a solid bar (unless the knob is large enough to span several monitors). And it's also quite slow.

Luis
0 Kudos
Message 5 of 5
(3,515 Views)