Rohde & Schwarz MXO44-245 Oscilloscope

User Manual - Page 394

For MXO44-245.

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

MXO44-245 photo
Loading ...
Loading ...
Loading ...
Network operation and remote control
R&S
®
MXO 4 Series
394User Manual 1335.5337.02 ─ 05
The following standard methods are used:
Service request: An SRQ is initiated by the instrument.
Query of a specific register by commands
Query of the error queue
These methods are described in the following sections.
Service request
The instrument can send a service request (SRQ) to the controller. Usually, this service
request initiates an interrupt at the controller, to which the control program can react
appropriately.
An SRQ is initiated if one or several of bits 2, 3, 4, 5 or 7 of the STB are set and
enabled in the SRE. Each of these bits combines the information of a lower-level regis-
ter, the error queue or the output buffer.
The ENABle parts of the status registers can be set such that arbitrary bits in an arbi-
trary status register initiate an SRQ. To use service requests effectively, set all bits to
"1" in the mask registers SRE and ESE.
The SRQ is the only possibility for the instrument to become active on its own. Config-
ure the instrument so that it initiates a service request if errors occur. And ensure that
your program reacts appropriately to service requests.
Query of a register
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. Therefore,
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.
Example:
The decimal value 40 = 32 + 8 indicates that bits no. 3 and 5 in the status register (e.g.
the QUEStionable status summary bit and the ESB bit in the STatus Byte) are set.
16.5.4 Error queue
Each error state in the instrument leads to an entry in the error queue.
The error queue should be queried after every SRQ in the controller program as the
entries describe the cause of an error more precisely than the status registers. Espe-
cially in the test phase of a controller program the error queue should be queried regu-
Remote control - status reporting system
Loading ...
Loading ...
Loading ...