![Rohde & Schwarz CMW500 Series Скачать руководство пользователя страница 177](http://html1.mh-extra.com/html/rohde-and-schwarz/cmw500-series/cmw500-series_user-manual_1477718177.webp)
Remote Control
R&S
®
CMW500
177
User Manual 1173.9463.02 ─ 02
2. Wait until the measurement reaches the state RDY. If the state has not been reached
after 1 minute (60000 ms), continue nevertheless:
STAT:OPER:TASK:A:GPRF:MEAS:POW:XWEVent? (RDY),60000
Evaluate the returned value: () indicates that a timeout occurred, (RDY) indicates that
the state has been reached.
The SRQ is the only possibility for the instrument to become active on its own. Each
controller program should set the instrument such that a service request is initiated in the
case of malfunction. The program should react appropriately to the service request.
6.6.4.2
Serial Poll
In a serial poll, the controller queries the STatus Bytes of the devices in the bus system
one after another. The query is made via interface messages, so it is faster than a poll
by means of *STB?.
The serial poll method is defined in IEEE 488.1 and used to be the only standard possi-
bility for different instruments to poll the status byte. The method also works for instru-
ments 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 instruments
connected to the controller.
6.6.4.3
Parallel Poll
In a parallel poll, up to eight instruments are simultaneously requested by the controller
by means of a single command to transmit 1 bit of information each on the data lines,
i.e., to set the data line allocated to each instrument to a logical "0" or "1".
In addition to the SRE register, which determines the conditions under which an SRQ is
generated, there is a Parallel Poll Enable register (PPE). This register is ANDed with the
STB bit by bit, considering bit 6 as well. The results are ORed, the result is possibly
inverted and then sent as a response to the parallel poll of the controller. The result can
also be queried without parallel poll by means of the command "*IST?".
The parallel poll method is mainly used to find out quickly which one of the instruments
connected to the controller has sent a service request. To this effect, SRE and PPE must
be set to the same value.
6.6.4.4
Query of an Instrument Status
Each part of any status register can be read by means of queries. There are two types
of commands:
●
*ESR?, *IDN?, *IST?, *STB?
query the higher-level
registers.
●
The commands of the STATus system query the SCPI registers (e.g.
STATus:OPERation...
)
Status Reporting System