Panel position

Find and share HowTos to various installations / configurations!
7 posts • Page 1 of 1
vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Panel position

Post by vedadramovic »

Hello,

one of our Wincc OA clients (User interfaces) is running on video wall that has 15 display (5 x 3).
It opens 4 panels as 4 separate windows. One of them is stretching along 5 display, one along 3 displays and other two are shown on one display each.
All 4 panels are opened as different (separate) User Interfaces.

Is there a way to set exact starting position of each user interface (panel) on a such multi-monitor, so after a restart of a project (or loss of communication with server) the constellation of UIs remains the same as before the restart?

Best regards,
Vedad

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Panel position

Post by Gertjan van Schijndel »

With the '-m' option you can specify the position (and size) of the panel.
For example '-m vision ,+0+0' to open the panel on 0,0 and with size it is '-m vision ,1920x1080+0+0' .

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Panel position

Post by vedadramovic »

Thank you very much for a fast and effective help.

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Panel position

Post by vedadramovic »

Hello,
i know this has been actual long time ago.
We have never succeeded to use this -m position option in our case (videowall). It seems that coordinates on video wall are different to those used in WinCC-OA.

Is there a way to display coordinates and size of "vision" so I can reuse it in start configuration -m?

There is a datapoint telling smart client to start panel/vision on last running position. Where is held this info about last position and size?

Often after restart of project or after communication loss our visions/panels does not start on last position.
I would like to position visions/panels on our wideo wall, save that config and use it in case our visions/panels start on wrong location.

Best regards,
Vedad

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Panel position

Post by Gertjan van Schijndel »

With the functions 'getScreenCount' and 'getScreenSize' you can retrieve the coordinates of your screens.
With the function 'panelPosition' you can get the coordinate of your panel.

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Panel position

Post by vedadramovic »

Thank you Gertjan very much,
I will give it a try.
Best regards,
Vedad

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Panel position

Post by vedadramovic »

I want to make an update of this thread and to write what worked for us.
We use WinCC OA v.3.12.
We needed to position panel (module) on a video wall that has 6 or more screens.

Following method of panel/module positioning '-m vision ,1920x1080+0+0' did not work for us. Was it because, windows makes some strange coordinate system in case of video wall or something else, I do not know.

What worked for us are two functions:
- panelPosition() - returns accurate coordinates of pane position, which I used to find out what are my desired coordinates.
- moveModule() - moves module to specified position on the screen.

Important think to mention is that functions panelPosition() and moveModule(), in our case, worked only inside of panel that I wanted to move.

Thanks for the help Gertjan.

7 posts • Page 1 of 1