# Edge Vision Client Screen Locks Up

**URL:** <https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 10, 2024, 12:16am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987 "2024-07-10T00:16:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob.ramirez](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jacob.ramirez](https://forum.inductiveautomation.com/u/jacob.ramirez)\
**Post date:** [July 10, 2024, 12:16am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/1 "2024-07-10T00:16:03Z")

</div>

Can anyone suggest what to look at in my ignition edge Vision project for making the screen lock up when a button runs a script to write to tags?

It's a start button, all the script does is write True to pump start OPC tag and False to pump stop.

And after that for about 10+ seconds nothing is clickable on the screen, write to other tags, screen navigation, etc., but the tags in screen update.

Any suggestions on what exactly to look at?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 12:33am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/2 "2024-07-10T00:33:13Z")

</div>

What scripting function are you using to write to the tag?

---

<div class="post-metadata">

**Author:** ![jacob.ramirez](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jacob.ramirez](https://forum.inductiveautomation.com/u/jacob.ramirez)\
**Post date:** [July 10, 2024, 12:37am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/3 "2024-07-10T00:37:59Z")

</div>

System.tag.writeBlocking

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 12:41am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/4 "2024-07-10T00:41:35Z")

</div>

Ok, so this function blocks until a write result is available. With an OPC tag this means it blocks until a response from the server is received.

If you're using Ignition's server and drivers, check the status for this device in the Ignition Gateway and see if it's overloaded.

Your UI freezes because you are executing this on the UI thread (action performed on a button), and if you block the UI thread the whole UI freezes.

---

<div class="post-metadata">

**Author:** ![jacob.ramirez](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jacob.ramirez](https://forum.inductiveautomation.com/u/jacob.ramirez)\
**Post date:** [July 10, 2024, 12:46am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/5 "2024-07-10T00:46:23Z")

</div>

Overloaded, what do you mean exactly? What would I look for in the gateway?

It's a Siemens S7-1200 OPC connection.

Is there another way to write to the tags so there's not a chance it locks up the screen?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 12:51am UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/6 "2024-07-10T00:51:14Z")

</div>

You can use the writeAsync version of the call.

---

<div class="post-metadata">

**Author:** ![jacob.ramirez](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jacob.ramirez](https://forum.inductiveautomation.com/u/jacob.ramirez)\
**Post date:** [August 13, 2024, 9:56pm UTC](https://forum.inductiveautomation.com/t/edge-vision-client-screen-locks-up/92987/7 "2024-08-13T21:56:15Z")

</div>

I changed all my control to tag bindings with bi-directional instead of tag write scripts.  
So I also have been looking into the Siemens comms. Is the image below "bad" numbers for its comms? Should those numbers be smaller?

 ![Screenshot 2024-08-13 165353](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/6/26e2bfa1fb0185b7cb359644aefb2a16ea9cd37a.png)
