chi
1
The system.tag.writeAll function does not work for client tags in Ignition 7.5.6.
The code
paths=["[Client]test1","[Client]test2"]
values=[10,10]
result=system.tag.writeAll(paths, values)
print result
does not write to the tags, the result is ‘[0,0]’ (failed immediately).
system.tag.write works with the same parameters
paths=["[Client]test1","[Client]test2"]
values=[10,10]
system.tag.write(paths[0], values[0])
system.tag.write(paths[1], values[1])
Yep… thanks. Should be an easy fix for 7.5.7.
Side note: one of my favorite things about version control is digging through the history to find out who is to blame
Dravik
3
[quote=“Kevin.Herron”]Yep… thanks. Should be an easy fix for 7.5.7.
Side note: one of my favorite things about version control is digging through the history to find out who is to blame [/quote]
Except for that sinking feeling when you see your own name next to the change(more than once… )
sharan
4
Will WriteAll work with revision 8.1.17
?
pturmel
5
It should, but note that it is deprecated. Use writeBlocking()
or writeAsync()
instead.