LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to highlight a row of elements in an 2D array using property node?

Solved!
Go to solution

Hi Application Engineers,

 

I am wondering if there is a way to highlight a row of elements in a 2D array using array's property node?

 

It can be easily done in an excel sheet, I would like to programmatically do it in LabVIEW.

 

edmonton_0-1642380992382.png

 

 A Vi with data is attached.

 

Regards,

Gu

 

 

0 Kudos
Message 1 of 5
(471 Views)
Solution
Accepted by edmonton

No, all elements of an array must have the same properties. You can use tables/listboxes to do it though.

 

Also here are a few workarounds: https://forums.ni.com/t5/LabVIEW/How-to-change-an-array-element-color/td-p/1945893

Message 2 of 5
(456 Views)

Thank you.

 

I will try listbox.

Gu

0 Kudos
Message 3 of 5
(427 Views)
Solution
Accepted by edmonton

Use a TABLE instead of an Array on your font panel 

 

Then use the Selection Color, Size, and Start properties to highlight the cells

 

sel2Capture.PNG

selCapture.PNG

========================
=== Engineer Ambiguously ===
========================
Message 4 of 5
(371 Views)

Yes, table is a better option.

thanks,

Gu

0 Kudos
Message 5 of 5
(345 Views)