Language Reference

MIN

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

 

position

units.

 

 

 

1 { 2048

 

 

 

Example Compare the marker amplitude to 020 dBm, then display the lower value on the analyzer display.

10

CLEAR

723

 

Initialize analyzer .

20

OUTPUT

723;"IP;"

 

 

30

OUTPUT

723;"CLRDSP;"

Clear graphics from memory.

40

OUTPUT

723;"SNGLS;"

 

Activate single-sweep mode.

50

OUTPUT

723;"VARDEF

MINIMUM,0;"

De￿ne user-de￿ned variable equal

 

 

 

 

to 0.

60

OUTPUT

723;"TS;MKPK

HI;"

Sweep trace A. Place active marker

 

 

 

 

at the highest signal level.

70

OUTPUT

723;"MIN MINIMUM,MKA,-20DBM;"

Compare the marker amplitude to

 

 

 

 

020 dBm. Store the smaller value

 

 

 

 

in MINIMUM.

80

OUTPUT

723;"PU;PA 300,700;"

Move graphics pen to (300,700).

90

OUTPUT 723;"DSPLY MINIMUM,6,2;"

Display value of minimum.

100 OUTPUT 723;"TEXT $dBm$;"

Write \dBm" next to the variable .

Description The MIN command compares sources, point by point, sending the lesser values of each comparison to the destination. If one of the sources is a single

value, it acts as a threshold, and all values equal to or less than the threshold pass to the destination. If traces are used as sources, be sure each contains a complete sweep of measurement information.

7-248