Esr?  Event Status Register Query - Keithley 7001 Instruction Manual

High density switch system
Hide thumbs Also See for 7001:
Table of Contents

Advertisement

*ESR?  event status register query
5.10.4
Purpose
Format
Defaults
Description
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
To read the contents of the Standard Event Status Register and clear it.
*ESR?
Power-up
*CLS
*RST
:STATus:PRESet
DCL, SDC
This command is used to acquire the value (in decimal) of the Standard Event Status Register
(see Figure 5-14). The binary equivalent of the returned decimal value determines which bits in
the register are set. When the *ESR? command is sent, the decimal value is placed in the Output
Queue and the Standard Event Status Register is cleared. When the Model 7001 is addressed to
talk, the value in the Output Queue is sent to the computer.
A set bit in this register indicates that a particular event has occurred. For example, for an ac-
quired decimal value of 48, the binary equivalent is 0011 0000. For this binary value, bits B4
and B5 of the Standard Event Status Register are set. These set bits indicate that a device-de-
pendent error and command error have occurred.
The bits of the Standard Event Status Register are described as follows:
Bit B0, Operation Complete (OPC)  Set bit indicates that all pending selected device oper-
ations are completed and the Model 7001 is ready to accept new commands. This bit will only
set in response to the *OPC? query command (see paragraph 5.10.7).
Bit B1  Not Used
Bit B2, Query Error (QYE)  Set bit indicates that you attempted to read data from an empty
Output Queue.
Bit B3, Device-dependent Error (DDE)  Set bit indicates that an instrument operation did
not execute properly due to some internal condition.
Bit B4, Execution Error (EXE)  Set bit indicates that the Model 7001 detected an error while
trying to execute a command.
Bit B5, Command Error (CME)  Set bit indicates that a command error has occurred. Com-
mand errors include:
1. IEEE-488.2 syntax error: Model 7001 received a message that does not follow the defined
syntax of the IEEE-488.2 standard.
Clears register
Clears register
No effect
No effect
No effect
IEEE-488 Reference
5-43

Advertisement

Table of Contents
loading

Table of Contents