ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Refactor array to table or listbox

I have two input arrays and two output arrays. Need to refactor the input arrays to listbox or table.

 

How to

  • Display input array in a table or list format where user can enter only numeric values similiar to what array accepts, if the increment and decrement buttons are added to Listbox or table
  • To add a new row 
  • Delete a selected row or specify the index and delete the specified row
  • Output array should display the values corresponding the input rows in listbox.

Thanks.

 

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 3
(2,719 Views)

Here is an example that converts an array into a listbox. I would recommend starting here.

 

https://decibel.ni.com/content/docs/DOC-6603

 

 

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,683 Views)

I posted some sample code here that shows how you can move a numeric (or any other) control over a specific cell of a table indicator, and then hide the control and update the corresponding cell when the user enters a value. It might be a good starting point for what you want to do.

0 Kudos
Message 3 of 3
(2,672 Views)