Language Reference

MPY

 

 

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

 

3 { 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

 

3 { 2048 position units.

 

 

 

 

 

 

 

 

 

 

 

 

Example

10

OUTPUT 723;"MPY

CENTERWL,CENTERWL,2;"

Double

the center

wavelength.

Description The MPY command multiplies the sources, point by point, and stores the contents in the destination.

In case of over￿ow, an error is reported and the result is limited to the amplitude range. When the source is TRA, TRB, TRC, or trace range, ensure the data re￿ects one complete sweep using the SNGLS and TS commands.

The default is 800 position units when using TRA, TRB, TRC and is truncated if the trace is longer than destination length. If the trace is shorter than the destination length, the last element is replicated to complete the trace.

7-319