02-09-2012 12:37 PM
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
02-09-2012 12:40 PM - edited 02-09-2012 12:41 PM
List this?
What do you want demonstrated? Clicking an item? Populating it?
02-09-2012 12:41 PM
You need to look into enumerated values and type definitions in the LabVIEW examples.
02-09-2012 01:00 PM
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.
02-09-2012 01:07 PM - edited 02-09-2012 01:09 PM
@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.
02-10-2012 07:48 AM
Quite true 😞 I am a beginner (more or less...)
02-10-2012 07:50 AM
Everybody has to start somewhere.
02-10-2012 07:58 AM
Here is a quick example of what I would suggest that you do.
02-10-2012 09:54 AM
I'm so used to the array... I forget about the RingText property.
I used the array long before I knew about it.