Hi all,
I already created a script for making print screens of all the alarms in the Panel Topology. It opens the panels one by one in the User Interface, and makes a print by using the function
setValue("WinCC_OA_1" + "." + "Basepanel" + ":", "imageToFile", sPath);
This works like a charm.
Now I am trying to make a script to make a print screen of all the Operating panels. I can find a way of opening each panel as a child panel, but how do I make a print of this panel?
(i.e how do I make a print of a panel that was open using ChildPanelOnModule)
Thanks!
Making a print screen of a child panel
Search
Re: Making a print screen of a child panel
Should work with the CTRL function printPanel()
-
- Posts: 634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Making a print screen of a child panel
Just replace "Basepanel" with the name of your childpanel.
Re: Making a print screen of a child panel
Instead of opening every panel as a child panel you could also open it as a root panel in an own module.
If you want to make a print screen of every panel you have to check if $-parameters need to be passed. Otherwise your panels will probably not work and will display wrong or no information.
Best Regards
Leopold Knipp
Senior Support Specialist
If you want to make a print screen of every panel you have to check if $-parameters need to be passed. Otherwise your panels will probably not work and will display wrong or no information.
Best Regards
Leopold Knipp
Senior Support Specialist
- RudiKreiner
- Posts: 198
- Joined: Mon May 16, 2011 2:10 pm
Re: Making a print screen of a child panel
See also similar requirement at https://portal.etm.at/index.php?option= ... =7417#7423
-
- Posts: 29
- Joined: Mon Dec 02, 2013 11:15 am
Re: Making a print screen of a child panel
The link is not valid anymore, how can i access that link? Also, is there any new solution from WinCC OA to print with childpanels?
Thank you.
Thank you.
Re: Making a print screen of a child panel
You still have to use printPanel()