At the end of the Wincc Oa project controller, the user interface is running a vision.
Is there a way to automatically start the project's vision when the PC restarts?
Can I make the WINNOA project run when the PC starts?
- SMT_SOL
- Posts:23
- Joined: Fri Feb 07, 2020 2:04 am
Can I make the WINNOA project run when the PC starts?
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Can I make the WINNOA project run when the PC starts?
Ha, this one is tricky
Guess you already configured your project to start as service but UI doesnt show up at the end. This is normal as Windows prevents interactive services.
However there is a solution : the startup folder where you can put programs to start after login of user.
https://tunecomp.net/add-program-to-startup-windows-10/
So you just put your UI shortcut there, with good options to start relevant project (-proj, -p, and so on). Then you'll see your UI starting after login into computer.
Regards
Alexandre
Guess you already configured your project to start as service but UI doesnt show up at the end. This is normal as Windows prevents interactive services.
However there is a solution : the startup folder where you can put programs to start after login of user.
https://tunecomp.net/add-program-to-startup-windows-10/
So you just put your UI shortcut there, with good options to start relevant project (-proj, -p, and so on). Then you'll see your UI starting after login into computer.
Regards
Alexandre
- SMT_SOL
- Posts:23
- Joined: Fri Feb 07, 2020 2:04 am
Re: Can I make the WINNOA project run when the PC starts?
Thank you for your kind answer ~
I set the UI options according to the answer. But
I don't know how to create a UI shortcut...
I set the UI options according to the answer. But
I don't know how to create a UI shortcut...
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Can I make the WINNOA project run when the PC starts?
The Path is:
C:\Siemens\Automation\WinCC_OA\<VERSION>\bin\WCCOAui.exe -PROJ <PROJ> <OPTIONS>
replace <VERSION> with your WinCC OA version, <PROJ> with your project name and <OPTIONS> with your options.
the options can be taken from the WinCC OA console
For example:
-m vision -p vision/login.pnl -menuBar -iconBar -centered
-m gedi
C:\Siemens\Automation\WinCC_OA\<VERSION>\bin\WCCOAui.exe -PROJ <PROJ> <OPTIONS>
replace <VERSION> with your WinCC OA version, <PROJ> with your project name and <OPTIONS> with your options.
the options can be taken from the WinCC OA console
For example:
-m vision -p vision/login.pnl -menuBar -iconBar -centered
-m gedi
- SMT_SOL
- Posts:23
- Joined: Fri Feb 07, 2020 2:04 am
Re: Can I make the WINNOA project run when the PC starts?
Thank you for your kind answer 
As you follow the answer, the vision is executed. But I have a small problem.
Vision does not work because start Project is not executed in WinccOa Console.
What should I do?
As you follow the answer, the vision is executed. But I have a small problem.
Vision does not work because start Project is not executed in WinccOa Console.
What should I do?
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Can I make the WINNOA project run when the PC starts?
Hi,
Go to online help of Wincc OA and check the section for running Wincc OA as a service. This is prerequisite for using this method as I wrote in my first post.
Regards
Alexandre
Go to online help of Wincc OA and check the section for running Wincc OA as a service. This is prerequisite for using this method as I wrote in my first post.
Regards
Alexandre