User Manual
Command Syntax
Table 2-6: Osci
lloscope handling of incorrect numeric arguments
Argument value
Oscilloscope r espo nse
Numeric argum
ent is less than lowest correct
value for that command
Sets the specified command to the lowest
correct value and executes the command
Numeric argument is greater than the highest
correct value for that command
Sets the specified command to the highest
correct val
ue and executes the command
Numeric value is between two correct values Rounds the entered value to the nearest
correct val
ue and executes the command
Quoted String Arguments
Some commands accept or return data in the form of a quoted string, which is
simply a group of ASCII characters enclosed by single quotes (’) or double quotes
("). For example:
"this is a quoted string"
Symbol Meaning
<QString> Quoted string of ASCII text
Follow these rules when you use quoted strings:
1. A quoted string can include any character defined in the 7-bit ASCII character
set. (See page 4-1, ASCII Code Chart.).
2. Use the same type of quote character to open and close the string:
"this is a valid string"
3. You can mix quotation marks within a string if you follow the previous rule:
"this is an ’acceptable’ string"
4. You can include a quote character within a string simply by repeating the
quote. For example,
"hereisa""mark"
5. Strings can have upper or lower case characters.
6. If you use a GPIB network, you cannot terminate a quoted s tring with the
END message before the closing delimiter.
7. A carriage return or line feed embedded in a quoted string does n ot terminate
the string, but is treated as just anot
her character in the s tring.
8. The m aximum length of a quoted string returned from a query is 1000
characters.
Here are some examples of invalid strings:
"Invalid string argument’ (quotes are not of the same type)
"test<EOI>" (termination character is embedded in the string)
2-8 TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer