Instruction manual

Chapter 3 Programming Your Counter for Remote Operation
Status Reporting
3-26 Programming Guide
3
Figure 3-10. 53150A/151A/152A SCPI Status Reporting Summary Functional Diagram
(
1
)
Operation Complete
Standard Event Status Register Group
Not Used
(
4
)
Query Error
2
(
8
)
Device Dependent Error
3
(
16
)
Execution Error
4
(
32
)
Command Error
5
Not Used
6
(
128
)
Power On
7
LOGICAL OR
(Use *ESR?,*ESE <NRf>,
and
*
ESE? to control and
read registers.)
Not
Used
0 to 1
3
(
16
)
4
(
32
)
5
(
64
)
6
(
128
)
7
(
8
)
Service
Request
Generation
(
64
)
LOGICAL OR
MSS
Service Request Enable and Status Byte Registers
Queue Not Empty
Read with *STB?
(
Use
*SRE <NRf> and
*
SRE? to control and read
the Service Request
Enable Register.)
Read by Serial Poll
Summary of IEEE 488.2-1987
Standard Status Data Struture
OUTPUT
QUEUE
ERROR
QUEUE
Not Used
0
Not Used
1 to 3
(
16
)
Measuring
4
Waiting for Trigger
5
Not Used
7 to 8
(
512
)
Using Internal Reference
9
Not Used
10
Acquiring
11
LOGICAL OR
(Use :STATus:OPERation Commands
to control and read registers.)
(
32
)
Frequency
5
Not Used
6 to 11
LOGICAL OR
(Use :STATus:QUEStionable Commands
to control and read registers.)
Command Warning
14
Not Used
15
(
16384
)
(Use
SYSTem:ERRor?
to query the
Error Queue.)
SRQ
Interrupt
to Computer
(Query Counter to read the Output Queue.)
NOTES:
1. The numbers that are in parentheses and positioned
above the arrows represent the integer formed by the
binary weighting of the corresponding bit.
2. Descriptions of all registers are contained in this section.
3. To reset the Counter and initialize status reporting,
perform the following:
4. The value of an unused bit is zero when queried and
ignored when set.
Reset and initialize
status reporting
Device Clear
*CLS
*RST
*SRE 0
*ESE 0
:STAT:PRES
Continue Program
Operation Status Register Group
Bits
Bits
Bits
0
1
MAV
ESB
RQS
OSB
QSB
2
Queue Not Empty
(
4
)
EAV
12
13 to 15
Locked
Not Used
(
4096
)
Not Used
0 to 2
PowerCal
3
Not Used
4
Questionable Data Status Register Group
Bits
12
13
Not Used
Hardware Summary
(
4096
)
(
32
)
(
2048
)
(
8
)