IEEE-488.2 Common Command Reference
*SRE
Bit #
Weighted Value
Event
*SRE?
404 VT1422A 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 <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.
7
6
5
128
64
32
Operation
Request
Standard
Status
Service
Event
Send with VXIplug&play Function: hpe1422_cmd(...)
*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.
4
3
16
8
Message
Questionable
Available
Status
2
1
0
4
2
1
not used
not used
not used
Chapter 7