TRMATH Trace Math
Example
The program below halves the amplitude of trace A and moves it to trace B.
OUTPUT
718;"CLRW
TRA;VIEW
TRB;"
Displays trace
B
OUTPUT
718;"DISPOSE
TRMATH;"
Disposes of existing
TRiUATH
commands.
OUTPUT
718;"TRMATH!
DIV
TRB,TRA,2!
;"
LXwio!.es
trace A by 2 and moves it into trace
B
Description
The TRMATH command executes the list of spectrum analyzer commands at the end of each
sweep. Any spectrum analyzer command except TS is allowed within the list of commands.
The operands and results of trace math are truncated if they are not within certain limits. If
operating on traces A,
B,
or C, trace lengths must be less than or equal to 401. If operating on
user-defined traces, results must be less than or equal to 2047.
After the TRMATH command is executed, any current ONEOS definitions are executed, and
then any current limit-line testing (LIMITEST).
Limit the number of characters (between the delimiters) in the list of spectrum analyzer
commands to a maximum of 2047 characters.
Clearing the TRMATH definition:
IP clears the TRMATH definition. You can use the DISPOSE
command to clear the TRMATH definition also.
Query Response

<

#A

analyzer command
5-566
Programming Commands