Additional Basics on Remote Control
R&S
®
NGL200/NGM200
167
User Manual 1178.8736.02 ─ 06
Decimal representation of a bit pattern (binary weights)
The STB and ESR registers contain 8 bits, the status registers 16 bits. The contents of
a status register are specified and transferred as a single decimal number. To make
this possible, each bit is assigned a weighted value. The decimal number is calculated
as the sum of the weighted values of all bits in the register that are set to 1.
Figure A-2: Decimal representation of a bit pattern
Error Queue
Each error state in the instrument leads to an entry in the error queue. The entries of
the error queue are detailed plain text error messages. You can look them up in the
error log or via remote control using
SYSTem:ERRor[:NEXT]?
. Each call of
SYSTem:ERRor[:NEXT]?
provides one entry from the error queue. If no error mes-
sages are stored, the instrument responds with 0, "No error".
Status Reporting System