8/10/2006 5:50 PM | |
Posts: 23 Rating:
|
Hi, I'm developed a SCADA system with WinCC 6.0. There are 5 different pictures pdl. To move from one picture to another I'm using buttons and the command OpenPicture(). My problem is that there is a delay between pictures, and everytime that a new picture is open you can see that the data of the dynamic variablesare not loaded inmeddiately and it's after 2 seconds that the data is shown (data in tables, toggles buttons ...). The update time I'm using is 250 ms and sometimes "Upon change". Does anyone know the cause of this delay?. Is it because everytime that a new picture is open the system needs some time to update the information (although this information was in another picture)? Thank you. |
8/10/2006 6:06 PM | |
Joined: 9/27/2005 Last visit: 11/27/2007 Posts: 1398 Rating:
|
Please use the search box at the top of this page as this question has been asked many times on this forum. The delay could be caused by many different things : - Never use Upon Change with external tags ! - Change the update from 250ms to 1 second - sometimes increasing the poll rate will speed up the update rate as all requests are handled in a timely manner - The more scripts you have on a screen, the slower it will take to load. Can you post your PDL here? |
8/11/2006 1:06 PM | |
Posts: 23 Rating:
|
Hi, thanx for your answer. I searched for other posts before sending mine because what I found didn't help me. I think my problem might be that i'm using 5 pictures (pdl) and the delays come when I open a new picture not while I'm working with it. Maybe I should work with windows instead of so many pictures. Thanx anyway. |
8/11/2006 1:34 PM | |
Joined: 9/27/2005 Last visit: 11/27/2007 Posts: 1398 Rating:
|
Delays are usually only seen when the picture is first opened. This is usually caused by the points listed in my previous post. If your application is designed correctly then these delays can usually be eliminated. |
8/11/2006 4:34 PM | |
Posts: 23 Rating:
|
Hi Salma, just one more question, is it possible to have more than one picture PDL open at the same time in runtime?. I know that you can do it by using picture_windows (although I don't like the result I'm obtaining). I'm just trying to move from one PDL to another by using buttons that open these PDLs, but it seems to me that everytime that I open a PDL the rest of them are closed, and this is a problem for my application. |
8/11/2006 4:37 PM | |
Posts: 1275 Rating:
|
You can't open more than 1 .pdl at a time, unless you're using the picture windows. |
8/11/2006 5:23 PM | |
Posts: 23 Rating:
|
Hi Danielle, |
8/11/2006 6:30 PM | |
Posts: 1275 Rating:
|
Glad to help you! If you're having specific problems with picture window objects let us know! Best regards, Danielle |
8/14/2006 9:43 AM | |
Joined: 9/27/2005 Last visit: 11/27/2007 Posts: 1398 Rating:
|
The only way to have multiple PDL's open is to have multiple PictureWindows on a screen. I still think you should find out WHY the pictures are slow to load. It's your call ... |