From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically writing listbox

Hi seniors,

 

I am developing an application which allows the user to configure various parameters of DAQmx task and writes those parameters to the multicolumn listbox.

 

The attached vi allows the user to configure only one channel and adds to the list, suppose the user try to add one more task in the list , then it replaces the previous task.

 

How to develope the code in such a way that when the user configures second channel and clicks "add to the List" , then it should be written in the second row of the listbox instead of replacing the first row.  

 

Kindly guide me seniors.

 

 

0 Kudos
Message 1 of 2
(2,469 Views)
You're half-way there. Eliminate the for-loop, as that does nothing. Get the value of the table (you already have the control there, and use Build Array to add a row.
Message 2 of 2
(2,461 Views)