Ese *ese? *esr? *gmc – VXI VT1422A User Manual

Page 403

Advertising
background image

VT1422A Command Reference 401

Chapter 7

IEEE-488.2 Common Command Reference

*ESE

*ESE <mask>

Standard Event Status Enable Register Command. Enables one or

more events in the Standard Event Status Register to be reported in bit 5 (the Standard
Event Status Summary Bit) of the Status Byte Register. An event is enabled by
specifying its decimal weight for <mask>. To enable more than one event (bit),
specify the sum of the decimal weights. The data type for <mask> is int16.

Send with VXIplug&play Function: hpe1422_cmd(...)

*ESE?

*ESE?

Standard Event Status Enable Query. Returns the weighted sum of all enabled

(unmasked) bits in the Standard Event Status Register. The data type for this returned
value is int16.

*ESR?

*ESR?

Standard Event Status Register Query. Returns the weighted sum of all set

bits in the Standard Event Status Register. After reading the register, *ESR? clears
the register. The events recorded in the Standard Event Status Register are
independent of whether or not those events are enabled with the *ESE command to
set the Standard Event Summary Bit in the Status Byte Register. The Standard Event
bits are described in the *ESE command. The data type for this returned value is int16.

*GMC?

*GMC? <name>

Get Macro query. Returns arbitrary block response data which

contains the command or command sequence defined for <name>. For more
information, see “Arbitrary Block Program and Response Data” on page 233.

Bit #

7

6

5

4

3

2

1

0

Weighted Value

128

64

32

16

8

4

2

1

Event

power-On

User

Request

Command

Error

Execution

Error

Device Dependent

Error

Query

Error

Request

Control

Operation

Complete

Advertising
This manual is related to the following products: