How to find out when the project was launched

Find and share HowTos to various installations / configurations!
11 posts • Page 1 of 2
i.mak
Posts:18
Joined: Mon Mar 27, 2017 3:00 pm

How to find out when the project was launched

Post by i.mak »

Hello!

How to use the CONTROL script to find out when the project was launched (for example, the Event Manager)?

Best regards, Ilya

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

Re: How to find out when the project was launched

Post by kilianvp »

well if you run a CONTROL script without "-n" option the event manager is already running.

i.mak
Posts:18
Joined: Mon Mar 27, 2017 3:00 pm

Re: How to find out when the project was launched

Post by i.mak »

I need to know not what the event manager is running, but the exact time when it started working.

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

Re: How to find out when the project was launched

Post by leoknipp »

What for do you need the information when the project was launched?
Do you need the information inside of the WinCC OA project?

Best Regards
Leopold Knipp
Senior Support Specialist

i.mak
Posts:18
Joined: Mon Mar 27, 2017 3:00 pm

Re: How to find out when the project was launched

Post by i.mak »

Do you need the information inside of the WinCC OA project?
Yes, I need this information inside of the WinCC OA project.

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

Re: How to find out when the project was launched

Post by leoknipp »

What for do you need the information when the project was launched?
What is done with that information?

Best Regards
Leopold Knipp
Senior Support Specialist

i.mak
Posts:18
Joined: Mon Mar 27, 2017 3:00 pm

Re: How to find out when the project was launched

Post by i.mak »

What for do you need the information when the project was launched?
What is done with that information?
Does the solution depend on the answers to these questions?

I can write to an internal data point at startup and then read from it when needed. But I thought there was a CONTROL function for that.

Thanks anyway.

Best regards, Ilya

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

Re: How to find out when the project was launched

Post by leoknipp »

Maybe there is a better solution for the requirement which should be solved.
Can you please give us the information what the information is needed for.

Best Regards
Leopold Knipp
Senior Support Specialist

i.mak
Posts:18
Joined: Mon Mar 27, 2017 3:00 pm

Re: How to find out when the project was launched

Post by i.mak »

I need this information to display. In the same way as the start time of the managers is displayed in the WinCC OA console.

Image

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

Re: How to find out when the project was launched

Post by leoknipp »

You can read the information from the process monitor.
For details please have a look at the documentation:
https://www.winccoa.com/documentation/W ... el-06.html

Another possibility is to read the information from the _Connections datapoint and its elements. At the element the information is saved when the connection was established between the Event Manager and other managers.

Best Regards
Leopold Knipp
Senior Support Specialist

11 posts • Page 1 of 2