Sre? - Service Request Enable Query - Keithley 2001 Operator's Manual

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

Programming Example
*SRE?  service request enable query
4.10.13
Purpose
Format
Description
2001-900-01 Rev. K / August 2010
The Service Request Enable Register is shown in cáÖìêÉ=QJNT=. Notice that the decimal weight
of each bit is included in the illustration. The sum of the decimal weights of the bits that you
wish to set is the value that is sent with the *SRE command. For example, to set the ESB and
MAV bits of the Service Request Enable Register, send the following command:
*SRE 34
where; ESB (bit B5) = Decimal
MAV (bit B4) = Decimal
parameter =
The contents of the Service Request Enable Register can be read using the *SRE? query com-
mand (see next paragraph).
OUTPUT 716; "*SRE 32"
Bit Position
Event
Decimal Weighting
Value
Value : 1 = Enable Service Request Event
0 = Disable (Mask) Service Request Event
cáÖìêÉ=QJNT
Service Request Enable Register
To read the contents of the Service Request Enable Register.
*SRE?
The *SRE? command is used to acquire the value (in decimal) of the Service Request Enable
Register. The binary equivalent of the decimal value determines which bits in the register are
set. When the *SRE? query command is sent, the decimal value is placed in the Output Queue.
When the Model 2001 is addressed to talk, the value is sent from the Output Queue to the
computer.
For example, for an acquired decimal value of 17, the binary equivalent is 00010001. This bi-
nary value indicates that Bits 4 and 0 of the Service Request Enable Register are set (see previ-
ous paragraph).
32
16
48
! Set ESB bit
B7
B6
B5
B4
B3
B2
OSB
ESB
MA
QSB
EAV
128
32
16
8
7
5
4
3
(2 )
(2 )
(2 )
(2 )
(2 )
0/1
0/1
0/1
0/1
0/1
Events : OSB = Operation Summary Bit
IEEE-488 Reference
B1
B0
MSB
4
1
2
0
(2 )
0/1
ESB = Event Summary Bit
MAV = Message Available
QSB = Questionable Summary Bit
EAV = Error Available
MSB = Measurement Summary Bit
4-47

Advertisement

Table of Contents
loading

Table of Contents