User`s manual
6.4.1 Interface Co mmands 109
| www.lakeshore.com
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 20
8[term]. 208 is the sum
of the bit weighting for each bit.
Bit Bit Weighting Event Name
4 16 MAV
5 64 ESB
7 128 OSB
To ta l : 208
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 z
eros. 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 335 reports status based on the test done at pow
er 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 Ope
ration Complete event bit in the Event Status Register.










