EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual
Page 622

SCPI Command Reference
616
FTB-5240S/S-P/BP
Examples on Using the SCPI Commands
Performing a Continuous Acquisition with
Synchronized Intermediate Results Query (WDM)
Command Sequence
Comments
<Add commands to configure Wdm
analysis parameters>
See Configuring the Analysis Setup for the Next
Acquisition Sequence (WDM) on page 603.
TRAC:FEED:CONT "TRC1", NEXT
Disable continuous refresh of WDM analysis
active trace; set feed control for "one-shot"
refresh.
SENS:CORR:OFFS:MAGN 0.0 DB
Disable power offset.
SENS:WAV:OFFS 0.0 NM
Disable wavelength offset.
SENS:FREQ:STAR 190.9506 THZ
Set sweep frequency range.
SENS:FREQ:STOP 196.5852 THZ
""
SENS:AVER:STAT OFF
Enable trace averaging.
TRIG:SEQ:SOUR IMM
Set sweep trigger event source to immediate.
STAT?
Test instrument state is idle. Poll STAT? until the
returned state is READY.
INIT:CONT ON
Start sweep acquisition loop.
TRAC:FEED:CONT? "TRC1"
Wait for the first trace refresh to be done. Poll
WDM analysis trace feed until the returned
value is NEVER.
<Add commands to retrieve analysis
results>
See Retrieving Analysis Results (WDM) on
TRAC:FEED:CONT "TRC1", NEXT
Reactivate WDM analysis trace feed control for
another "one-shot" refresh.
TRAC:FEED:CONT? "TRC1"
Wait for trace refresh done. Poll trace feed until
the returned value is NEVER.
<Add commands to retrieve analysis
results>