![](http://pdfasset.owneriq.net/1/e8/1e8c0b0a-9cfc-48a8-9d2e-7c70ebe9ad1d/1e8c0b0a-9cfc-48a8-9d2e-7c70ebe9ad1d-bg27d.png)
SUM
Sum of Trace Amplitudes
Returns the sum of the amplitudes of the trace elements in measurement units.
Syntax
function path only
k
user-defined trace
/
b
trace range
/
Item Description/Default
tinge
User-defined trace
A trace defined by the TRDEF command.
Any valid trace name.
Trace range A segment of trace A, trace B, trace C, or a user-defined trace.
Prerequisite Commands: TRDEF when using a user-defined trace. TS when using trace data.
Related Commands: ADD, DIV, MEAN, MPY, SUB, TS, VARIANCE.
Example
10 OUTPUT
718;"IP;"
20 OUTPUT
718;"SNGLS;TS;"
30 OUTPUT
718;"SUM
TRA?;"
40 ENTER
718;Tracegum
Initializes
spectrum analyzer:
Activates single-sweep mode, takes sweep.
Gets the result.
Puts the spectrum analyzer response in the
computer variable, Trace-sum.
50 DISP
Trace,sum;"MEASUREMENT
UNITS"
Displuystheresult.
60
END
Query Response
5-536 Programming Commands