SRE
Service Request Enable Register Command
SRE <bit weighting>[term]
Input
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.
To enable status flags 4, 5, and 7, send the command SRE 208[term]. 208 is the sum
Example
of the bit weighting for each bit.
Bit
4
5
7
Total:
SRE?
Service Request Enable Register Query
SRE?[term]
Input
Returned
<bit weighting>[term]
Format
nnn (Refer to section 6.2.6 for a list of status flags)
STB?
Status Byte Query
STB?[term]
Input
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
TST?[term]
Input
Returned
<status>[term]
Format
n
<status>
Remarks
The Model 335 reports status based on the test done at power up.
WAI
Wait-to-Continue Command
WAI[term]
Input
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 Weighting
16
64
128
208
0 = no errors found, 1 = errors found
6.4.1 Interface Commands
Event Name
MAV
ESB
OSB
109
|
www.lakeshore.com