User`s manual

Table Of Contents
15. Appendix
400/398
________________________________________________________________________________________
Apollo Rel. 1.9 User's Manual
15.6 Escape sequences supported by the send command of the Serial Interface
Escape Sequence Represents
\a
\a\a
\a Bell (alert)
\b
\b\b
\b Backspace
\f
\f\f
\f Formfeed
\n
\n\n
\n New line
\r
\r\r
\r Carriage return
\t
\t\t
\t Horizontal tab
\v
\v\v
\v Vertical tab
\'
\'\'
\' Single quotation mark
\\
\\\\
\\ Backslash
\?
\?\?
\? Literal question mark
\
\\
\
ooo
ASCII character in octal notation
\x
\x\x
\x
hhh
ASCII character in hexadecimal notation
Octal notation:
The ASCII character is entered with up to three digits. Subsequent ASCII characters have
to be separted by "\"
The following example sends "[0] abc [1] de [13]" to the serial interface:
"%ApolloProgram%\devicecmd.exe" -name:Wall1.Port1 -Send:"\0 abc \1 de \15"
Hexadecimal notation:
The ASCII character has to be entered as a two digit value. Subsequent ASCII characters
are just added. Evaluation of the string as notation in hexadecimal stops as soon as a
character can not be taken as a hexadecimal digit
The following example sends "[1 2 3 4 171]Hallo" to the serial interface:
"%ApolloProgram%\devicecmd.exe" -name:Wall1.Port1 -Send:"\x01020304ABHallo"
The \" is not supported, since the double quotation mark is used to brace the parameters of the
command line. To send the double quoatation mark ", use its octal notation \042
To send "Hello World", the following command has to be entered:
"%ApolloProgram%\devicecmd.exe" -name:Wall1.Port1 -Send: "\042Hello World\042"