Introduction
The following syntax rules apply to all the remote commands. A command
consists of a word (by itself or a word followed by one or more parameters). The
rules for parameter syntax are provided first, including proper usage of units and
multipliers, followed by the rules for extra spaces, followed by the rules for
terminator usage. A description of how the Product processes incoming
characters provides the basis for answering other possible questions about
syntax. Information about syntax of response messages is also given.
Parameter Syntax Rules
Many of the remote commands require parameters, which must be used properly
to prevent command errors. When a command error occurs, bit CME (5) in the
Event Status Register (ESR) goes to 1 (if enabled in ESE register), and the error
is logged in the error queue. Table 6-1 lists the vocabulary of units accepted in
command parameters and used in responses.
General rules for parameter usage are:
•
When a command has more than one parameter, the parameters must be
separated by commas. For example: "CLOCK 133700,071712".
•
Numeric parameters can have up to 15 significant digits and their exponents
can be in the range ±1.0E ±20.
•
Including too many or too few parameters causes a command error.
•
Null parameters cause a command error (for example, the adjacent commas
in "CLOCK 133700, , 071712").
•
Do not use expressions as parameters, for example "(4+2*13)".
Remote Commands
Chapter 6
6-1