
154
c
HAPTER
6:
Computer Interface Operation
Model 372 AC Resistance Bridge and Temperature Controller
SRE
Service Request Enable Register Command
Input
SRE <bit weighting>[term]
Format
nnn
Remarks
Each bit has a bit weighting and represents the enable/disable mask of the corre-
sponding status flag bit in the status byte register. To enable a status flag bit, send the
command *SRE with the sum of the bit weighting for each desired bit. Refer to section
6.2.6 for a list of status flags.
Example
To enable status flags 4, 5, and 7, send the command *SRE 176[term]. 176 is the sum
of the bit weighting for each bit.
SRE?
Service Request Enable Register Query
Input
SRE?[term]
Returned
<bit weighting>[term]
Format
nnn (refer to section 6.2.6 for a list of status flags)
STB?
Status Byte Query
Input
STB?[term]
Returned
<bit weighting>[term]
Format
nnn
Remarks
Acts like a serial poll, but does not reset the register to all zeros. The integer returned
represents the sum of the bit weighting of the status flag bits that are set in the status
byte register. Refer to section 6.2.6 for a list of status flags.
TST?
Self-Test Query
Input
TST?[term]
Returned
<status>[term]
Format
n
<status>
0 = no errors found, 1 = errors found
Remarks
The Model 372 reports status based on test done at power up.
WAI
Wait-to-Continue Command
Input
WAI[term]
Remarks
Causes the IEEE-488 interface to hold off until all pending operations have been com-
pleted. This is the same function as the *OPC command, except that it does not set the
Operation Complete event bit in the Event Status Register.
Bit
Bit Weighting
Event Name
0
1
RAMPW
1
2
VRC
2
4
VRM
3
8
ALARM
4
16
OVLD
5
32
ESB
7
128
OSB
Total:
191