Specifications
Remote Programming 4-17
DS360 Ultra Low Distortion Function Generator
Hardware Test and Calibration Commands
*TST?
The *TST? common query runs the DS360 internal self tests. After the tests are
complete, the test status is returned as a one byte decimal value. If the value is 0,
no errors have been detected, otherwise the returned value is the encoded value
of the status of the test register described below.
bit
Meaning
0 CPU error detected
1 ROM checksum error
2 RAM error detected
3 CALD calibration data chksum err
4 DSP error detected
5 unused
6 unused
7 reserved
Note: The following commands are primarily intended for factory calibration of the DS360 and
should never be needed during normal operation. Incorrect use of some of these commands can
alter the calibration of the DS360. If this happens, perform a full reset, as described in chapter 3.
$FCL
The $FCL command recalls the factory calibration bytes. This command will
generate an error if the calibration jumper is not in the correct position.
$FIL (?) i
The $FIL command sets the State Variable Filter to the i-th filter, when a
previous $NOF1 or $NOF2 command has been sent. In the $NOF0 mode this
command is disabled and the filter number is selected as a function of frequency.
The $FIL? query returns the currently selected filter number. The range for i is 0
to 36, where 0 means no filter is selected.
$NOF (?) i
The $NOF command sets the filter mode to 0, 1 or 2. Mode 0 is normal, the Z80
sets the appropriate filter function of frequency and tells the DSP which filter is
set. In mode 1, the Z80 sets the filter function of $FIL command and tells the
DSP that filter 0 is set. In mode 2, the Z80 sets the filter function of $FIL
command and tells the DSP which filter is set. The $NOF query returns the
current mode.
$PRE (?) i
The $PRE command sets the DS360 pre-amplifier attenuators to range i. The
integer i is the attenuation range which takes values from 0 to 31. Each range
sets the pre-attenuators to -1.25*i dB. Setting the amplitude will return the
attenuators to their normal position. The $PRE? query returns the current
attenuator position.