LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vertical slide graduated color scale

Hi all-
Can the stock vertical slide VI's and tank Vi's be configured to show a graduated color fill. Like the classic blue to yellow to red. Where red is filled?

Thanks!
0 Kudos
Message 1 of 4
(2,965 Views)
Yes.

You will have to use the Property Node to set the color based on percentage fill. I don't know the exact formula for the colors you seek, but attached is a quick example of a changing Fill color based on fill level.

Hope it helps..

JLV
Message 2 of 4
(2,965 Views)
If a smooth transition is needed, here is a VI that can show how to do the tranision colors.
Message 3 of 4
(2,965 Views)
Jeremy,

You're the man.

Nice example... I know I couldn't whip up something in less than 5 min..

I hope Silverpigeon likes it

:0)

JLV
Message 4 of 4
(2,965 Views)