I understand results returned are 3 components per Tag. After looking at the help, I just don’t understand how to just pull/use the xxx.value
So, if we have values = system.tag.readAll(taglist),
what is the scripting/format equivalent to the original individual read?
I understand the info for the first tag is values I guess but how to grab only the value, and use it as an integer value say ?
is it values or ???
Use values.value, values.value, etc. I often use a list comprehension in a one-liner to get just the values. Like so:
values = [x.value for x in system.tag.readAll(listOfTags)]
This is only suitable when you don’t need the qualities, of course.
To answer your question, it would be values.value
pturmel’s method grabs just the values up front. Then it would be values
EDIT: Apologies to pturmel. should have read a bit closer! Time for more coffee!