LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property nodes for array contents (cells) by applying to entire array

Solved!
Go to solution

I have an array of numbers that represent a count of passed/ failed tests that are fed in as Booleans (true is pass, false is fail). I want to be able to change the background color of  each fail cell to red if the value is greater than one and the same thing for pass, but green. I already do this on other projects, but it is only a couple indicators. In order to avoid have 60 property node (one for each cell) I would like to apply something to the array. I see "Create / Property node / array element" but there is no property for background color like there is for the individual contents.

 

I have attached VI, Thanks for looking.

 

C. Musk

0 Kudos
Message 1 of 7
(2,667 Views)
Solution
Accepted by topic author ChrisMusk

I'm on an older version of LabVIEW, so I can't see your VI. In an array, the properties of all the elements have to be the same.  One way to get around this is to use a cluster of the display value and a color box, using the color box as the background.  That way you can make each cell whatever color you like.

Message 2 of 7
(2,650 Views)

I'll try that. My only overburdening the computer resources and slowing things down. I also need to remember to save my VIs as older versions to post. I just went from 2013 to 2019.

 

ALSO. While I am on here, did anyone else lose all of their profile history in the boards when the website changed? I went from having 13 years of history to looking like I joined today...

0 Kudos
Message 3 of 7
(2,643 Views)

@ChrisMusk wrote:

 

ALSO. While I am on here, did anyone else lose all of their profile history in the boards when the website changed? I went from having 13 years of history to looking like I joined today...


No.

 

Are you sure you didn't somehow generate a new username?

0 Kudos
Message 5 of 7
(2,601 Views)

I'll check some history. If so, thank you and you will never see this profile again.

 

🙂

 

0 Kudos
Message 6 of 7
(2,538 Views)

You were correct. It defaulted to my work profile, which I had never used. I am back in business, thanks!!

One should welcome adversity as an opportunity to excel.
0 Kudos
Message 7 of 7
(2,534 Views)