LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combo Box: Get the number of items

Solved!
Go to solution
Highlighted

Hi guys,

 

I need your help to go further.

 

In the my vi, I need to know the number of items of a combo box. I've tried to search this information in a Node Property, but I couldn't find about that.

 

Thanks for your help,

 

Flavio

0 Kudos
Message 1 of 4
(125 Views)
Solution
Accepted by topic author FlavioAT
05-20-2019 05:39 AM

You can use String[] property to get all the element available in combo box and then you can use array size to get the size.

StringCombo.PNG

0 Kudos
Message 2 of 4
(117 Views)

ns.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 4
(115 Views)

Thanks ufaruque123 and paul_cardinale.

 

That's exactly what I was looking for.

 

Bye,

 

Flavio

0 Kudos
Message 4 of 4
(104 Views)