lrose
6
In a script, you can not directly address a value.
This: '[.]Online'
is just a string.
Technically, system.tag.read()
will work but it's deprecated.
There are two other functions you can use to read tag values depending on if you need it to block or not.
system.tag.readBlocking()
system.tag.readAsync()
And they return a List
of qualifiedValues
so you must index into them as such and access the value property.
This post will give you a quick history lesson on this, if you're interested.
1 Like