
Remote Control - Commands
NRP2
316
User Manual 1173.9140.02 ─ 07
possibilities of the service request, all bits in the enable registers SRE and ESE should
be set to "1".
Examples
See also
Overview on structure of Status Reporting System
.
Use the *OPC command to generate an SRQ:
1. Set bit 0 (operation complete) in the ESE.
2. Set bit 5 (ESB) in the SRE.
The device generates an SRQ upon completion of its settings.
Informing the controller by an SRQ that a measurement has been completed:
1. Set bit 7 (summary bit of Status Operation Register) in the SRE.
2. Set bit 4 (measuring) in the ENABle register of the Status Operation Register.
3. Set bit 4 in the NTRansition register of the Status Operation Register to make cer-
tain that the transition of measuring bit 4 from 1 to 0 (end of measurement) is also
recorded in the EVENt register.
The device generates an SRQ when the measurement is completed.
The SRQ is the only way for the device to become active of its own. Each controller
program should set the device such that a service request is triggered in case of mal-
functions. The program should respond accordingly to the service request.
6.13.20.2
Serial Poll
Like the
*STB?
command, the serial poll is used to query the status byte of a device.
Querying is implemented by interface messages, however, and is therefore much
quicker. The serial poll method has already been defined in the IEEE 488.1 standard,
and used to be the only standard method of querying the Status Byte Register. This
method also works with devices that conform neither to SCPI nor to IEEE 488.2. Serial
poll is mainly used to obtain a quick overview of the device status of several devices
connected to the IEC/IEEE bus.
6.13.20.3
Parallel Poll
In case of a parallel poll, up to eight devices are simultaneously requested by the con-
troller to transmit one bit of information on the data line, i.e. to set the data line
assigned to each device to logical 0 or 1. Analogously to the SRE register, which deter-
mines the conditions for generating an SRQ, a Parallel Poll Enable Register (PPE) is
available which is ANDed bit-by-bit with the STB (taking into account bit 6). The results
are ORed and the result is then sent (possibly in inverted format) to the controller as a
response to a parallel poll. The result can also be read without a parallel poll by the
query *IST?.
STATus
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com