Issue
The text on the prog object does change but the graphic does not show the same change.
Environment
Sigma all versions
BAS all versions
Cause
Controller only update server graphics when the object changes state or exceeds the set tolerance. If prog objects are written with the same condition but different texts in the return statements then the correct text may not be displayed until the whole graphic is updated. For example
10 If P0|1 on then return true "Object 1 on"
20 if P0|2 on then return true "Object 2 on"
30 if p0|3 on then return true "Object 3 On"
Resolution
Write the programmable object to that will change state to update the graphic. This may well have to be a dedicated object for the graphic. For example using a time statement to check for a change;
10 if not time left then goto 50
20 If P0|1 on then return true "Object 1 on"
30 if P0|2 on then return true "Object 2 on"
40 if p0|3 on then return true "Object 3 on"
50 set timer 10
60 If P0|1 on then return false "Object 1 on"
70 if P0|2 on then return false "Object 2 on"
80 if p0|3 on then return false "Object 3 on"