Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 14th, 2024, 11:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Can you ping ?
PostPosted: June 24th, 2006, 11:10 pm 
Offline

Joined: December 22nd, 2004, 10:00 am
Posts: 28
Opus: Opus Pro 7.5
OS: Windows 7 32 bit on BootCamp
System: MacBook Pro, 3 GBytes RAM, Core2Duo T8300@2.4 GHz,
Hello all,

I was wondering if you can use Opus PRO 04 to PING to a host....

It would be extremely useful to me...!

Of course there is no command to do this, but maybe someone has a workaround or idea that I could use to ping a host.

The useful thing here would be to receive the result of the ping somehow in Opus so that the application can do different things i.e. if the host is up to show a green light or if the host is not responding to show a red light.

Although I think it is unlikely, I posted the message hoping that someone may have a bright idea...

Thanks in advance

Dennis Zervas


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 25th, 2006, 10:06 am 
Offline

Joined: October 25th, 2004, 12:32 pm
Posts: 397
Location: Digital Workshop
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 ddww


Top
 Profile Visit website  
 
 Post subject: ping....thanks
PostPosted: June 25th, 2006, 10:25 am 
Offline

Joined: December 22nd, 2004, 10:00 am
Posts: 28
Opus: Opus Pro 7.5
OS: Windows 7 32 bit on BootCamp
System: MacBook Pro, 3 GBytes RAM, Core2Duo T8300@2.4 GHz,
Dear Brenden,

many thanks, this is great, I am starting as soon as I read it!

Regards
Dennis


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group