EasyManua.ls Logo

R&S NRP2 - Page 330

R&S NRP2
437 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control - Commands
R&S
®
NRP2
312User Manual 1173.9157.02 ─ 03
Bit No. Meaning
5 to 14 Not used
15 Bit 15 will never be used.
6.13.20 Use of Status Reporting System
For an efficient use of the status reporting system, the information it contains has to be
transferred to the controller and further processed. There are various methods which are
described in the following.
6.13.20.1 Service Request, Use of the Hierarchical Structure
Under certain conditions, the device may send a service request (SRQ) to the controller.
This service request usually causes an interrupt at the controller to which the controller
program can respond by suitable actions. As shown in figure 6-17Overview on structure
of Status Reporting System, an SRQ will always be triggered if one or several of the bits
2, 3, 4, 5 or 7 have been set in the Status Byte Register and enabled in the SRE. Each
of these bits combines the information from another register, from the error queue or the
output buffer. If the ENABle registers of the status registers are set accordingly, any bit
in any status register will be able to trigger an SRQ. To utilize the possibilities of the
service request, all bits in the enable registers SRE and ESE should be set to "1".
Examples
See also figure 6-17Overview 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 certain
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.
STATus

Table of Contents

Related product manuals