Assign GUI depending on client user logged and connected display

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
jeissonsierrac
Posts:62
Joined: Wed Jun 03, 2015 9:37 pm

Assign GUI depending on client user logged and connected display

Post by jeissonsierrac »

Hi.

I´m developing a WinCC OA application that, depending on the user who logs on and the displays that are connected to the client computer, I show a certain number of panels

I have some questions about this topic.

¿Is in WinCC OA some function that allows me to detect which displays are connected on a client computer?

¿Is in WinCC OA some function that allows me to show a panel on a certain dsiplay connected to the computer?

¿Is there any way to have multiple panel topologies for a project?

Thank you :)

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

Re: Assign GUI depending on client user logged and connected display

Post by leoknipp »

With the CTRL functions getScreenCount() and getScreenSize() you can get display information.
If a panel shall be opened on a specific screen you have to open the module where the panel shall be loaded on the specific possiton of the screen.

In one project you can only define one panel topology.

Best Regards
Leopold Knipp
Senior Support Specialist

jeissonsierrac
Posts:62
Joined: Wed Jun 03, 2015 9:37 pm

Re: Assign GUI depending on client user logged and connected display

Post by jeissonsierrac »

Hi Leopold


Thanks for your attention

I´m trying to use these function but the Ctrl Script that I´m using shows me errors, The LogViewer notifies me that these functions aren´t defined, I´m using WinCC OA v 3.14 in Windows 7.

Let me know if you have some questions or comments


With best regards

Jeisson Sierra

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

Re: Assign GUI depending on client user logged and connected display

Post by leoknipp »

Are you using these function in a script executed by the UI manager or a CTRL manager?
The functions are only available in the UI manager.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1