Language Reference

ONEOS

ONEOS

De￿ne list of functions executed at the end of the sweep.

Item

 

Description

 

 

 

Delimiters

Mark the

beginning and end of the algorithm.

Preset State

ONEOS

OFF

Example Automatically measure a new wavelength range with each sweep.

140

OUTPUT 723;"VARDEF I,0;"

De￿ne user-de￿ned variable equal to 0.

150

OUTPUT 723;"VARDEF W,700NM;"

De￿ne user-de￿ned variable equal to 700 nm.

160

OUTPUT 723;"ONEOS^";

Begin de￿nition of on-end-of-sweep algorithm. The

 

 

 

 

following algorithm measures a higher harmonic

 

 

 

 

of the calibration wavelength with each sweep .

170

OUTPUT 723;"MOV SP,200NM;";

Set span to 200 nm.

 

180

OUTPUT

723;"IF

I,LT,500;THEN;";

If I is less than 500, set I equal

to I + 100.

 

 

 

 

Otherwise , set I equal to 100.

 

190

OUTPUT

723;"ADD

I,I,100;ELSE;MOV

I,100;ENDIF;";

 

210

OUTPUT 723;"ADD CENTERWL,W,I;";

Set the center wavelength equal to F

2 I.

220

OUTPUT 723;"^;"

 

End on-end-of-sweep algorithm.

 

7-331