Finding a query in projects

Hello,

I have about 14 perspective projects (Identical GUI with different station no.s). I have the following query (Trace log screenshot) running every few seconds from different projects, but I am not able to find it even with project search through Designer Launcher.

The yellow highlighted shows the project-name but the view under is from a different project altogether (same discrepancy for other instances of this query log) and it adds ‘@C’ at the end too as shown. Is there a better way to track it down? Thanks

I am not able to find it even with project search through Designer Launcher.

I don't think you can search from Launcher. Did you mean Designer itself?

I have about 14 perspective projects (Identical GUI with different station no.s).

Why? Why not one project with parameters?

2 Likes

In the search tool did you make sure to check all the boxes to search all views, events etc? It does not do it by default.

Also I agree with @Transistor something about this setup smells.

I inherited this whole thing recently. No plans to change as it will go away after a few months

I mean I searched through ‘Designer’ after opening the project. Everything was checked when I did the ‘Ctrl+F‘.

You can open the projects folder (Ignition\data\projects) in the Ignition installation directory with an application like Notepad++ or VSCode and search the folder for that string. You should find it in a query.sql file if it is a Named Query, a *.py file if it is built directly into a project library, or in a view.json file if it’s in a component action or a binding.

Update 1: *low chance it’s in an external python library which would be not located in the projects folder but in the path: \Ignition\user-lib\pylib so you might need to search there too.

2 Likes