Language Reference

SUMSQR

Compute the sum of the square of the 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

100

OUTPUT

723;"SNGLS;TS;"

 

Activate single-sweep

mode. Sweep trace A.

 

110

OUTPUT

723;"SUMSQR

TRA?;"

Square the amplitude of all points in trace

 

 

 

 

 

 

 

A, then query their sum.

 

120

ENTER 723;N

 

 

Assign value to computer variable .

 

130

DISP N;"MEASUREMENT UNITS"

Display value .

 

 

 

7-474