Measurement Instructions - Agilent Technologies 86121A User Manual

Wdm channel analyzer
Table of Contents

Advertisement

Measurement Instructions

Use the measurement instructions documented in this
section to perform measurements and return the
desired results to the computer. Four basic measure-
ment instructions are used: CONFigure, FETCh, READ,
and MEASure. Because the command trees for each of
these four basic measurement instructions are identi-
cal, only the MEASure tree is documented.
To perform a measurement, append to the measure-
ment instruction a POWer or LENGth function. The
POWer functions select power, frequency, or wave-
length measurements.
When the :SCALar command is used, data for a single
measurement value is returned. When the :ARRay com-
mand is used, multiple data values are returned.
The MEASure measurement instruction always
acquires new measurement data. In order to obtain
both wavelength and power values from the same mea-
surement data, use two FETCh commands. This is
shown in the following program fragment:
OUTPUT 720;":INIT:CONT OFF;"
OUTPUT 720;":CONF:ARR:POW MAX"
OUTPUT 720;":INIT:IMM"
OUTPUT 720;":FETC:ARR:POW?"
ENTER 720:powers$
OUTPUT 720;":FETC:ARR:POW:WAV?"
ENTER 720:wavelengths$
In the example above, the data in the power and wave-
length arrays are returned in the same order so that
powers can be matched to wavelengths. You can also
send a MEASure command followed by a FETCh com-
mand.
The commands in this subsystem have the following
command hierarchy:
{:MEASure | :READ[?] | :FETCh[?] | :CONFigure[?]}
{:ARRay | [:SCALar] }
:POWer[?]
:FREQuency[?]
:WAVelength[?]
Measurement Instructions 5-11

Advertisement

Table of Contents
loading

Table of Contents