Language Reference

STDEV

Compute standard deviation of trace amplitude.

Item

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

Source-Amplitude Range

0

{

10,000 measurement

units

for

linear

trace

data.

 

032,768 { +32,767 measurement

units

for logarithmic trace data.

Source-L ength Range

3

{

2048 position units.

Default

is

800

position

units when using TRA,

 

TRB, TRC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example

130

OUTPUT

723;"SNGLS;"

Activate single-sweep mode .

140

OUTPUT

723;"CENTERWL 750NM;SP 20NM;RB 100NM;"

Set measurement range .

150

FOR N=1 TO 10

Begin repeat loop using system level commands in

 

 

 

HP BASIC.

160

WAIT 1

 

Pause.

170

OUTPUT

723;"SP DN;TS;"

Reduce the span. Sweep trace A.

180

OUTPUT

723;"STDEV TRA?;"

Query standard deviation of trace A.

190

ENTER

723;S

Assign value to computer variable.

200

PRINT

"Standard deviation is";S/100;"DB"

 

210

NEXT N

 

End repeat loop .

7-462