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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send a string which is otherwise coded

Status
Not open for further replies.

21121942

Programmer
Sep 4, 2008
3
US
I am using a script to open a connection directory. The host responds with the commands to be used. Two of those commands are "HELP" and "DALL"
If I type HELP without a script it works well. "DALL" also gives me the required info like meter readinggs.
But using a script to transect "DALL^M^J" sends the first letter "D" correctly but remaining characters are entirely different and vary at different time. I tried using a variable string to store "DALL^M^J" as well as #define but still same problem persists.
I am absolutely a new user.
Can get some help please
Vinod
 
Try sending the same string from a metakey. To do so, press Alt-M to get the Meta Key Editor. Click on the box with 6 in it at the top. Change the action for the first line to Text w/Echo, enter DALL or DALL^M^J, and click OK. Contact the system and press Alt-6.

If the text still comes out garbled, you may need to use transmit pacing so it goes a bit slower. To set this value, select the Options | System Options | System Options menu item in Procomm and enter 5 in the Transmit pacing (milliseconds) field.

 
Thanks Knob,
Initially transmit could send only one letter i.e. D ouft of total string "DALL" then I changed system option - pacing to 5 and then transmit could send "DA" I tried increasing this to 20 - sometimes it transmits "DAL" - I will continue trial and error with this. But one thing I noticed is that the system options repeatedaly goes back to 0 "Zero" - Is there a way to change this programatically. When I tried to record the script - the recording shows only two sentences that is begining and ending of the script
Please help me with this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top