34
Hardware Test Commands
*TST?
The *TST? query initiates the hardware self-test and returns the test
status at the completion of the test. If the FS700 is currently locking to
a station, this command will be ignored and an execution error will be
generated.
The status values are:
Value
Meaning
0
no error
1
system ROM error
2
system RAM error
3
pattern RAM error
4
DAC/ADC error
5
Amplifier/Attenuator error
6
Integrator error
$ASC i
The $ASC command sets the source of the antenna input. If i = 0, the
input looks at the antenna. If i = 1, the input looks at the internal
calibration signal. If the FS700 is currently locking to a station, this
command will be ignored and an execution error will be generated.
$DAT?
The $DAT? query returns the raw in-phase and quadrature data from
the integrators during locking. This data has been summed over the
FLL time constant divided by 4 GRI's. The data is returned in the
format: in-phase low word, in-phase high word, quadrature low word,
quadrature high word. Each low/high word pair, taken together, forms a
32 bit 2's complement integer that is the summed integrator data.
$GAT i
The $GAT command sets test patterns of the pattern generator gates.
If i = 0, all 4 gates are set to normal pattern. If i = 1, the gates are set
to the CAL1 configuration. If i = 2, the gates are set to the CAL2
configuration. If the FS700 is currently locking to a station, this
command will be ignored and an execution error will be generated.
$INT? i
The $INT? query reads back the raw analog value of integrator i. If i =
4, the value of the peak detector is returned.
$LCK i
The $LCK command sets (i=1) and resets (i=0) the lock output. If the
FS700 is currently locking to a station this command will be ignored and
an execution error will be generated.
$POS i
The $POS command sets the position of the test gates to i * 200ns
from the GRI pulse, where i = 75 - 4500. If the FS700 is currently
locking to a station, this command will be ignored and an execution
error will be generated.
ATTN i
The ATTN command sets the FS700's attenuators to i dB of
attenuation (i = 0 - 111). If the FS700 is currently locking to a station,
this command will be ignored and an execution error will be generated.