Specifications

Remote Programming – Command List
39
DETAILED COMMAND LIST
The two letters in each command sequence specify
the command. The rest of the sequence consists of
parameters. Multiple parameters are separated by a
comma. Those parameters shown in { } are
optional while those without { } are required.
Variable i is an integer which selects a counter:
i
Counter
0 A
1 B
2 T
Variables i,j,k,l, and m are integers and must be
expressed in integer format.
Variable n is a real number >= 1 with one
significant digit (i.e. 20 or 5E5).
Variable x is a real number with one significant
digit (i.e. 2E-3 or .002).
Variables n,x,t, and v are real numbers in integer,
real, or floating point format.
MODE
CM { j }
If j is included, the CM command sets the
counting mode. If j is absent, the counting mode is
returned.
j
Counting Mode
0 A,B FOR T PRESET
1 A-B FOR T PRESET
2 A+B FOR T PRESET
3 A FOR B PRESET
Setting the counter mode also performs a counter
reset.
CI i { ,j }
The CI command sets and reads the counter
inputs. i = 0, 1, or 2 selecting counter A,B, or T
and is required. If j is included, then the input to
counter i is changed to source j. If j is absent, the
input to counter i is returned.
j
Input
0 10 MHz
1 INPUT 1
2 INPUT 2
3 TRIG
Counter
Allowed Inputs
A 10 MHz, INPUT1
B INPUT 1, INPUT 2
T 10 MHz, INPUT 2, TRIG
Changing a counter input while counting may
result in bad count data.
CP i { ,n }
The CP command sets and reads the counter
presets. If i = 1 then counter B is selected, if i = 2
counter T is selected. The parameter i is required.
If n is included, then counter i is preset to n where
n is a value from 1 to 9E11. n may be expressed in
any format but must be greater than or equal to 1
and only the most significant digit is used. For
example, "CP2,10" , "CP2,1E1" , "CP2,0.1E2" ,
"CP2,12" all set T SET to 1E1. Changing a
counter preset while counting causes the counters
to pause. A counter start command or keypress
resumes counting. If n is absent, then the preset
value of counter i is returned. In the above
example, the string "1E1" is returned. Note that n
is the number of cycles of the 10 MHz clock, not
seconds.
NP { m }
If m is absent, the NP command returns the
programmed number of periods in a scan (N
PERIODS). If m is included, the number of
periods is set to the value m. The parameter m
must be an integer from 1 to 2000. Changing the
number of periods during a scan is allowed. If the
new value exceeds the current scan position, then
the scan will continue to the new number of
periods. If the new value is lower than the current
scan position, then the scan ends at the next end of
count period.
NN
The NN command reads the scan position. The
scan position is the number of count periods or