Manager Status using C# API

Discussion about recent product features & solutions!
6 posts • Page 1 of 1
Anshuman
Posts:3
Joined: Fri Mar 15, 2019 5:18 am

Manager Status using C# API

Post by Anshuman »

Hello All,

I want to get Manager Information using C# API.
I found out the function in control script but i am not able to find the function in C#..
Can anyone please help me with that.


Regards
Anshuman Srivastava

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

Re: Manager Status using C# API

Post by leoknipp »

Can you please describe more accurate what "manager status" is in that case.
Which function in CTRL scripts are you talking about?

Best Regards
Leopold Knipp
Senior Support Specialist

Anshuman
Posts:3
Joined: Fri Mar 15, 2019 5:18 am

Re: Manager Status using C# API

Post by Anshuman »

I want to get the manager related information.
Function in control script are pmonGetCount(), pmonGetState(), pmonGetName(), pmonGetNum().
I want to know the how can i get to know the count, name and status of managers in C#


Regards
Anshuman

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

Re: Manager Status using C# API

Post by leoknipp »

What is the information used for you want to read from the process monitor?
If a manager is running or not you can also get by reading the dp elements for the datapoint _Connections.

Best Regards
Leopold Knipp
Senior Support Specialist

Anshuman
Posts:3
Joined: Fri Mar 15, 2019 5:18 am

Re: Manager Status using C# API

Post by Anshuman »

Hi thank you for replying.
Can you explain bit more on this.

Regards
Anshuman

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

Re: Manager Status using C# API

Post by leoknipp »

To get information for the internal dp type _Connections you can have a look at the WinCC OA Documentation: Reference tables --> Internal data point types --> _Connections.

Best Regards
Leopold Knipp
Senior Support Specialist

6 posts • Page 1 of 1