LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?

Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?
0 Kudos
Message 1 of 10
(3,483 Views)
List and table controls -> listbox..is that what you are thinking of?

The listbox presents the user with a list of options, and you can set it to only accept one selection at a time...Adding new data to the list can not be done directly by the user but if you make e.g. a text control and a button you can programatically insert new objects described in the text box when the button is pressed...(see example).

If you need more than one column you have the multicolumn listbox. If you want the users to write new entries directly yu can use a table and read selected cells using it's selection start property to read what cell has been selected.
0 Kudos
Message 2 of 10
(3,483 Views)
would someone like to convert to 6.0 please?

Thx
0 Kudos
Message 3 of 10
(3,483 Views)
thanks for that - nice example
0 Kudos
Message 5 of 10
(3,483 Views)
Nice example, but...how can i select more than 1 user in the list (using mouse or mouse+ctrl) ???
0 Kudos
Message 6 of 10
(3,483 Views)
Just set the appropriate selection mode - 1 or more elements - for your listbox in listbox properties. After that you'll be able to select more than one entry.
0 Kudos
Message 7 of 10
(3,483 Views)
As the help for selection mode states, you cannot set it while the VI is running. If you always want 1 or More Items as the mode, just right click the control and select it from the Selection Mode menu.
0 Kudos
Message 9 of 10
(3,483 Views)
ok, right, but just say that the selection must be done with: CRTL+MAJ+RightClick...

Thanx

Mc
0 Kudos
Message 10 of 10
(3,483 Views)