![Keysight Technologies 86120B Скачать руководство пользователя страница 119](http://html1.mh-extra.com/html/keysight-technologies/86120b/86120b_user-manual_1961930119.webp)
117
Programming
Example Programs
Example 4. Measure WDM channel separation
This program measures the line separations on a WDM system. It measures separa-
tion (delta) between power and wavelength of each line using commands from the
CALCulate3 subsystem.
Refer to the introduction to this section for a description of each subroutine that is
contained in this program.
COM /Instrument/ @Mwm
ASSIGN @Mwm TO 720
DIM Key$[1]
ON ERROR GOTO Error_msg
Set_ese
PRINT USING "37A,33A";"Multi-Wavelength Meter Identity is : ";FNIdentity$
ON TIMEOUT 7,5 CALL Err_mngmt
Cmd_opc("*RST")
! Change to list-by-wavelength display
Cmd_opc(":CONF:ARR:POW:WAV")
! Trigger and wait for one measurement
Cmd_opc(":INIT")
Cmd_opc("*WAI")
! Turn on delta mode
Cmd_opc(":CALC3:DELT:WPOW:STAT ON")
! Set first wavelength as reference
Cmd_opc(":CALC3:DELT:REF:WAV MIN")
! Query number of data points
OUTPUT @Mwm;":CALC3:POIN?"
ENTER @Mwm USING "#,K";Nb_pt
ALLOCATE Delta_wl(1:Nb_pt)
ALLOCATE Delta_pwr(1:Nb_pt)
! Query wavelengths and powers
OUTPUT @Mwm;":CALC3:DATA? WAV"
ENTER @Mwm;Delta_wl(*)
OUTPUT @Mwm;":CALC3:DATA? POW"
ENTER @Mwm;Delta_pwr(*)
OFF TIMEOUT
FOR I=1 TO Nb_pt-1
PRINT USING "6A,2D,17A,M4D.3D,31A,S2D.2D,4A";"Line :";I;" wavelength is :
Содержание 86120B
Страница 1: ...Keysight 86120B Multi Wavelength Meter User s Guide...
Страница 2: ......
Страница 3: ...1...
Страница 12: ...10 General Safety Considerations...
Страница 68: ...You can use the ABORT and CONT softkey to stop and restart a print job that is in progress...
Страница 100: ...98 Programming Monitoring the Instrument...
Страница 163: ...161 Programming Commands CALCulate1 Subsystem Query Response For normal update 34123 For fast update 4268...
Страница 231: ...229 Performance Tests Test 5 Amplitude Accuracy and Linearity...
Страница 232: ......
Страница 233: ...7 Definition of Terms 233 Specifications 235 General Safety Information 239 Specifications and Regulatory Information...
Страница 244: ...242 Specifications and Regulatory Information Product Overview...
Страница 250: ...248 Reference Menu Maps Display List by Power Menu Display List by WL Menu...
Страница 251: ...249 Reference Menu Maps Delta On Menu Delta Off Menu...
Страница 253: ...251 Reference Menu Maps System Print Menu...
Страница 254: ...252 Reference Menu Maps System Setup Menu...
Страница 272: ......