Language Reference

AMPU

Item

 

 

Description

 

 

Source Amplitude Range

For trace element , 0 { 10,000 measurement units for linear trace

data, and

032,768 {

 

+32,767 measurement units for logarithmic trace data.

 

 

 

6 1.8 2 10308 when using

number , prede￿ned v ariable , or

user-de￿ned

v ariable .

Source-L ength Range

1

{ 2048

 

 

 

Reference-T race Amplitude Range

0

{ 10,000 measurement units for linear trace data.

 

 

 

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

 

Reference-T race Length Range

3

{ 2048 position units. Default

is 800 position units when using

TRA, TRB , TRC .

Example Display trace-amplitude information in both measurement and amplitude units on the computer display.

160OUTPUT 723;"VARDEF NN,0;" De￿ne user-de￿ned variable, NN equal to 0.

170OUTPUT 723;"MOV NN,TRA[15];" Place the value of the ￿fteenth element of

 

 

 

trace A in NN.

180

OUTPUT

723;"NN?;"

Query value of NN in measurement units.

190

ENTER

723;N

Store value in computer variable , N.

200

OUTPUT

723;"AMPU NN,TRA?;"

Query value of NN in amplitude units.

210

ENTER

723;M

Store value in computer variable, M.

220

OUTPUT

723;"AUNITS?;"

Query description of active units.

230

ENTER

723;Units$

Store response in computer variable, Units

 

 

 

$.

240

PRINT

N;"MEASUREMENT UNITS"

Print value in measurement units.

250

PRINT

M;Units$

Print value in amplitude units.

Description Measurement units describe trace-amplitude information as follows. For logarithmic trace information, a measurement unit is one hundredth of a

dBm.

value in measurement units = 100 (value in dBm)

For linear trace information, a measurement unit is de￿ned as 0 (zero) for the bottom of the graticule, and as 10,000 for the top (reference level). Amplitude units describe trace-amplitude information in Decibels (dBm) or Watts (W, mW, ￿W). If the reference trace is speci￿ed, AMPU converts to the amplitude values according to the amplitude scale of the reference trace. Otherwise, AMPU converts to units determined by the reference level, AUNITS command, or MEASURE command.

AMPU must be used as either a query or as a source in another analyzer command. Form a query by ending the AMPU statement with a question

7-50