Hello,
is there a way to configure the visionScreenMode for individual Desktop UI instances? Like a command line parameter?
For example "C:\Siemens\Automation\WinCC_OA\DesktopUI\3.16\bin\WCCOAui.exe -server https://X.Y.Z:443 -visionScreenMode noTitleBar" ?
Thanks for your Help
visionScreenMode Setting for each Desktop UI different?
- n.kuehl
- Posts:28
- Joined: Mon Mar 18, 2019 9:35 am
visionScreenMode Setting for each Desktop UI different?
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: visionScreenMode Setting for each Desktop UI different?
yes in the config file
[ui1]
...
[ui2]
...
[ui1]
...
[ui2]
...
- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: visionScreenMode Setting for each Desktop UI different?
Hello,
@kilianvp: the correct name of the section is [ui_X] (where X is the UI manager number), e.g. [ui_1] NOT [ui1]!
here you have to start the desktop UI with the correct manager number using the option -num X. Same Manager number can´t be used twice at the same time.
following is also possible:
2- use the manager option +config <file> to load an additional config file. e.g.
WCCOAui -server MyProjServer +config additional.conf
the additionconfig file will contain the following entries:
[ui]
visionScreenMode = "noTitleBar"
and is loaded from the UI, where you don´t want to show the TitleBar.
1- use the CTRL-function titleBar() to show or hide the title bar in the specified module or in a child panel in runtime.
BR,
Mousser.
@kilianvp: the correct name of the section is [ui_X] (where X is the UI manager number), e.g. [ui_1] NOT [ui1]!
here you have to start the desktop UI with the correct manager number using the option -num X. Same Manager number can´t be used twice at the same time.
following is also possible:
2- use the manager option +config <file> to load an additional config file. e.g.
WCCOAui -server MyProjServer +config additional.conf
the additionconfig file will contain the following entries:
[ui]
visionScreenMode = "noTitleBar"
and is loaded from the UI, where you don´t want to show the TitleBar.
1- use the CTRL-function titleBar() to show or hide the title bar in the specified module or in a child panel in runtime.
BR,
Mousser.
- n.kuehl
- Posts:28
- Joined: Mon Mar 18, 2019 9:35 am
Re: visionScreenMode Setting for each Desktop UI different?
Hello,
@kilianvp: I know that, but i don't want to specify the UI number.
@mkerk:
The solution with the additional config-file did sound great, but doesn't work...
I have added a file "ui_noTitleBar.conf" at the config folder of the project, it contains only your two lines. Then I start the DesktopUI with target: "C:\Siemens\Automation\WinCC_OA\DesktopUI\3.16\bin\WCCOAui.exe -iconBar -menuBar -server https://localhost:443 +config ui_noTitleBar.conf". The UI opens with title bar. I have tried variations like putting the name of the additional config in quotation marks or with and without *.conf or with or without [ui] section at the master config file. Nothing worked.
Any Ideas why?
Thanks
@kilianvp: I know that, but i don't want to specify the UI number.
@mkerk:
The solution with the additional config-file did sound great, but doesn't work...
I have added a file "ui_noTitleBar.conf" at the config folder of the project, it contains only your two lines. Then I start the DesktopUI with target: "C:\Siemens\Automation\WinCC_OA\DesktopUI\3.16\bin\WCCOAui.exe -iconBar -menuBar -server https://localhost:443 +config ui_noTitleBar.conf". The UI opens with title bar. I have tried variations like putting the name of the additional config in quotation marks or with and without *.conf or with or without [ui] section at the master config file. Nothing worked.
Any Ideas why?
Thanks
- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: visionScreenMode Setting for each Desktop UI different?
The file "ui_noTitleBar.conf" has to exist in the config-folder of the Desktop UI prject cache folder.
It is not copied automatically.
It is not copied automatically.
- n.kuehl
- Posts:28
- Joined: Mon Mar 18, 2019 9:35 am
Re: visionScreenMode Setting for each Desktop UI different?
Thanks a lot @mkerk! That's the Solution. Should be made clearer in the help.