Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Colour on an Indicator Using Property Nodes

As you move the slider the gauge will go from green to red the higher the value gets. The pointer complements this by doing the opposite so it can be seen. The pointer goes from red to green the higher the value gets, except when the gauge is yellow the pointer is blue so it is still visible.

Background:

As the value increases the red increases and the green decreases.

Needle:

As the value increases the red decreases and the green increases. There is some math to control the blue as well. This is because when the value is in the middle both the background and the needle would be yellow, making it effectively invisible.

Colour_Gauge_FrontPanel.jpg

Colour_Gauge_BlockDiagram.jpg

Rico P
Smiley Very Happy
Contributors