LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use listbox to work with strings

Hello guys,


I am struggling looking for a way to work with strings using a listbox. I think the problem is quite simple, but I don´t know how to implement it using labview.

 

I have an array of N elements (N is different everytime I run the program), and each element is a string (actually each element is a command). I would like load this array, and then if I select an element (by double-clicking or something similar), I would like to get a translation of the command.

 

In fact, I only need a way of loading the array, selecting an element, and then put it into a variable that would be translated with a SubVI that I have already implemented.

 

Do you have any clue of doing this? I have tried with the multicolumn listbox, but I cannot connect any array of strings to it, and I am starting to have a lack of new ideas...

 

Many thanks for your help

 

 

0 Kudos
Message 1 of 3
(2,670 Views)

Maybe this helps you:

 

ComboBox.png

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,669 Views)

Many thanks, I am going to try it.

0 Kudos
Message 3 of 3
(2,629 Views)