How to ping a server in Win CC OA?

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
Sector97
Posts: 13
Joined: Thu Feb 02, 2023 3:26 am

How to ping a server in Win CC OA?

Post by Sector97 »

Hey everyone,

Fairly basic question, but what's the most straightforward way to ping a server in WinCC OA?
Essentially I want to create a function where you can ping a given ip address and get a True/False based on whether the server responds to a ping.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to ping a server in Win CC OA?

Post by leoknipp »

WinCC OA does not provide any form of ping command to an IP address.
You can possibly use the system() open a command shell where the customer can then type the ping command. Another option is to call the ping command directly in the system() call and check the output.

Best Regards
Leopold Knipp
Senior Support Specialist

Sector97
Posts: 13
Joined: Thu Feb 02, 2023 3:26 am

Re: How to ping a server in Win CC OA?

Post by Sector97 »

Cheers, thanks for the input will give that a shot.

Post Reply
3 posts • Page 1 of 1