Language Reference

ABS

 

 

Item

 

 

Description

 

 

 

 

Source or Destination Amplitude

0 { 10,000 measurement units for linear trace data in

TRA, TRB , TRC,

 

 

Range

 

trace range , or user-de￿ned trace .

 

 

 

 

 

 

032,768 { +32,767 measurement units for logarithmic trace data in

 

 

 

 

 

TRA, TRB , TRC, trace range , or user-de￿ned trace .

 

 

 

 

 

 

6 1.8 2 10308

when using

number , prede￿ned v ariable , or

 

 

 

 

 

user-de￿ned v ariable .

 

 

 

 

 

Source-L ength Range

1 { 2048 position

units. Default

is 800 position units

when using

TRA,

 

 

 

 

TRB, TRC . Truncated if longer than destination length. If shorter than

 

 

 

 

 

destination length,

last element is extended for operation.

 

 

 

 

 

 

 

 

 

 

Destination-L ength Range

1 { 2048 position units.

 

 

 

 

Example

140

OUTPUT 723;"VARDEF

NN,0;"

De￿ne variable NN equal to 0.

 

 

 

150

OUTPUT 723;"ABS NN,TRA[2];"

Move absolute value of second element of trace

A into NN.

Description The ABS command performs a point-by-point absolute value of the source variable or trace, the stores the results in the destination variable or trace.

When the source length is longer than the destination length, excess data is ignored or truncated. When the source length is shorter than the destination length, the last point is duplicated to ￿ll the destination.

When using TRA, TRB, TRC, or trace range for source, use SNGLS and TS to be sure data re￿ects one complete sweep. TRDEF required when using user-de￿ned trace. VARDEF required when using user-de￿ned variable.

7-10