Export tags which are used on particular vision screen

Hi,

I would like to know if there is a way to export only the tags which are used in the particular vision screen.

You're wanting to identify tags used in the window's bindings and export them along with the window?

Yes. I wanted to know which tags are being used on the screen

Hmmm. Interesting question. I've always used the project browser to search component bindings. An icon will show up with a tag shape for tag bindings on the right side of the component name. That said, there is such a thing as a tag reference tracker that could help you to figure this out. Here is a link for more information:

Tag reference tracker tool is like if we have a tag then then we can use this tool to check there it is used.

But in my case I have a project in which there are hundreds of used and unused tags. So I need to clear up the tag browser and also check which tags are being used on a screen so that I can change its OPC path with new addresses.

Does your project use templates in its vision windows/call out to project library scripts? if not, this is doable (and I've got some helpers that would probably make this work) but if so it's basically 'trace every callstack of a vision project'

1 Like

If you set your Vision windows to save as XML instead of binary, you might be able to parse the XML to find all the tags references. It's not pretty XML but might do the job.

2 Likes

yeah, this was basically what I was referencing with my helpers (I have a bunch of XML parsing including but not limited to binding parsing tooling)

1 Like