# Equivalent of system.tag.writeAll in Perpsective

**URL:** <https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273>\
**Category:** Ignition\
**Tags:** ignition81, vision, perspective\
**Created:** [December 6, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273 "2022-12-06T12:40:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwb](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dwb](https://forum.inductiveautomation.com/u/dwb)\
**Post date:** [December 6, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273/1 "2022-12-06T12:40:43Z")

</div>

Hi,  
Our project had been made in Vision, but now we are transforming it into Perpsective.  
In Vision, there was the command system.tag.writeAll. What is the equivalent of this one in Perspective? Would it be system.tag.writeBlocking?  
Thanks.

---

<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:** [December 6, 2022, 1:16pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273/2 "2022-12-06T13:16:36Z")

</div>

Yes, and for Vision too. But note that `writeAll()` is deprecated, not removed. It still works. You can convert the calls at your convenience. You do not have to convert these immediately.

---

<div class="post-metadata">

**Author:** ![dwb](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dwb](https://forum.inductiveautomation.com/u/dwb)\
**Post date:** [December 6, 2022, 1:39pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273/3 "2022-12-06T13:39:40Z")

</div>

Thank you for your reply.  
I understood that the following functions still exist and work, although they had been deprecated: system.tag.read, system.tag.write, system.tag.readAll, system.tag.writeAll.

Now the functions to be used in their places are system.tag.writeBlocking and system.tag.readBlocking. Is that correct?

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [December 6, 2022, 1:44pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273/4 "2022-12-06T13:44:00Z")

</div>

You also have the async versions.

In general, I use the `system.tag.writeAsync` and `system.tag.readBlocking`.

writeAsync as that is the final result of whatever I was doing, and the script doesn't have to wait for the completion of the write.

readBlocking as I need to value of what I just read to continue the script.

There are a few exceptions, of course

---

<div class="post-metadata">

**Author:** ![dwb](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dwb](https://forum.inductiveautomation.com/u/dwb)\
**Post date:** [December 13, 2022, 6:00pm UTC](https://forum.inductiveautomation.com/t/equivalent-of-system-tag-writeall-in-perpsective/67273/5 "2022-12-13T18:00:08Z")

</div>

Thank you for your answers. They really helped me.
