LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting multiple items in a Combo Box using LabView 8

Hi, is it possible to select multiple items in a Combo box? In java or other text-based programming languages, there are drop down check list that can be used to select multiple.
I can't use check boxes because I am deploying it to a PDA and there are 50 items, I have almost got 4 Tabs for other functions and I am trying to place all 50 items in one tab. There appear too some using check list, so a drop down multiple check or select Combo will be ideal.
:mansurprised:
 
0 Kudos
Message 1 of 5
(5,516 Views)
Hi TDSquare,

I don't think it's possible to select multiple items from a combo box but I will have a play around with it to make sure.

Have you considered using a list box?


Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 2 of 5
(5,492 Views)
Ah, I have not tried a list box yet, it might be the answer.
0 Kudos
Message 3 of 5
(5,486 Views)
That should do the trick for you. You can choose the selection mode by right clicking on the list box and choosing Selection Mode from the short cut menu.

The data type out is numeric but you can extract the string information using a property node.

Attached is some code (in lv 😎 that shows how to use it.

Let me know if you need any more help


Sarah

Applications Engineer | National Instruments | UK & Ireland
Message 4 of 5
(5,484 Views)

Hi

That is fantastic, I right clicked on the ListBoxes and checked the Multi-line Input function and it does what it saids on the tin.

Thanks

 

0 Kudos
Message 5 of 5
(5,481 Views)