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

Truncated Transmit Command

Status
Not open for further replies.

Islander6

Technical User
Sep 21, 2006
1
US
New to ASPECT programming. Created a short script that intermittantly truncates a transmitted command. Any thoughts? Example: The "ACALL" command below will transmit as "ACAL".

;ACALL
transmit "^[^[^["
waitfor ">> "
transmit "ACALL^M"
 
It looks technically correct.

My guess would be something else is going on to cause this.
Is the ">>" showing up more then once, and the transmit is firing early?

A good practice is it use:

Code:
waitfor ">>" forever

This keeps your program from 'timing out' waiting for the prompt.

We may need to see more of your code to help with this one.
 
You can use Procomm's monitor window to see exactly what is coming in and going out rather than the filtered/formatted view Procomm gives you. This will let you see if the full string is bring sent from your end and echoed properly by the remote system. Here is some more information on this from my site:

Procomm's Monitor Window can be used to view the incoming and outgoing data, in both hex and ASCII format. To activate this window, select the Data | Monitor Window menu item. Resize the Monitor Window so that you can view the entire width of the window, then click back in the Procomm Plus window so that the Monitor Window does not have focus. Incoming text is displayed in red, while text you send is colored blue. The Monitor Window can be handy for viewing incoming escape sequences (to determine if Procomm Plus is responding properly to them) or to verify that the program is sending the data you think it should be.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top