Remote Operation
Check 5502A Status 5
5-37
Table 5-10. Response Data Types (cont.)
Data Type Description
Binary Block Data
A special data type specified by the IEEE-488.2 standard. This type is
used in *PUD? query. It is specified as follows:
#(non-zero digit) (digits) (user data)
The non-zero digit specifies the number of characters that in the <digits>
field. Characters permitted in the digits field are 0 through 9 (ASCII 48
through 57 decimal). The value of the number in the <digits> field in
decimal gives the number of user data bytes that follow in the <user
data> field. The maximum response is 64 characters.
Example: *PUD “test1”; *PUD?
returns: #205test1
Check 5502A Status
The programmer has access to status registers, enable registers, and queues in the
Calibrator to show various conditions in the instrument as shown in Figure 5-8. Some
registers and queues are specified by the IEEE-488.2 standard. The remaining are
specified to the Calibrator. In addition to the status registers, the Service Request (SRQ)
control line, and a 16-element buffer named the Error Queue supply status information.
Table 5-11 shows the status registers and gives the read/write commands and related
mask registers.
Table 5-11. Status Register Summary
Status Register
Read
Command
Write
Command
Serial Poll Status Byte (STB) *STB? ⎯
Service Request Enable Register (SRE) *SRE? *SRE
Event Status Register (ESR) *ESR? ⎯
Event Status Enable Register (ESE) *ESE? *ESE
Instrument Status Register (ISR) ISR? ⎯
Instrument Status Change Register (ISCR) ISCR? ⎯
ISCR 1 to 0 transition ISCR0? ⎯
ISCR 0 to 1 transition ISCR1? ⎯
Instrument Status Change Enable Register (ISCE) ISCE? ISCE
ISCE 1 to 0 transition ISCE0? ISCE0
ISCE 0 to 1 transition ISCE1? ISCE1