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

SCPI Command Reference
OSA
603
Examples on Using the SCPI Commands
Cancelling the Current Acquisition Sequence
Configuring the Analysis Setup for the Next
Acquisition Sequence (WDM)
Command Sequence
Comments
SENS:AVER:STAT ON
SENS:AVER:TYPE SCAL
SENS:AVER:COUN 500
TRIG:SEQ:SOUR IMM
STAT?
INIT:IMM
Start averaging acquisition.
ABOR
Stop acquisition.
Command Sequence
Comments
CALC:WDM:STAT ON
Activate WDM analysis.
TRAC:FEED:CONT "TRC1", ALW
Set trace data refresh mode to ALWays. When a
new sensed trace is available, it is
automatically transferred in the WDM calculate
block for analysis.
<Add commands to set global
parameters>
See Modifying Global Analysis Parameters
(WDM) on page 606.
<Add commands to configure
channel list>
See Creating a Channel List Based on the
Default Channel (WDM) on page 604 and
Creating a Channel List Based on Specific
Channels (WDM) on page 605.