Esr - VXI VM4016 User Manual

Vxi analog comparator user's manual
Table of Contents

Advertisement

Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples
Related Commands
56

*ESR?

Queries and clears the Standard Event Status Register
IEEE 488.2 Common Command
N/A
N/A
N/A
ESR?
N/A
Numeric ASCII value from 0 to 255
The Event Status Register (ESR) 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 Event Status Bit (ESB) in the Status Byte. The layout of the
ESR is:
Bit 0 - Operation Complete
Bit 1 - Request Control
Bit 2 - Query Error
Bit 3 - Device Dependent Error
Bit 4 - Execution Error
Bit 5 - Command Error
Bit 6 - User Request
Bit 7 - Power On
The Operation Complete bit is set 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.
Command / Query
*ESR?
*ESE
Response (Description)
4
VM4016 Command Dictionary
VXI Technology, Inc.

Advertisement

Table of Contents
loading

Table of Contents