2/6/2025 9:33 AM | |
Joined: 1/21/2013 Last visit: 9/7/2025 Posts: 4090 Rating:
|
Hi, Unfortunately, I cannot tell you why the script stopped working. But I can tell you how I would implement this functionality in a device version V18.0.0.1 or later. V18, Update 1 introduced the "input finished" event. So you can put the entire contents of your current script function - except for the keycode if condition - into the OnInputFinished event. In addition, you should configure the tag dynamization so that the process value of the IO field is read-only. Otherwise, the internal process and your script will try to write the tag. This will result in the slowest task winning. This configuration should also have been made in your V16 project. Kind regards |
2/7/2025 8:32 AM | |
Joined: 12/1/2017 Last visit: 9/2/2025 Posts: 26 Rating:
|
Hi, But I am using this line, it is in the beggining of my script. |
2/7/2025 9:36 AM | |
Joined: 12/1/2017 Last visit: 9/2/2025 Posts: 26 Rating:
|
Hi Stefan, Thanks a lot, this works perfekt! |
Follow us on