Can I make the WINNOA project run when the PC starts?

Find and share HowTos to various installations / configurations!
Search

Post Reply
6 posts • Page 1 of 1
SMT_SOL
Posts: 12
Joined: Fri Feb 07, 2020 1:04 am

Can I make the WINNOA project run when the PC starts?

Post by SMT_SOL » Wed Mar 18, 2020 1:51 am

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?

User avatar
adaneau
Posts: 202
Joined: Tue Feb 21, 2012 8:49 am

Re: Can I make the WINNOA project run when the PC starts?

Post by adaneau » Wed Mar 18, 2020 9:57 am

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

SMT_SOL
Posts: 12
Joined: Fri Feb 07, 2020 1:04 am

Re: Can I make the WINNOA project run when the PC starts?

Post by SMT_SOL » Mon Mar 23, 2020 2:13 am

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...

User avatar
kilianvp
Posts: 212
Joined: Fri Jan 16, 2015 9:29 am

Re: Can I make the WINNOA project run when the PC starts?

Post by kilianvp » Mon Mar 23, 2020 8:42 am

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
options.PNG
options.PNG (1.86 KiB) Viewed 215 times
For example:
-m vision -p vision/login.pnl -menuBar -iconBar -centered
-m gedi

SMT_SOL
Posts: 12
Joined: Fri Feb 07, 2020 1:04 am

Re: Can I make the WINNOA project run when the PC starts?

Post by SMT_SOL » Tue Mar 24, 2020 12:35 am

Thank you for your kind answer :D
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?

User avatar
adaneau
Posts: 202
Joined: Tue Feb 21, 2012 8:49 am

Re: Can I make the WINNOA project run when the PC starts?

Post by adaneau » Wed Mar 25, 2020 11:01 am

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

Post Reply
6 posts • Page 1 of 1