Rohde & Schwarz RTB2002 Oscilloscope

User Manual - Page 491

For RTB2002.

PDF File Manual, 510 pages, Read Online | Download pdf file

RTB2002 photo
Loading ...
Loading ...
Loading ...
Status Reporting System
R&S
®
RTB2000
483User Manual 1333.1611.02 ─ 03
The SRQ is the only possibility for the instrument to become active on its own. Each
controller program should cause the instrument to initiate a service request if errors
occur. The program should react appropriately to the service request.
C.4.2 Serial Poll
In a serial poll, just as with command *STB, the status byte of an instrument is queried.
However, the query is realized via interface messages and is thus clearly faster.
The serial poll method is defined in IEEE 488.1 and used to be the only standard pos-
sibility for different instruments to poll the status byte. The method also works for
instruments which do not adhere to SCPI or IEEE 488.2.
The serial poll is mainly used to obtain a fast overview of the state of several instru-
ments connected to the controller.
C.4.3 Query of an instrument status
Each part of any status register can be read using queries. There are two types of
commands:
The common commands *ESR?, *IDN?, *IST?, *STB? query the higher-level
registers.
The commands of the STATus system query the SCPI registers
(STATus:QUEStionable...)
The returned value is always a decimal number that represents the bit pattern of the
queried register. This number is evaluated by the controller program.
Queries are usually used after an SRQ in order to obtain more detailed information on
the cause of the SRQ.
C.4.3.1 Decimal representation of a bit pattern
The STB and ESR registers contain 8 bits, the SCPI 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.
Application of the Status Reporting System
Loading ...
Loading ...
Loading ...