LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu Ring Items

Hi!

Using LV 4.01 under win98.
I'm offering a very long list of menu items in a drop down list
("Menu Ring").
Just how long can this list get? I don't seem to get all the items
I hand over to the "Strings[]" attribute ...
If there's a limit: Is there a work-around?

Thank You!

Christoph
0 Kudos
Message 1 of 2
(2,597 Views)
Christoph Klein wrote:

> Hi!
>
> Using LV 4.01 under win98.
> I'm offering a very long list of menu items in a drop down list
> ("Menu Ring").
> Just how long can this list get? I don't seem to get all the items
> I hand over to the "Strings[]" attribute ...
> If there's a limit: Is there a work-around?
>
> Thank You!
>
> Christoph

Hmm,
Well a Menu Ring is a U16 which means it has 65536 possibilties.
No serious limit there. The strings[] is an array of strings so
the size of the strings will determine the amount of space required.
I would say that the limiting factor here (unless you need more than 65k
choices)
would be memory.
A quick test :
create the strings "test0" to "test99"
read the "strings[]" and flatten to string, get string length.
this equals 994 in my t
est. The actual usage may be much higher.

I might suggest you try another method, especially if the number of items
exceeds say 20 or so.

Kevin Kent
0 Kudos
Message 2 of 2
(2,597 Views)