Remote control - status reporting system
R&S
®
RTM3000
816
User Manual 1335.9090.02 ─ 09
B
Remote control - status reporting system
The status reporting system stores all information on the current operating state of the
instrument, and on errors which have occurred. This information is stored in the status
registers and in the error queue. Both can be queried via GPIB bus or LAN interface
(
STATus
... commands).
B.1
Structure of a SCPI status register
Each SCPI status register consists of five parts. Each part has a width of 16 bits and
has different functions. The individual bits are independent of each other, i.e. each
hardware status is assigned a bit number, which is valid for all five parts. Bit 15 (the
most significant bit) is set to zero for all parts. Thus, the contents of the register parts
can be processed by the controller as positive integers.
Figure B-1: The status-register model
Description of the five status register parts
The five parts of a SCPI status register have different properties and functions:
●
CONDition
The
CONDition
part is written directly by the hardware or it mirrors the sum bit of
the next lower register. Its contents reflect the current instrument status. This regis-
ter part can only be read, but not written into or cleared. Its contents are not affec-
ted by reading.
●
PTRansition / NTRansition
The two transition register parts define which state transition of the
CONDition
part (none, 0 to 1, 1 to 0 or both) is stored in the
EVENt
part.
The
Positive-TRansition
part acts as a transition filter. When a bit of the
CONDition
part is changed from 0 to 1, the associated
PTR
bit decides whether
the
EVENt
bit is set to 1.
Structure of a SCPI status register