Sre *sre – VXI VT1422A User Manual

Page 406

Advertising
background image

404 VT1422A Command Reference

Chapter 7

IEEE-488.2 Common Command Reference

Sets the trigger system as follows:

-- TRIGGER:SOURCE TIMER
-- TRIGGER:TIMER 10E-3
-- TRIGGER:COUNT 0 (infinite)
-- ARM:SOURCE IMMEDIATE

SAMPLE:TIMER 40E-6

Aborts all pending operations, returns to Trigger Idle state

Disables the *OPC and *OPC? modes

MEMORY:VME:ADDRESS 240000; MEMORY:VME:STATE OFF;

MEMORY:VME:SIZE 0

Sets STAT:QUES:COND? bit 13

*RST does not affect:

Calibration data

The output queue

The Service Request Enable (SRE) register

The Event Status Enable (ESE) register

*SRE

*SRE <mask>

Service Request Enable. When a service request event occurs, it sets

a corresponding bit in the Status Byte Register (this happens whether or not the event
has been enabled (unmasked) by *SRE). The *SRE command allows one to identify
which of these events will assert an GPIB service request (SRQ). When an event is
enabled by *SRE and that event occurs, it sets a bit in the Status Byte Register and
issues an SRQ to the computer (sets the GPIB SRQ line true). An event is enabled
by specifying its decimal weight for <mask>. To enable more than one event, specify
the sum of the decimal weights. Refer to "The Status Byte Register" for a table
showing the contents of the Status Byte Register. The data type for <mask> is int16.

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

*SRE?

*SRE?

Status Register Enable Query. Returns the weighted sum of all enabled

(unmasked) events (those enabled to assert SRQ) in the Status Byte Register.
The data type for this returned value is int16.

Bit #

7

6

5

4

3

2

1

0

Weighted Value

128

64

32

16

8

4

2

1

Event

Operation

Status

Request

Service

Standard

Event

Message

Available

Questionable

Status

not used

not used

not used

Advertising
This manual is related to the following products: