IEEE-488 Reference
3-37
The Service Request Enable Register is shown in Figure 3-16. 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:
*SSE 34
where; ESB (bit B5) = Decimal
32
MAV (bit B4) = Decimal
16
<NRf> =
48
The contents of the Service Request Enable Register can be read using the *SRE? query com-
mand.
PRINT #1, "output 16; *sre 32; *sre?"
' Unmask ESB bit and query register
PRINT #1, "enter 16"
' Send response message to 2002
Program fragment
Figure 3-16
Service Request Enable Register
B7
B6
B5
B4
B3
B2
B1
B0
(2 )
7
(2 )
5
(2 )
4
(2 )
3
(2 )
2
(2 )
0
32
0/1
Bit Position
Event
Decimal Weighting
Value
Value : 1 = Enable Service Request
Event
0 = Disable (Mask) Service
Request Event
Events : OSB = Operation Summary Bit
ESB = Event Summary Bit
MAV = Message Available
QSB = Questionable Summary Bit
EAV = Error Available
MSB = Measurement Summary Bit
OSB
ESB
MAV QSB
EAV
0/1
0/1
0/1
0/1
128
16
8
4
MSB
1
0/1
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......