REMOTE PROGRAMMING
4-8
enable registers maintain their values at power down. This allows the
production of a service request at power up.
*
SRE (?) {i}
The
*
SRE i command sets the serial poll enable register to the decimal value
i (0-255). The
*
SRE? query returns the value (0-255) of the serial poll enable
register.
*
STB? {i}
The
*
STB? command queries the value of the serial poll byte. The value is
returned as a decimal number from 0 to 255. The
*
STB? i command queries
the value (0 or 1) of bit i (0-7). Reading this byte has no effect on its value.
SENA (?) {i}
The SENA command sets the LCR status enable register to the decimal
value i (0-255). The SENA? query returns the value (0-255) of the LCR status
enable register.
STAT? {i}
The STAT? query reads the value of the LCR status byte. The value is
returned as a decimal number from 0 to 255. The STAT? i returns the value
(0 or 1) of bit i (0-7). Reading this register will clear it while reading bit i will
clear just bit i.
HARDWARE TEST AND CALIBRATION COMMANDS
NOTE:
These commands are primarily intended for factory calibration use and should never be needed during
normal operation. See the CALIBRATION section for details on calibrating the unit. Incorrect use of some of
these commands can destroy the calibration of the SR715/720.
*
CAL? i
The
*
CAL? i common query initiates the SR715/720's self calibration
routines. When the calibration is complete the status of the calibration is
returned. The parameter i determines which calibration will be performed. If i
= 0 the Short Circuit calibration will be done. If i = 1 the Open Circuit
calibration will be done. And, if i = 2 the Standard Resistor calibration will be
done. The calibration status may have the following return values:
Status Meaning
0
No Error
1
Measurement Error (overload, etc.).
2
Short Circuit Calibration Error. The short circuit impedance was too
high.
3
Open Circuit Calibration Error. The open circuit impedance was too
low.
4
Standard Resistor Calibration Error. The standard resistor calibration
value was out of range.
*
TST?
The
*
TST? common query runs the SR715/720's internal self-tests. After the
tests are complete, the test status is returned. The test status may have the
following values:
Status Meaning
0
No Error
1
CPU Error. There is a problem with the CPU.
2
Code Error. The ROM firmware has a checksum error.
3
System RAM Error. The system RAM has failed its memory test.
4
Calibration Data Error. The calibration data is no longer valid.
5
Clock Generator Error. The drive frequency clock failed its test.
6
ADC Error. The A/D converter or multiplier failed its test.
7
Drive Error. The sine wave output amplitude control failed its test.