Serial Port
Script File Variables
Eleven string variables can be used within the
string
above.
These are used to include special characters within the string.
Variable
Description
\a
alert (normally creates a beep)
\b
backspace
\f
form feed
\n
new line
\r
carriage return
\t
horizontal tab
\v
vertical tab
\?
Literal question mark
\’
literal single quotation mark
\”
literal double quotation mark
\\
literal back slash
•
Quote characters are special characters.
•
Because each of these variables starts with a backslash,
the backslash character ( \ ) is also a special character.
As an example, to send the string "User Name" (including the
quotes), the script file entry should be as follows:
send "\"User Name\""
Summary of Contents for IAS-240
Page 5: ...iv ...