Obtain a list of the tags being used/referenced in a Window

Hello, I want to ask if anyone knows a method of how to obtain the list of the tags that currently are being referenced or used by an Ignition Window in a project. I am currently working in a project to perform a clean up of the tags in the Ignition database, since many of them were created as "just in case" but effectively not used and just causing confusion for maintaining it. For this project I need to go through our Ignition Windows used for an HMI application and determine which are the tags being referenced in them. I have been exploring different methods of how to determine the tags that are currently being referenced in each Window but at this moment the only method seems to be a manual review of all the elements and their bindings. Do you have any suggestion on how to perform this task in a more efficient and automated manner using some of the tools and/or features of Ignition?

The tag reference tracker will show you what tags are subscribed from a Vision client. Unfortunately, without per-window detail. But you could open the windows one at a time to get that information.

Note that tags occasionally read via script will not be picked up by this method.

1 Like

I am finding that the reference tracker does not find tags that I know are on Vision windows. I don’t know what is considered “subscribed”, but I don’t see a way of finding references to tags on displays other than manual search through the displays. In my case I have objects that are using parameters for indirect references to tags, so I assume that is the problem since the read is from a script. Am I missing something?

Yes. You have to use tag bindings or indirect tag bindings to make a subscription to a tag. Reading tags via script does not make a trackable reference.

(Tags listed in a client tag change event are also subscribed.)

In case you haven't noticed, this kind of reference is what triggers leased tags to switch rates. Scripted tag reads breaks a lot of native Ignition functionality.

2 Likes