Agilent Technologies 8590 TV Converter Box User Manual


 
ADD Add
Example
Add 38 MHz to the center frequency, then store the sum in a user-defined variable.
10
OUTPUT
718;"IP;"
20 OUTPUT
718;"CF
300MHZ;"
30 OUTPUT
718;"VARDEF
N,EW,O;"
40 OUTPUT
718;"ADD
N,EW,CF,38E6;"
50
OUTPUT
718;"N,EW?;"
60
ENTER
718;Freq
70
DISP Freq
80
END
Description
Initializes spectrum
analyze
Changes the centerj?equency.
L?&nes
a variable,
N-m
and initializes it to 0.
Adds 38 MHz to the center frequency, then places
the sum in
NJX?
Returns value of
N-h’Wto
the computer:
Assigns value to
variabh
Freq.
Displays
Freq
on computer display.
The ADD command adds values of source
1
and source 2 (point by point), and sends the sum to
the destination.
Traces, user-defined traces, and trace ranges are added as 16-bit integers. Negative numbers
are represented in two’s complement format. Single variables and numbers are treated as
floating point numbers and must be within the real number range as defined in
Table
5-1.
The sources and destination may be different lengths. The length of predefined traces (trace A,
trace B, or trace C) is 401. User-defined traces have a length of up to 2047, and variables have
a length of 1. When sources differ in length, the last element of the shorter source is repeated
for the addition process. After the addition, the last element is repeated if the destination
is longer than the sum trace. When the sources are longer than the destination, they are
truncated to fit.
5-56 Programming Commands