6-10
Remote Programming
TRACE and SCAN COMMANDS
TRCD (?) i {, j, k, l, m} The TRCD command sets or queries the trace definitions. The parameter
i selects the trace number (1, 2, 3 or 4) and is required. The
TRCD i, j, k, l, m command defines trace i to quantity j times quantity k
divided by quantity l and the trace will be stored (m=1) or not stored
(m=0). This command requires all of the parameters. The parameters j, k
and l select the quantities listed below. Only l can be greater than 12.
j, k, l quantity j, k, l quantity l quantity l quantity
0 1 7 Rn 13 X
2
19 Rn
2
1 X 8 AI1 14 Y
2
20 AI1
2
2 Y 9 AI2 15 R
2
21 AI2
2
3 R 10 AI3 16 θ
2
22 AI3
2
4 θ 11 AI4 17 Xn
2
23 AI4
2
5 Xn 12 F 18 Yn
2
24 F
2
6 Yn
For example, the TRCD 1,1,2,3,1 command defines trace 1 as X•Y/R
and stores trace 1.
The TRCD? i command queries the trace definition of trace i. The
returned string contains j, k, l and m separated by commas. For example,
if the TRCD? 1 command returns "1,2,3,1" then trace 1 is defined as
X•Y/R and is stored.
SRAT (?) {i} The SRAT command sets or queries the scan sample rate. The parame-
ter i selects the sample rate listed below.
i quantity i quantity
0 62.5 mHz 7 8 Hz
1 125 mHz 8 16 Hz
2 250 mHz 9 32 Hz
3 500 mHz 10 64 Hz
4 1 Hz 11 128 Hz
5 2 Hz 12 256 Hz
6 4 Hz 13 512 Hz
14 Trigger
SLEN (?) {x} The SLEN command sets or queries the scan length. The parameter x is
the scan length (real number of seconds). The scan length will be set to
the closest allowed time given the sample rate and the number of stored
traces. The buffer holds 16000 points for 4 stored traces, 32000 points
for 2 traces and 64000 points of 1 trace. The maximum scan length is the
buffer size divided by the sample rate. The minimum is 1.0 sec.
SEND (?) {i} The SEND command sets or queries the scan mode. The parameter i
selects 1 Shot (i=0) or Loop (i=1).
TRIG The TRIG command is the software trigger command. This command
has the same effect as a trigger at the rear panel trigger input.