Command Syntax
Argument Types
Numeric
Many instrument commands require numeric arguments. The syntax shows the
format that the instrument returns in response to a query. This is also the preferred
format when sending the command to the instrument though any of the formats
will be accepted. This documentation represents these arguments as follows:
Table 2-14: Numeric Arguments
Symbol Meaning
<NR1>
Signed integer value
<NR2> Floating point value w ithout an exponent
<NR3> Floating point value w ith an exponent
Most numeric arguments will be automatically forced to a valid setting, either by
rounding or truncating, when an invalid number is input unless otherwise noted
in the command description.
Quoted String
Some commands accept or return data in the form of a quoted string, which is
simply a group of ASCII characters enclosed by a single quote (') or double quote
("). The following i
s an example of a quoted string:
"This i s a quoted
string"
. This documentation represents these arguments as follows:
Table 2-15: Quoted String Argument
Symbol Meaning
<QString> Quoted string of ASCII text
A quoted string can include any character deļ¬ned in the 7-bit ASCII character
set. Follow these rules when you use quoted strings:
1. Use the same type of quote character to open and close the string. For
example:
"this i s a valid string".
2. You c an mix quotation marks within a string as long as you follow the
previous rule. For example,
"this is an 'acceptable' strin g".
3. You can include a quote character within a string by repeating the quote. For
example:
"here is a "" mark".
4. Strings can have upper or lower case characters.
5. If you use a G PIB network, you cannot terminate a quoted string with the
END message before the c losing delimiter.
6. A carriage return or line feed embedded in a quoted string does not terminate
the string, but is treated as just another character in the string.
7. The maximum length of a quoted string returned from a query is 1000
characters.
DSA/CSA/TDS8X00/B Series Programmer Manual 2-9