www.vtiinstruments.com
VM3608A/3616A Command Dictionary
69
*ESR?
Purpose
Queries and clears the Standard Event Status Register.
Type
IEEE 488.2 Common Command
Command Syntax
None - Query only
Command Parameters
N/A
*RST Value
N/A
Query Syntax
ESR?
Query Parameters
None
Query Response
Numeric ASCII value from 0 to 255
Description
The Event Status Register query - queries and clears the contents of the Standard Event
Status Register. This register is used in conjunction with the ESE register to generate the
ESB (Event Status Bit) in the Status Byte.
The layout of the ESR is:
Bit 0 - Operation Complete
Bit 1 - Request Control (not used in the VM3608A/3616A, always 0)
Bit 2 - Query Error
Bit 3 - Device Dependent Error (not used in the VM3608A/3616A, always 0)
Bit 4 - Execution Error
Bit 5 - Command Error
Bit 6 - User Request (not used in the VM3608A/3616A, always 0)
Bit 7 - Power On
The Operation Complete bit is set by the VM3608A/3616A when it receives an *OPC
command.
The Query Error bit is set when data is over-written in the output queue. This could occur
if one query is followed by another without reading the data from the first query.
The Execution Error bit is set when an execution error is detected. Errors that range from
-200 to -299 are execution errors.
The Command Error bit is set when a command error is detected. Errors that range from -
100 to -199 are command errors.
The Power On bit is set when the module is first powered on or after it receives a reset
via the VXI Control Register. Once the bit is cleared (by executing the *ESR? command)
it will remain cleared.
Examples
Command / Query
Response
(Description)
*ESR?
4
Related Commands
*ESE <mask>
Summary of Contents for VM3608A
Page 2: ...VTI Instruments Corp 2 ...
Page 6: ...VTI Instruments Corp 6 VM3608A 3616A Preface ...
Page 12: ...VTI Instruments Corp 12 VM3608A 3616A Preface ...
Page 18: ...VTI Instruments Corp 18 VM3608A 3616A Introduction ...
Page 134: ...VTI Instruments Corp 134 VM3608A 3616A Command Dictionary ...