Remote control basics
R&S
®
RTB2000
577
User Manual 1333.1611.02 ─ 11
Event status enable register (ESE)
1. Execute
*ESE 1
Sets the OPC mask bit (bit No. 0) of the Standard Event Status Register (ESR) to 1
2. Send the overlapped command without
*OPC
,
*OPC?
or
*WAI
.
Example:
INIT; *OPC?
3. Poll the operation complete state periodically (with a timer) using the sequence:
*OPC; *ESR?
A return value (LSB) of 1 indicates that the overlapped command has finished.
A.3
Messages
A.3.1
Instrument messages
Instrument messages are employed in the same way for all interfaces, if not indicated
otherwise in the description.
There are different types of instrument messages, depending on the direction they are
sent:
●
Commands
●
Instrument responses
Structure and syntax of the instrument messages are described in
Commands
Commands (program messages) are messages that the controller sends to the instru-
ment. They operate the instrument functions and request information. The commands
are subdivided according to two criteria:
●
According to the effect on the instrument:
–
Setting commands
cause instrument settings such as a reset of the instru-
ment or setting the frequency.
–
Queries
cause data to be provided for remote control, e.g. for identification of
the instrument or polling a parameter value. Queries are formed by directly
appending a question mark to the command header.
●
According to their definition in standards:
–
Common commands
: their function and syntax are precisely defined in stan-
dard IEEE 488.2. They are employed identically on all instruments (if imple-
mented). They refer to functions such as management of the standardized sta-
tus registers, reset and self-test.
–
Instrument control commands
refer to functions depending on the features of
the instrument such as frequency settings. Many of these commands have also
Messages