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

Hf digital wideband receiver
Table of Contents

Advertisement

Remote Control via LAN

5.5.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 given in Annex E: LAN Programming Examples.
5.5.4.1 Service Request, Making Use of the Hierarchy Structure
Under certain circumstances, the device can send a "service request" (SRQ) to the host. As Figure 5-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 is
possible for any bits in any status register to 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 (see also Figure 5-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 E: LAN Programming Examples.
5.141
EM510
4065.7763.32-01.00

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents