Section 7 Remote Control Using PC
7-10
7.4 Command Syntax
7.4.1 Elements of command syntax
The command is a character string composed of alphabets, numeric values and sym-
bols, which include a header and a parameter as character strings to determine com-
mand function, and syntax elements of command such as a question mark (?) and a
space.
• Header
• Parameter
• ? (question mark)
• , (comma)
• (space)
• ; (semi-colon)
• * (asterisk)
• " (double quotation mark)
• ' (quotation mark)
Note:
Parameter values that can be used in the MT8820A are integer number (NR1) and
fixed decimal point (NR2). For alphabets, both capitals and lower cases are avail-
able.
(1) Header
Name of a command that is always placed at the beginning of a command.
The header may function by itself. A question mark (?) at the end indicates
that the command is a query. An asterisk (*) at the beginning indicates that the
command is an IEEE488.2 common command.
Example:
SINGLS
FREQ?
*RST
(2) Parameter
Indicates the set value or query conditions on the header. Arranged following
the header with a space in between, substitutes alphabets and numeric values.
Plural arguments can be specified by using a comma (,) as a delimiter. Some
arguments can be omitted.
Example:
FREQ 1920HZ
TXPWR? WATT
DATE 2001,07,23