# System.tag.writeBlocking equivalent for properties?

**URL:** <https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 2, 2025, 8:42pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611 "2025-04-02T20:42:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rebrorj](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rebrorj](https://forum.inductiveautomation.com/u/rebrorj)\
**Post date:** [April 2, 2025, 8:42pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/1 "2025-04-02T20:42:33Z")

</div>

System.tag.writeBlocking will halt script execution until the write to the tag is complete is their a similar function for writing to the property of an object?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 2, 2025, 9:03pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/2 "2025-04-02T21:03:03Z")

</div>

Why do you think there would be any delay in writing to a property? That's all done in the gateway, unlike `system.tag.writeXxxxx()` functions which may have to communicate with external devices.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 3, 2025, 1:13am UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/3 "2025-04-03T01:13:15Z")

</div>

No, property writing passes through a queue that is intended to ensure in-order _ **writing** _, but has the side effect that reading back the same property after assignment usually **won't** give you the "new" value.

Use a local variable for anything that you need to re-use in your script. Treat property writes as "fire-and-forget".

---

<div class="post-metadata">

**Author:** ![rebrorj](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rebrorj](https://forum.inductiveautomation.com/u/rebrorj)\
**Post date:** [April 3, 2025, 1:05pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/4 "2025-04-03T13:05:44Z")

</div>

I'll explain my issue more, I have an object with a parameter, inside the object I have a script writing to that parameter. when i use the object I bind a tag to that parameter, I want the object to write to the parameter which in turn will write to the tag, what I want is a way to wait until the parameter has updated its binded tag value. Does that make sense ?

---

<div class="post-metadata">

**Author:** ![rebrorj](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rebrorj](https://forum.inductiveautomation.com/u/rebrorj)\
**Post date:** [April 3, 2025, 1:10pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/5 "2025-04-03T13:10:24Z")

</div>

I believe what I am experiencing is the parameter value is changing too fast and the tag binded to it is still busy writing the last value because I get a message about the tag being "Bad\_Unsupported"

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 3, 2025, 1:37pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/6 "2025-04-03T13:37:17Z")

</div>

I presume by "object" you mean an embedded view? And the parameter is defined to be InOut, not just input?

Tag writes from bindings are asynchronous, so no, there's no way to wait on the write completing.

Instead of bidirectionally binding a tag to an InOut parameter of the embedded view, you should pass the tagpath to a string input parameter of the embedded view. Then the embedded view can use `system.tag.writeBlocking()` in its script to write to the tag and wait for it to complete (or fail--examine the return value).

---

<div class="post-metadata">

**Author:** ![rebrorj](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rebrorj](https://forum.inductiveautomation.com/u/rebrorj)\
**Post date:** [April 3, 2025, 2:07pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeblocking-equivalent-for-properties/104611/7 "2025-04-03T14:07:59Z")

</div>

Yes I know that you can do that, it is just not as convenient.
