Dennis,
You can't ping directly from Opus, You could launch a ping but you would lose all the data.
My advice would be to write a batch file with the line:
ping
http://www.host.com >textfile.txt
and launch it from Opus.
This will create a file called textfile.txt which will contain the returned ping data as below:
Code:
Pinging http://www.digitalworkshop.com [212.100.247.34] with 32 bytes of data:
Reply from 212.100.247.34: bytes=32 time=384ms TTL=120
Request timed out.
Request timed out.
Reply from 212.100.247.34: bytes=32 time=268ms TTL=120
Ping statistics for 212.100.247.34:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 268ms, Maximum = 384ms, Average = 326ms
You can then use read text file actions to read the above information and set your green or red lights.
Hope this helps
Regards
Brenden Knifton
