LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple listbox example code

I am looking for sample code that creates a very simple listbox.  I want to create a list of items and then run a VI associated with each item. 

 

Thanks in advance,

 

Nina

0 Kudos
Message 1 of 9
(3,045 Views)

List this?

 

What do you want demonstrated? Clicking an item? Populating it?

0 Kudos
Message 2 of 9
(3,041 Views)

You need to look into enumerated values and type definitions in the LabVIEW examples.

Tim
GHSP
0 Kudos
Message 3 of 9
(3,039 Views)

Hi--

I want to create a list of instrument tests.  When the user clicks on the test name, the VI associated with that test should be invoked.

 

Thanks again for your help--N.

0 Kudos
Message 4 of 9
(3,031 Views)

@Nina S wrote:

Hi--

I want to create a list of instrument tests.  When the user clicks on the test name, the VI associated with that test should be invoked.

 

Thanks again for your help--N.



Heres an updated one.

 

But now youre getting into event structures and arrays. Not so simple for a beginner (not saying you are a beginner).

 

Like aeastet said... your best bet is to look into enums. 

0 Kudos
Message 5 of 9
(3,027 Views)

Quite true 😞  I am a beginner (more or less...)

 

 

 

 

0 Kudos
Message 6 of 9
(3,008 Views)

Everybody has to start somewhere.

0 Kudos
Message 7 of 9
(3,006 Views)

Here is a quick example of what I would suggest that you do.

Tim
GHSP
Download All
0 Kudos
Message 8 of 9
(3,000 Views)

I'm so used to the array... I forget about the RingText property.

I used the array long before I knew about it.

0 Kudos
Message 9 of 9
(2,992 Views)