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

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
SMT_SOL
Posts:23
Joined: Fri Feb 07, 2020 2:04 am

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

Post by SMT_SOL »

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?

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

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

Post by adaneau »

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:23
Joined: Fri Feb 07, 2020 2:04 am

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

Post by SMT_SOL »

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

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

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

Post by kilianvp »

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 6200 times
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?

Post by SMT_SOL »

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?

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

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

Post by adaneau »

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

6 posts • Page 1 of 1