Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Call Loopback script

Status
Not open for further replies.

metakith

Programmer
Apr 17, 2009
6
RO
Hi,

I need to make a script that should send back a character when it receive one during a CSD Data Call. Like in a loopback. Do you have any ideea how to proceed with this scrip?
What I'm trying to do is to measure the time between sending a char and receive it back.

I appreciat any ideas.
 
Are you trying to track the time on the Procomm end? The below script will wait for the specified character or string (replace string in the waitfor and transmit commands with the proper value), then send it back with a carriage return (delete the ^M if not required):

proc main
waitfor "string" forever
if success
transmit "string^M"
endif
endproc

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top