Language Reference

DIV

 

 

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. Default is 800 when

using

TRA, TRB , TRC . When source

 

 

 

 

 

lengths di￿er , the last element of the shorter source is repeated for the

 

 

 

 

 

division process. When the sources are longer

than the

destination trace

,

 

 

 

 

they are truncated to ￿t.

 

 

 

 

 

 

Destination-L ength Range

3

{ 2048 position units.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example

140

OUTPUT

723;"SNGLS;"

Activate

single-sweep

mode.

 

 

 

150

OUTPUT

723;"TS;"

 

Sweep trace A.

 

 

 

 

160OUTPUT 723;"DIV TRB,TRA,2;" Divide trace A by 2. Store results in trace B.

170 OUTPUT 723;"VIEW TRB;"

View trace B.

Description The DIV command divides source 1 by source 2, then sends the result to the destination. If traces are used, be sure each contains a complete sweep of

measurement information before executing DIV. The sources and destination may be of di￿erent length. The length of traces can vary from 3 to 2048. Variables have a length of one. When sources di￿er in length, the last element of the shorter source is repeated for the division process. When the sources are longer than the destination, they are truncated to ￿t. 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-118