Applies To:
  • CitectSCADA 5.xx

Summary:
Are there any existing functions that allow you to ping from cicode to see if a network device is running? 

Solution:
You could use some cicode like this;

Exec("c:\winnt\system32\cmd.exe /c ping 192.168.0.87 >c:\temp\filename.txt").

This runs the dos command ping and then redirects the result to the file filename.txt. A better solution is to try the ctpingdll.ctz project in the Citect Toolbox on the Citect Website.

 

Keywords:
 

Attachments