Language Reference

CALDATA

Example

Return factory-supplied calibration data.

10 INTEGER NUM_PTS

20REAL CAL(1:300,1:2)

30MAT CAL=(02E9)

40OUTPUT 723;"CALDATA FIRST?;"

50ENTER 723 USING "%,K";CAL(*)

60NUM_PTS=1

70WHILE CAL(NUM_PTS,1)> 01E9

80NUM_PTS=NUM_PTS+1

90END_WHILE

Description The CALDATA command queries the optical spectrum analyzer for factory supplied calibration data. The calibration data returned is determined by the

INSTMODE setting. The data may be DIODE only correction data or normal correction data for both the diode and the monochromator.

When INSTMODE is set to PWRMTR, the data returned is only the diode correction data. When INSTMODE is set to OSA or SR, the data returned is the combination of the grating order and diode correction data. Grating-only data is returned when INSTMODE is set to PRESEL or PD.

The CALDATA command queries factory supplied calibration data for the ￿rst or second grating order. The optical spectrum analyzer's internal monochromator uses a di￿raction grating operating at either the ￿rst or

second order modes. Second order correction data is used when the stop wavelength is less than 900 nm and the default setting, NGRATORDERNNNNNNNNNNNNNNNNNNNNNNNNNNNNNAUTONNNNNNNNNNNNNN, is

selected.

7-82