Language Reference

MEAN

MEAN

Calculate the mean value of the amplitudes in the source.

 

 

Item

 

 

 

 

Description

 

 

 

 

 

Source-L ength Range

 

3

{

2048 position units.

Default

is

800

position

units when

using TRA,

 

 

 

 

 

 

TRB, TRC.

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

Example

20

CLEAR 723

 

 

 

 

 

Initialize analyzer .

 

 

 

30

OUTPUT 723;"IP;"

 

 

 

 

 

 

 

 

 

 

 

 

40

OUTPUT 723;"SNGLS;"

 

 

 

 

 

Activate single-sweep mode .

 

50

OUTPUT 723;"CENTERWL 1300NM;SP 10NM;"

 

Set measurement range .

 

60

OUTPUT 723;"TS;"

 

 

 

 

 

Sweep trace A.

 

 

 

 

70

OUTPUT 723;"MEAN TRA?;"

 

 

Query mean value of trace A.

 

80

ENTER

723;N

 

 

 

 

 

Assign value to computer variable.

 

90

DISP

"MEAN OF TRACE

IS

";N

 

 

Display value on computer display .

7-235