Event Status Register (Esr) And Event Status Enable Register (Ese) - R&S SGT100A User Manual

Sgma vector rf source
Table of Contents

Advertisement

®
R&S
SGT100A
Bit No.
4
5
6
7
15.1.5.4

Event Status Register (ESR) and Event Status Enable Register (ESE)

The ESR is defined in IEEE 488.2. It can be compared with the EVENt part of a SCPI
register. The event status register can be read out using command *ESR?.
The ESE corresponds to the ENABle part of a SCPI register. If a bit is set in the ESE
and the associated bit in the ESR changes from 0 to 1, the ESB bit in the STB is set.
The ESE register can be set using the command
*ESE?.
Table 15-3: Meaning of the bits used in the event status register
Bit No.
0
1
2
3
4
User Manual 1176.8674.02 ─ 07
Meaning
MAV bit (message available)
The bit is set if a message is available in the output queue which can be read. This bit can be
used to enable data to be automatically read from the instrument to the controller.
ESB bit
Sum bit of the event status register. It is set if one of the bits in the event status register is set
and enabled in the event status enable register. Setting of this bit indicates a serious error which
can be specified in greater detail by polling the event status register.
MSS bit (master status summary bit)
The bit is set if the instrument triggers a service request. This is the case if one of the other bits
of this registers is set together with its mask bit in the service request enable register SRE.
STATus:OPERation status register summary bit
The bit is set if an EVENt bit is set in the OPERation status register and the associated
ENABle bit is set to 1. A set bit indicates that the instrument is just performing an action. The
type of action can be determined by querying the STATus:OPERation status register.
Meaning
Operation Complete
This bit is set on receipt of the command *OPC exactly when all previous commands have been
executed.
Not used
Query Error
This bit is set if either the controller wants to read data from the instrument without having sent a
query, or if it does not fetch requested data and sends new instructions to the instrument
instead. The cause is often a query which is faulty and hence cannot be executed.
Device-dependent Error
This bit is set if a device-dependent error occurs. An error message with a number between
-300 and -399 or a positive error number, which denotes the error in greater detail, is entered
into the error queue.
Execution Error
This bit is set if a received command is syntactically correct but cannot be performed for other
reasons. An error message with a number between -200 and -300, which denotes the error in
greater detail, is entered into the error queue.
Remote Control Basics
and read using the command
*ESE
Annex
542

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents