Crossware

Table of Contents        Previous topic       Next topic       

Terminal Emulation->Download Scripts->Script Commands->Type Line

TYPE LINE String

The TYPE LINE script command instructs the Embedded Development Studio to send a line of text to the serial port.  The text to send is included in quotes after the TYPE LINE command.  A carriage return will be transmitted after the text has been transmitted and if the CR ->R/LF transmit option is selected a line feed will be transmitted too.

The format for the TYPE LINE command must be strictly adhered to.  The command words TYPE LINE must be upper case, must start at the beginning of a line and there must be exactly one space character between the two words.

The text in quotes following TYPE LINE will be transmitted literally.  If there is no text between the quotes only the carriage return and optional line feed will be transmitted.

Examples:

TYPE LINE  "L"

TYPE LINE  ""

The first example will result in the letter L and a carriage return being transmitted via the serial port.  If the CR ->R/LF transmit option is enabled, a line feed will also be transmitted following the carriage return.

The second example will result in a carriage return being transmitted via the serial port.  If the CR ->R/LF transmit option is enabled, a line feed will also be transmitted following the carriage return.