Programming Commands
3-10
Hardware Test and Calibration Commands
NOTE:
These commands are primarily intended for factory calibration use and should never be needed dur-
ing normal operation.
Incorrect use of some of these commands can destroy the calibration of the
DS345.
*CAL?
The *CAL? common query initiates the DS345's self calibration routines.
When the calibration is complete the status of the calibration is returned.
The status may have the following values (see
TROUBLESHOOTING
sec-
tion for more detail):
Status value
Meaning
0
No Error
1
DS345 not warmed up. At least 2 minutes must elapse
between power on and calibration.
2
Self-Test Fail. The DS345 must pass its self tests be-
fore calibration.
3
A/D Cal Error. The DS345's A to D converter could not
be calibrated.
4
DC Offset Fail. The DS345 was unable to calibrate its
DC offset.
5
Amplitude Cal Fail. The DS345 was unable to calibrate
its amplitude control circuitry.
6
Doubler Cal Fail. The DS345 was unable to calibrate
the doubler offset or the gain of the doubler/square wave
signal path.
*TST?
The *TST? common query runs the DS345 internal self-tests. After the tests
are complete the test status is returned. The status may have the following
values (see the
TROUBLESHOOTING
section for more details):
Status value
Meaning
0
No Error
1
CPU Error. The DS345 has detected a problem in its
CPU.
2
Code Error. The DS345's ROM firmware has a check-
sum error.
3
Sys RAM Error. The system RAM failed its test.
4
Cal Data Error. The DS345's calibration data has be-
come corrupt.
5
Function Data Error. The waveform RAM failed its test.
6
Program Data Error. The modulation program RAM
failed its test.
7
Trigger Error. The trigger detection circuits failed their
test.
8
A/D D/A Error. Either the A/D or one of the D/A's failed
its test. The front panel message is more specific.
9
Signal Error. Either the waveform DAC, amplitude con-
trol, or the output amplifier has failed.
10
Sync Error. The sync signal generator has failed.
11
Doubler Error. The frequency doubler has failed.
$ATD? i,j
The $ATD? query uses the DS345 A/D converter to measure the voltage on
analog channel i. The parameter j = 0 returns the raw data value, j=1 returns
the value corrected for the A/D's offset, and j=2 returns the value corrected
for the A/D's offset and gain errors.
Summary of Contents for DS345
Page 2: ......
Page 5: ...DS345 Synthesized Function Generator iii...
Page 20: ...Introduction 2 4...
Page 64: ...Programming Commands 3 14...
Page 72: ...Program Examples 3 22...
Page 78: ...Troubleshooting 4 6...
Page 82: ...Performance Tests 5 4...
Page 101: ...Calibration 6 10...
Page 109: ...Arbitrary Waveform Composer 7 8...
Page 117: ...DS345 Circuitry 8 8...