Within the tag report tool, I am trying to query tags where the tag name = Label and the value is LIKE TT. The tag Label is an OPC Tag .
I have a udt instance which has a Label tag with value 'TT1310B', and here was my query:
with 0 results. As soon as i change the tag to memory , the tag query results have the tag i was searching for.
Is there a problem with reading the Value from an OPC tag within the tag report tool?
Also, if i remove the Value condition, so just the name = 'Label', the tag is in the query results
4 Likes
Yes. The tag report tool only looks at configuration . Only Memory tags have their value as part of persistent configuration.
2 Likes
Thanks for the reply @pturmel !
Is there any reason why it would work for some tags? i.e. one of my tags has a Label value of 'LT1417' and it correctly displays in the results. I even change it to something different in the PLC just to test, 'LT1417B' and that also displays in the query.
So i think it is related to this post here:
I found a possible bug.
I am using the tag report tool (and system.tag.query function).
I use it to match tags that have a tooltip that contains the text "test".
This works in most cases, but not if the tooltip contains "\r\n" (newline character).
Is it supposed to be like that?
Ignition version = 8.1.35
[image]
I basically deleted the value within the tag (Ctrl+A then Delete), and then typed out the value manually. It returns in the query!
So maybe some newline characters or something that we couldn't see.
1 Like