When a tunable laser is operating at any one of the different wavelengths,
wavelength data is sampled and stored in a memory device. In the case
where the same operating wavelength as a wavelength hitherto operated
needs to be reset to the tunable laser, the wavelength data stored in the
memory device is set to the tunable laser. This makes it possible to
avoid a shift in wavelength due to age degradation of the tunable laser
that selectively outputs any one of light signals of different
wavelengths in dependence on the wavelength data set to the tunable
laser.