LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multicolumn listbox pull-down menu

Hello,

please i need to insert data in each element of a multicolumn listbox. each data inserted come from a pull-down menu.

My question: is there a way to transform each element of a muticolumn listbox to a pull-down menu ?

if not, how could i assign the data selected from a menu to an element in the multicolumn listbox ?

Thx,
Samer,
0 Kudos
Message 1 of 8
(6,466 Views)
You have to program this yourself.
See, for example: http://forums.ni.com/ni/board/message?board.id=170&message.id=277721

0 Kudos
Message 2 of 8
(6,461 Views)

I didit in my last project, look here:

http://forums.lavag.org/Table-with-Drop-Down-Items-t11249.html

 

Regards, Eugen

0 Kudos
Message 3 of 8
(6,457 Views)
Hi,

I created the VI but when i click on the multicolumn list (column N°2) the ComboBox is always invisible, i tried but it is not working...

Could u help me ?
Samer,
0 Kudos
Message 4 of 8
(6,411 Views)
You have 2 problems:
  • The combobox's Z-order is that it's in the back. You need to move it to the front. Select the table, and select the "Move To Back" command from the Z-order button in the toolbar.
  • The "Tableau" array is initially empty. When you perform a Replace Array Subset you're trying to replace an element in an empty array. Result: empty array.
Other issues:
  • You need an event case for the "Stop" button. The way it's coded now, clicking the "Stop" button will not stop the VI until another event occurs, which in your case is that someone clicks in the second column.,
  • You have a few extra unnecessary property nodes. See attached picture.
  • You can use the error cluster to enforce data dependency, and therefore execution order, eliminating the need for the sequence structure, which is extraneous. See second attached picture.
  • "<Empty>" is not one of the valid strings in the combobox, so this test will never work.
Download All
0 Kudos
Message 5 of 8
(6,393 Views)
Thx for your help...it is working now Smiley Wink
Samer,
0 Kudos
Message 6 of 8
(6,378 Views)
Hi,

I tried to insert data in a multicolumn listbox but i didn't succeed...i tried 2 methods but in vain...

Could u tell me where is the problem in this simple VI ?

 
Samer,
Samer,
0 Kudos
Message 7 of 8
(6,364 Views)
Hi samer,

to insert data you have to write that data to your table...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 8
(6,349 Views)