Performing a single acquisition – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual
Page 605
Advertising

SCPI Command Reference
OSA
599
Examples on Using the SCPI Commands
Performing a Single Acquisition
Command Sequence
Comments
<Add commands to configure analysis
parameters>
SENS:CORR:OFFS:MAGN 5.0 DB
Set power offset.
SENS:WAV:OFFS 0.065 NM
Set wavelength offset.
SENS:WAV:STAR 1525.000 NM
Set sweep wavelength range: 1525.000 nm to
1570.000 nm.
SENS:WAV:STOP 1570.000 NM
""
SENS:AVER:STAT OFF
Disable 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:IMM
Start sweep acquisition.
STAT:OPER:BIT8:COND?
Wait for the acquisition to be completed. Poll
bit 8 until the returned value is 0.
<Add commands to retrieve analysis
results>
Advertising