Chapter 4 Remote Operation and Programming
Command Types
Operating and Programming Manual 53
Optional Parameters
Parameters shown within square brackets ([ ]) are optional parameters. (The
brackets are not part of the parameter and are not sent to the instrument.) If you
do not specify a value for an optional parameter, the instrument selects the most
appropriate value.
Query Parameters
All selectable numeric parameters can be queried to return the minimum and
maximum values that are capable of being set to by sending a MIN or MAX
optional parameter after the ?. For example, consider the PTIMe:MJDate?
[MIN|MAX] command. If you send the command without specifying a
parameter, the present PTIMe:MJDate value is returned. If you send the MIN
parameter, the command returns the minimum usable value. If you send the
MAX parameter, the command returns the largest MJDate usable value. Be sure
to place a space between the command and the parameter.
Linking Commands
To link IEEE 488.2 Common Commands with SCPI commands on the same line,
use a semicolon between the commands. For example:
*RST;DIAG:CONT:RES?
Multiple SCPI commands with corresponding parameters can also be sent at the
same time. Here, the first command is always referenced to the root node.
Subsequent commands, separated by ;, are referenced to the same level as the
previous command if no : is present immediately after the command separator.
For example, sending
SOUR:ROSC:FREQ1 5.0E+6;ROSC:FREQ2 1E+7
is equivalent to sending:
SOUR:ROSC:FREQ1 5.0E+6
SOUR:ROSC:FREQ2 1E+7
The ā:ā must be present to distinguish another root level command. For example,
SYST:REM ON;:DIAG:CONT:RESET
is equivalent to sending:
SYST:REM ON
DIAG:CONT:RESET