Agilent Technologies 16522A User Manual page 66

200-m vectors/s pattern generator
Table of Contents

Advertisement

Programming the Agilent 16522A
Module Status Reporting
Table 3-3 shows each bit in the Module Event Status Register and its bit
weight for this module. When you read the MESR, the value returned is the
total bit weights of all bits that are high at the time the register is read.
The parameter 1...10 refers to the module in slot A...J respectively.
Query Syntax:
:MESR<N>?
Returned Format:
[MESR]<status><NL>
{1|2|3|4|5|6|7|8|9|10} number of slot in which the module resides
<N>
0 to 255
<status>
Example
10 OUTPUT XXX;":MESR2?"
20 ENTER XXX; Mer
30 PRINT Mer
40 END
This example reads status register for slot B
Table 3-3
Module Event Status Register
Bit
7
6
5
4
3
2
1
0
The MESR bit will be set at the end of the program or if a BREAK instruction is
encountered within the program.
3–12
Weight
128
64
32
16
8
4
2
1
Condition
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
1 = Run complete
0 = Run not complete

Advertisement

Table of Contents
loading

Table of Contents