www.vxitech.com

 

 

 

 

*ESE

 

 

 

 

 

 

 

Purpose

Sets the bits of the Event Status Enable Register

 

 

 

 

 

 

 

 

Type

IEEE 488.2 Common Command

 

 

 

 

 

 

 

 

Command Syntax

*ESE <mask>

 

 

 

 

 

 

 

 

 

 

Command Parameters

<mask> = numeric ASCII value

 

 

 

 

 

 

 

 

*RST Value

N/A, the parameter is required

 

 

 

 

 

 

 

 

Query Syntax

*ESE?

 

 

 

 

 

 

 

 

 

 

Query Parameters

N/A

 

 

 

 

 

 

 

 

 

 

Query Response

Numeric ASCII value from 0 to 255

 

 

 

 

 

 

 

 

Description

The Event Status Enable (ESE) command is used to set the bits of the Event Status

 

 

 

Enable Register. See ANSI/IEEE 488.2-1987 section 11.5.1 for a complete

 

 

 

description of the ESE register. A value of 1 in a bit position of the ESE register

 

 

 

enables generation of the Event Status Bit (ESB) in the Status Byte by the

 

 

 

corresponding bit in the Event Status Register (ESR). If the ESB is set in the Service

 

 

 

Request Enable (SRE) register, then an interrupt will be generated. See the *ESR?

 

 

 

command for details regarding the individual bits. The ESE register layout 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 Event Status Enable query reports the current contents of the Event Status Enable

 

 

 

Register.

 

 

 

 

 

 

 

 

 

 

Examples

Command / Query

 

Response (Description)

 

 

 

*ESE 36

 

 

 

 

 

*ESE?

 

36 (Returns the value of the event status enable register)

 

 

 

 

 

 

 

 

Related Commands

*ESR?

 

 

VM4016 Command Dictionary

53

Page 53
Image 53
VXI VM4016 user manual Ese, Response Description