
SCPI Command Reference
OSA 615
Examples on Using the SCPI Commands
CALC:WDM:CHAN:NOIS:TYPE INBN Set the selected channel specific InBand noise
measurement type.
SENS:CORR:OFFS:MAGN 0.0 DB Disable the power offset.
SENS:WAV:OFFS 0.0 NM Disable the spectral offset.
SENS:WAV:STAR 1525.000 NM Set sweep spectral range: 1525.000 nm to
1570.000 nm.
SENS:WAV:STOP 1570.000 NM ""
SENS:AVER:STAT ON Enable trace averaging.
SENS:AVER:TYPE PMMH Select the averaging type for InBand noise
measurement.
SENS:AVER:COUN 300 Set the number of sweeps to average.
TRIG:SEQ:SOUR IMM Set the sweep trigger event source to
immediate.
STAT? Test instrument state is idle. Poll STAT? until the
returned state is READY.
INIT:IMM Start sweep acquisition.
STAT:OPER:BIT8:COND? Wait for acquisition to be completed. Poll bit 8
until the returned value is 0.
<Add commands to retrieve analysis
results>
See Retrieving Analysis Results (WDM) on
page 609.
Command Sequence Comments
Comentarios a estos manuales