beautypg.com

Performing an i -inband acquisition (wdm) – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual

Page 619

background image

SCPI Command Reference

OSA

613

Examples on Using the SCPI Commands

Performing an

i-InBand Acquisition (WDM)

Command Sequence

Comments

analysis parameters>

See Configuring the Analysis Setup for the Next
Acquisition Sequence (WDM)
on page 603.

CALC:WDM:CHAN:AUTO:NOIS:AUTO
ON

Optional: if the default channel is active, then

set auto noise to enabled.

CALC:WDM:CHAN:SEL "C_001"

CALC:WDM:CHAN:NOIS:AUTO ON

Set the selected channel auto noise to enabled.

CALC:WDM:CHAN:SEL "C_002"

CALC:WDM:CHAN:NOIS:AUTO ON

Set the selected channel auto noise to enabled.

CALC:WDM:CHAN:SEL "C_003"

CALC:WDM:CHAN:NOIS:AUTO ON

Set the selected channel auto noise to enabled.

SENS:CORR:OFFS:MAGN 0.0 DB

Disable power offset.

SENS:WAV:OFFS 0.0 NM

Disable 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.

The number of scans for averaging will be

automatically determined.

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.