:CALibrate:OPTical:STEP?
Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram
Stations
Query Syntax
:CALibrate:OPTical:STEP?
Description
Returns the current step number during an Optical Calibration. The step number represents a calibration of a specific optical path (Fixture / Lane input to switch output). To return the total number of calibration steps for the Hardware Diagram, use the :CALibrate:OPTical:STEP:COUNt
query. To select a step to run, use the :CALibrate:OPTical:STEP:SELect
command.
Complete Example Calibration Commands with Two 2-lane Fixtures |
:CAL:OPT:STEP? Query Response |
:CAL:OPT:SDONe? Query Response |
---|---|---|
During a Calibration | ||
:CAL:OPT:STARt :CAL:OPT:SDONe? |
"Connect an optical source to Port 1.1 (DUT Fixture 1 Lane 1) and specify the average optical power." | |
:CAL:OPT:OPOWer 4.2E-4 :CAL:OPT:STEP? :CAL:OPT:CONTinue :CAL:OPT:SDONe? |
1 | "Connect an optical source to Port 1.2 (DUT Fixture 1 Lane 2) and specify the average optical power." |
:CAL:OPT:OPOWer 4.0E-4 :CAL:OPT:STEP? :CAL:OPT:CONTinue :CAL:OPT:SDONe? |
2 | "Connect an optical source with the appropriate wavelength to Port 2.1 (WDM DUT Fixture 2 Lane 1) and specify the average optical power." |
:CAL:OPT:OPOWer 4.1E-4 :CAL:OPT:STEP? :CAL:OPT:CONTinue :CAL:OPT:SDONe? |
3 | "Connect an optical source with the appropriate wavelength to Port 2.2 (WDM DUT Fixture 2 Lane 1) and specify the average optical power." |
:CAL:OPT:OPOWer 3.8E-4 :CAL:OPT:STEP? :CAL:OPT:CONTinue :CAL:OPT:SDONe? |
4 | "Optical Calibration has completed successfully. The optical calibration data will be saved to the following file: OpticalCalibration_YYYY-MM-DD.ocdx" |
:CAL:OPT:CONTinue *OPC? |
||
Other | ||
:CAL:OPT:CANCel | "Optical Calibration has been canceled." | |
If a calibration is not in progress | "No Module Calibration in progress." |