system.tag.writeAll

i am trying to use this script to write to several tags at the same time. i setup a couple tags and a button to try this but i keep getting an error. this script was copied straight out of the manual.
using ( 7.9.8)

Error:
Traceback (most recent call last):
File “event:mouseClicked”, line 3, in
AttributeError: ‘com.inductiveautomation.ignition.common.script.Imm’ object has no attribute ‘writeALL’

script:
tags = [“test tag 1”,“test tag 2”]
Values = [1,2]
system.tag.writeALL(tags,Values)

Case matters. Use system.tag.writeAll(tags, Values). Note the “ll” in “All” is not capitalized.

4 Likes