Examples on using the scpi commands – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual
Page 604

SCPI Command Reference
598
FTB-5240S/S-P/BP
Examples on Using the SCPI Commands
Examples on Using the SCPI Commands
Here are a few examples on using the SCPI commands sequences. The left
column of the table indicates the command and its position in the
sequence, and the right indicates relevant comments about it.
When the command is in bold characters, it is specific to the example; the
other commands are there to ensure that the sequence is performed
smoothly.
Performing an Offset Nulling and Wavelength
Referencing
Command Sequence
Comments
STAT?
Test instrument state is idle. Poll STAT? until the
returned state is READY.
CAL:ZERO:AUTO ONCE
Start nulling and referencing.
Note: this command will take up to 5
seconds to complete.
STAT:OPER:BIT9:COND?
Wait for the nulling to be completed. Poll bit 9
until the returned value is 0.