LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1D array to combo box (drop down menu)

Hi everyone,

 

I have managed to get the files name in my folder and would like to show them all in a drop-down menu.

 

I am thinking of using combo box, but I seem to not be able to separate the files from the 1D array. I would like to have all the files neatly placed in combo box, not everything in one line/option (like the way it is right now).

 

Please see the below print screens.

 

Many thanks in advance!

 

Cheers,

Stephen

 

 

blockdiagram.PNGuserinterface.PNG

 

 

 

0 Kudos
Message 1 of 6
(4,422 Views)

There is no Screen shot in the post

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 6
(4,420 Views)

Sorry for whatever happened there. I hope you can see the screenshots now!

 

Stephen

0 Kudos
Message 3 of 6
(4,410 Views)

To get the values from the array to the Combo box selection item use the combo box property "Strings". Wire the array to this property node, then you will be able to see what you are expecting.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 6
(4,401 Views)

I am sorry but I'm kind of new to this combo box feature. Where can you find the Strings property?

0 Kudos
Message 5 of 6
(4,395 Views)

Right click the Combo box Create>Property Node>Strings. Wire the array to this node and execute the code.

 

Please go through the LabVIEW basic materials for getting used to the LabVIEW environment and components.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 6
(4,387 Views)