Hi, I have a number a simple text boxes in my screen that should change colour depending on state of digital io signals. I only use the state function in the behavior tab to condition the change. (one signal on and the other off). However on testing with VC, they only seem to change once, and then fail to change back if the IO signals are swapped back. Other text boxes work as expected, but are only set from a single signal changing from 1 to 0.
Hello Yitong,
Some of the signals I’m using already have those condition’s in. Some do not, as there is not alternative to just monitoring one signal. The problem is the screen is not refreshing. If I change signal state and the signal on the tpu doesn’t change, after closing and reopening the screen the state is displayed correctyl. Do we need to add a refresh function (if possible), even though the tool tips states the signals are changed dynamically.
Normally, no manual refresh should be required. If the signal value changes but the screen only updates after reopening, then the problem is likely that the behavior is not refreshing dynamically.
Please try adding the opposite state explicitly, even for objects that currently only use one condition. If that still does not work, this may indicate a product limitation or bug rather than a setup issue.
If you still can’t resolve this issue or need to address it urgently, you can contact the support team: global-appstudiosupport@abb.com
When the preview shows the component in a certain state (like with a green background), it’s natural for users to expect the actual component to look the same when that state is triggered.