A method and apparatus for measuring characteristics of a single-wavelength optical
signal constituting part of a wavelength division multiplexed (WDM) optical signal
is provided. The WDM optical signal is adjustably diffracted to select the single-wavelength
optical signal. An optical-to-electrical conversion is performed. An electrical
sampling signal representing the selected single-wavelength optical signal is generated
by one of (a) optically sampling the selected single-wavelength optical signal
to generate an optical sampling signal on which the optical-to-electrical conversion
is performed, and (b) electrically sampling an electrical signal generated by performing
the optical-to-electrical conversion on the selected single-wavelength optical signal.