LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the selected items from listbox

Regarding listbox i have two questions
1) I want to get the selected items as per the order in which ihave selected.Presently i'm getting in the ascending order.For example after selcting the 1,2,6 if i select 3 then its giving 1,2,3,6.But i want it in the order 1,2,6,3

2)I want to select items from a single list box to many other listboxes.(ie) my first selection should goto first,second one to the second listbox and like this.How should i write the logic.
please give me a suggestion.
0 Kudos
Message 1 of 4
(2,892 Views)
hi parimala
I have created this Editems sometime back...

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000002B350100&HTHREAD=000079147&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

try it and tell me about it.

regards
ian.f.k
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 2 of 4
(2,892 Views)
The vi you have given is working like this.If i select PARD,HOld onadjust like this it's giving first HOld on adjust,and then PARD.BUt my requirement is it should give in the same order i have selected.
0 Kudos
Message 3 of 4
(2,892 Views)
In order to have the selected items line up in accordance to the selection order, please do it one at a time. (That's the limit for that VI)

If you need more than that (i.e. to regconize which item clicked first and which one comes later), you may have to figure it out ya 🙂

Wish you good luck. Perhaps, someone else has a already made vi.

Cheers!
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 4
(2,892 Views)