Use Of The Status Reporting System - R&S EB200 Manual

Miniport receiver
Table of Contents

Advertisement

EB200 Manual

4.7.4 Use of the Status Reporting System

In order to be able to effectively use the status reporting system, the information contained there has to
be transmitted to the host where it is further processed. There are several methods which are described
in the following. Detailed programming examples are to be found in Annex D.
4.7.4.1 Service request, making zse of the hierarchy structure
Under certain circumstances, the device can send a "service request" (SRQ) to the host. As Fig. 4-5
shows, an SRQ is always initiated if one or several bits of bits 0, 1, 2, 3, 4, 5 or 7 of the status byte are
set and enabled in the SRE. Each of these bits combines the information of a further register, the error
queue or the output buffer. By setting the ENABle sections of the status registers correspondingly it
can be achieved that any bits in any status register initiate an SRQ. In order to make use of the
possibilities of the service request, all bits should be set to "1" in enable registers SRE and ESE.
Examples (also see Fig. 4-5):
Use command "*OPC" to generate an SRQ
Set bit 0 in the ESE (Operation Complete)
Set bit 5 in the SRE
After completion of the settings, the device generates an SRQ.
Indication of a signal during a sweep by means of an SRQ at the host
Set bit 7 in the SRE (summary bit of the STATus:OPERation register)
Set bit 3 (SWEeping) in the STATus:OPERation:ENABle.
Set bit 3 in the STATus:OPERation:NTRansition so that the change of SWEeping bit 3 from 0 to 1
is also recorded in the EVENt section.
Set bit 0 in STATus:OPERation:SWEeping:ENABle
Set bit 0 in STATus:OPERation:SWEeping:PTRansition so that the change of hold bit 0 from 0 to 1
is also recorded in the EVENt section.
The device generates an SRQ after a signal has been found.
The SRQ is the only possibility for the device to become active on its own. Each host program should
set the device so that a service request is initiated in case of malfunction. The program should react
appropriately to the service request. A detailed example for a service request routine can be found in
Annex D, Programming Examples.
4052.2000.02
4.140
Remote control
E-7

Advertisement

Table of Contents
loading

Table of Contents