EasyManua.ls Logo

Rohde & Schwarz SMBV100A - Application of the Status Reporting System

Rohde & Schwarz SMBV100A
780 pages
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 Basics
R&S
®
SMBV100A
429Operating Manual 1407.6062.32 ─ 08
Bit No. Meaning
5 Command Error
This bit is set if a command which is undefined or syntactically incorrect is received. An error
message with a number between 100 and 200, which denotes the error in greater detail, is entered
into the error queue.
6 User Request
This bit is set on pressing the LOCAL key, i.e. when the instrument is switched over to manual
operation.
7 Power On (supply voltage on)
This bit is set on switching on the instrument.
6.5.5 Application of the Status Reporting System
The purpose of the status reporting system is to monitor the status of one or several
devices in a measuring system. To do this and react appropriately, the controller must
receive and evaluate the information of all devices. The following standard methods are
used:
Service request (SRQ) initiated by the instrument
Serial poll of all devices in the bus system, initiated by the controller in order to find
out who sent a SRQ and why
Parallel poll of all devices
Query of a specific instrument status by means of commands
Query of the error queue
6.5.5.1 Service Request
Under certain circumstances, the instrument can send a service request (SRQ) to the
controller. Usually this service request initiates an interrupt at the controller, to which the
control program can react appropriately. An SRQ is always initiated if one or several of
bits 2, 4 or 5 of the status byte are set and enabled in the SRE. Each of these bits com-
bines the information of the error queue or the output buffer. In order to use the possi-
bilities of the service request effectively, all bits should be set to "1" in the enable registers
SRE and ESE.
Example:
Use command *OPC to generate an SRQ .
*ESE 1 - set bit 0 of ESE (Operation Complete)
*SRE 32 - set bit 5 of SRE (ESB).
After its settings have been completed, the instrument generates an SRQ.
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.
Status Reporting System

Table of Contents

Other manuals for Rohde & Schwarz SMBV100A

Related product manuals