Crossware

Table of Contents        Previous topic       Next topic       

Terminal Emulation->Download Scripts->Script Commands->Wait for Prompt

WAIT FOR PROMPT String [, time-out]

The WAIT FOR PROMPT command instructs the Embedded Development Studio to wait for a string of characters to be received by the serial port.  A time-out period can also be specified.

The format for the WAIT FOR PROMPT command must be strictly adhered to.  The command words WAIT FOR PROMPT must be upper case, must start at the beginning of a line and there must be exactly one space character between each of the three words.

The string to wait for should be in quotes and the optional time-out period is in milliseconds.

Examples:

WAIT FOR PROMPT  "> ", 3000

WAIT FOR PROMPT  "D2000"