LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Different tank colors in a tank-array

Hallo,

 

I have an array of tank and I want that the tanks change their color depending on the fill level. I know how to do this just for one tank (with a property node-> fill color), but for an array, as soon as I change the color of one tank the rest of the tanks also change their color.


Has anyone an idea?

 

Thanks!

0 Kudos
Message 1 of 10
(4,666 Views)

Hi Jo,

 

as has been said before: in an array all elements share the same properties (like fill color). You simply cannot have different colors for different array elements!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 10
(4,659 Views)

If it essential that the tanks have different properties, you can use a cluster, but this may have implications for programmatic scalability etc. and may not suit your application.

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
Message 3 of 10
(4,648 Views)

Thanks!

 

Well, I think I'll have to create a cluster (what I didn't wanted).

 

Bye.

0 Kudos
Message 4 of 10
(4,636 Views)
Message 5 of 10
(4,625 Views)

Hi pcardinale,

 

thank you for your post, but could you upload the file again so that I can open it with my "old" Labview 8.5.1.

 

Thanks again!

0 Kudos
Message 6 of 10
(4,601 Views)

Nice use of the Fill Options...I learned something today!

0 Kudos
Message 7 of 10
(4,596 Views)

Here it is.

0 Kudos
Message 8 of 10
(4,561 Views)

Great solution!

0 Kudos
Message 9 of 10
(4,502 Views)

 Here's another way to do it.

0 Kudos
Message 10 of 10
(4,483 Views)