
3-12
Common Commands
*SRE (Service Request Enable)
Example
10 OUTPUT 707;"*SAV 3"
*SRE (Service Request Enable)
Command
*SRE <mask>
The *SRE command sets the Service Request Enable Register bits. By setting the *SRE,
when the event happens, you have enabled the analyzer’s interrupt capability. The scope will
then do an SRQ (service request), which is an interrupt. <mask> is an integer, 0 to 255, rep-
resenting a mask value for the bits to be enabled in the Service Request Enable Register as
shown in
.
Example
This example enables a service request to be generated when a message is available in the
output queue. When a message is available, the MAV bit is high.
10 OUTPUT 707;"*SRE 16"
Query
*SRE?
Returned Format
<mask><NL>
Example
This example places the current contents of the Service Request Enable Register in the
numeric variable, Value.
10 OUTPUT 707;"*SRE?"
The Service Request Enable Register contains a mask value for the bits to be enabled in the
Status Byte Register. A “1” in the Service Request Enable Register enables the corresponding
bit in the Status Byte Register. A “0” disables the bit.
*STB? (Status Byte)
Query
*STB?
The *STB? query returns the current contents of the Status Byte, including the Master Sum-
mary Status (MSS) bit. See
for Status Byte Register bit definitions.
Returned Format
<value><NL>
<value> is an integer, from 0 to 255.
Example
This example reads the contents of the Status Byte into the numeric variable, Value.
Table 3-5. Service Request Enable Register Bits
Bit
Weight
Enables
7
128
OPER - Operation Status Register
6
64
Not Used
5
32
ESB - Event Status Bit
4
16
MAV - Message Available
3
8
Not Used
2
4
MSG - Message
1
2
USR - User Event Register
0
1
TRG - Trigger
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...