Language Reference

POSU

 

Item

 

 

 

 

 

 

Description

 

 

 

 

Source

Amplitude Range

0

{ 10,000 measurement

units for

linear trace data

in

TRA, TRB , TRC,

 

 

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

Length 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.

 

 

 

Reference-T race-Amplitude Range

0

{ 10,000 measurement

units for

linear trace data

in

TRA, TRB , TRC,

 

 

or

user-de￿ned trace .

032,768

{ +32,767 measurement

units for

 

 

 

logarithmic

trace

data

in

TRA, TRB, TRC, or user-de￿ned

trace .

 

Reference-T race-Length Range

3

{ 2048

position

units.

Default

is 800 position

units

when using

TRA,

 

 

TRB, TRC.

 

 

 

 

 

 

 

 

 

 

Example

160

OUTPUT

723;"CLRDSP;"

Clear user graphics from memory.

170

OUTPUT

723;"SCALE

0,800,-11003,502;"

De￿ne the units for scale . Set the minimum

 

 

 

 

and maximum values for the X axis to 0 and

 

 

 

 

800, and the Y axis to 011003 and 502.

180

OUTPUT

723;"TRDSP

TRA,OFF;"

Turn o￿ trace A.

190

OUTPUT

723;"PU;PA

0,MEASU -37DBM,TRA;"

Lift up pen. Move pen to edge of the graticule

 

 

 

 

at 037 dBm.

200

OUTPUT

723;"PD;PA

POSU 800NM,TRA,MEASU -62DBM,TRA;"

Place pen down. Draw to the point at 800 nm

 

 

 

 

and 062 dBm.

210

OUTPUT 723;"PU;PA 0,MEASU -25DBM,TRA;"

Place pen up . Move it to the left edge of the

 

 

 

 

graticule .

220

OUTPUT 723;"PD;PA 800,MEASU -30DBM,TRA;"

Draw a line to the right edge of the graticule ,

 

 

 

 

ending at 030 dBm.

Description The POSU command converts wavelength or time values to position-unit values. Position units describe the position of a point along the horizontal axis

of a trace. The point at the left end of the trace has a position-unit value of 1. The point at the right end of an 800-point trace has a position-unit value of 800. POSU must be used as either a query or as a source in another analyzer-command function. Form a query by ending the POSU statement with a question mark (?). When used as a query, POSU gives the position-unit value of the source. Use POSU as a source by incorporating the POSU statement into any spectrum-analyzer command containing

7-386