3/1/2023 11:48 PM | |
Joined: 7/25/2017 Last visit: 10/31/2024 Posts: 334 Rating: (52) |
Hello, It is a common feature to have a button on screen, which writes to a tag when pressed, and changes its appearance based on that tag (as a feedback to the user). By default, in WinCC Unified, all tags are cyclically read, including those that were just written to in button events. This means that if a button is pressed, the display feedback may take a while to update and so appear laggy. To get an instant display update when a button is pressed, call the UpdateTag function after writing to the tag. Example (also attached): (release event is similar) Attachmentbutton example.zip (313 Downloads) |
Last edited by: Jen_Moderator at: 03/02/2023 10:08:55Text formatting optimized. |
|
This contribution was helpful to5 thankful Users |
Follow us on