<< Click to Display Table of Contents >> Common multiple color change |
![]() ![]() ![]() |
If we want to multiple change color depending on tag's value we have to choose Tag.PV in the range type in Fill color property. Let's create like in previous example tag - State:
In this example we use Valve ISA and change its Fill color depending on the tag's value:
State |
Color |
0 |
RED |
1 |
GREEN |
2 |
BLUE |
3 |
YELLOW |
To do this setup Fill color property:
And setup ranges like this:
Click OK to confirm your changes and Run simulation to check your settings:
You can download this project here.