Language Reference

SUM

Compute the sum of amplitude levels detected in each point of a trace.

Item

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

Source-Amplitude Range

0

{

10,000 measurement

units

for

linear

trace

data.

 

 

032,768 { +32,767 measurement

units

for logarithmic trace

data.

Source-L ength Range

1

{

2048 position units.

Default

is

800

position

units when

using TRA,

 

TRB, TRC .

 

 

 

 

 

 

Example Add the amplitudes of all points in trace A.

100

OUTPUT 723;"SNGLS;TS;"

Activate single-sweep mode. Sweep trace A.

110

OUTPUT 723;"SUM TRA?;"

Query sum to computer .

120

ENTER 723;N

Assign value to computer variable .

130

DISP N;"MEASUREMENT UNITS"

Display value .

7-472