Hello:
I can’t get this to work and I don’t know what I’m doing wrong. (I get no errors, but does not change colors!)
‘’‘if “W1Flow” > “W1Setpoint” :
W1FPress = event.source
W1FPress.background = system.gui.color(255,0,0)’’’
W1Flow is a Tag value(Float) and W1Setpoint is a Tag value(Float)
W1FPress is a numeric label - I have this script in the property change event of W1FPress
All I trying to do is if the value of W1Flow becomes larger then W1Setpoint change the background color of W1FPress to red.
Thanks