Find a Datapoint in Panel files

Discussion about recent product features & solutions!
3 posts • Page 1 of 1
killer007
Posts:4
Joined: Wed Mar 13, 2019 6:35 am

Find a Datapoint in Panel files

Post by killer007 »

Hi,

Is there a way to find the Panel in which a Datapoint is used?

like:

string sPanelFile = findDpInPanels("myDatapoint", "<wincc_oa_path>/panels/*");

BR Daniel

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Find a Datapoint in Panel files

Post by leoknipp »

There is no function findDpInPanels() available in WinCC OA.

In the PARA module you can rename a datapoint and it is possible to find occurrences of this datapoint in panel files.
The panel used for renaming a dp are panels/para/dpRename.pnl and dpRename_Xref.pnl.

You can have a look at the code in the panels to see how the dp names is found.

Best Regards
Leopold Knipp
Senior Support Specialist

killer007
Posts:4
Joined: Wed Mar 13, 2019 6:35 am

Re: Find a Datapoint in Panel files

Post by killer007 »

Thanks

This is exactly what i am searching for

BR Daniel

3 posts • Page 1 of 1