LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to select an array row by clicking on the indicator of the row?

I would like to give the user the option to select and modify/delete certain rows in an array -I'm displaying it in an indicator-

It's a 2D array. Is this possible? Also I was wondering if it is possible to highlight certain rows programmatically.

 

 

0 Kudos
Message 1 of 5
(3,069 Views)

You cannot modify data in an indicator using the front panel while the VI is running, regardless of the datatype. You need a control.

 

I would suggest looking into using a table or a multicolumn listbox. Those provide capabilities for highlighting cells.

Message 2 of 5
(3,060 Views)

Hi,

 

You can use the array pallete to accomplish the task.

 

i have the attached avi for reference.

 

as for the highlight  above sugestion will be good

 

 

Regards,

 

Shrek

Message Edited by shrekt on 02-11-2010 09:04 PM
0 Kudos
Message 3 of 5
(3,055 Views)
I read the request as wanting to be able to change the values "in-place", without the use of additional controls to select the row/column, etc, but of course, one can do it that way.
0 Kudos
Message 4 of 5
(3,048 Views)

Hi _Faust,

 

As smercurio already told you, you can use a Multi Column Listbox or a Table to do the "trick".

 

As an example, I've just created a VI which is based on a Table, where you can remove the selected row by clicking on a row and pressing the "Delete Row" button.

 

I hope this will help you to create the program you need.

 

Best regards,

Peter S

Message Edited by Peter S on 02-12-2010 10:15 AM
0 Kudos
Message 5 of 5
(3,019 Views)