ABS Absolute
Example
10
OUTPUT
718;“IP;SNGLS;”
20 OUTPUT
718;“VARDEF
P,OINT,O;”
30 OUTPUT
718;“ABS
P-OINT,-2;”
40
OUTPUT
718;“P_OINT?;“;
50
ENTER
718;Second
60
DISP Second
70
END
Description
Initializes spectrum analyze?; stops sweeping.
D@ines
a variable, called
P-OINT,
and initializes it
to 0.
Places the absolute value of -2 into POINT
Returns value of
IWNT
to computer
Assigns value to computer variable, Second.
Displays the absolute value (2).
The source and the destination may be different lengths. The lengths of predefined traces
(trace A, trace B, or trace C) is 401, while user-defined traces have a length of up to 2047, and
variables have a length of 1. When the source is longer than the destination, the source is
truncated to fit. When the source is shorter than the destination, the last element is repeated
to fill the destination.
5-32
Programming Commands