ksmohammed
Member
I am using multi state color animation. My current expression is this.
SEVERITYY is an Analog tag. When i set my tag value to 750 and above i get my color at state 2.
When i set my tag value between 500 and 750 i get my state 3 color.
But when i set the tag value between 250 and 500 i still get state 3 color.
Anyone had this problem before?
if ({#3\SEVERITYY} >= 750 ) then 2
else if ({#3\SEVERITYY} >= 500 AND (750<= {#3\SEVERITYY})) then 3
else if ({#3\SEVERITYY} >= 250 AND (500<= {#3\SEVERITYY})) then 4
else 8
SEVERITYY is an Analog tag. When i set my tag value to 750 and above i get my color at state 2.
When i set my tag value between 500 and 750 i get my state 3 color.
But when i set the tag value between 250 and 500 i still get state 3 color.
Anyone had this problem before?