Hey, I have a multi-state indicator that i want to display valve states based on a tag (int1 - Byte). However i keep getting these errors;
-
If i have the state using an expression binding type with {[Client]TagPath} + “Valve 1/Stage”, I get an error that says 'Error Trying to coerce ‘North/Station 3B/Valve 1/stage’ to a number.
-
If i do the same above wrapping the expression with toint(), i get “Error executing expression binding on Valve.Valve.multi-State Indicator 1.state”. Details shows "Unable to cast value: ‘North/Station 3B/Valve 1/Stage’ to a(n) Integer. Try using a failover parameter in your cast function.
If i look at the property editor though, i see that it has the correct number of the valve’s stage. However i get that error and the multi-state indicator shows as broken.
Any ideas what i’m missing?