Home
Agilent 86120B マルチ・ウェーブレングス・メータ
Contents
1. 1 20
2. 2 8 eeu er 45 dB 25 dB
3. HP EL uk 1 23
4. 0 5dB 0 1dB 30dB 30 40dB
5. 1 7 7 H 1 21 e SRA
6. 1 1 Q HP HP HP
7. 2 7 2 ul 4 1 632 991nm 473 6127THzZ 3 730 68Snm 410 2896THz 1152 591nm 260 1032THz 3 1523 488nm 196 7804THz 3
8. o 0 1 EFAS DIEM Ekr C
9. An 6 3 10 CEEA List by WL List by Power e a Peak WL List by WL List by Power Avg WL List by WL List by Power AgSg7
10. HP HP ph 1 14 1 1
11. inptconr INPUT 1 13 6 6 Ho 1 Setup 2 MORE 3 C4L
12. SN 15dB SN 3 5 SN SN 1 Preset 2 List by WL List by Power 3 Appls S 4 a WLREF 407O OSEA b USER USER WL
13. ON CE CSA C Tick Australian Spectrum Management Agency ISM Industrial Scientific and Medical Group 1 Class A Agilent 86120B 700 1650nm WDM A
14. NIST NIST 2 1 RE CAN a Ar a H Tm
15. PREM DES H J T JL W E 2 1
16. 7 5 EF 10 GHz NORMAL 2 14 2 x ome 700 1650nm 182 428THz gt 30 GHz 3 ppm 1550nm T 0 005nm 1310nm T 0 004nm 2 ppm 20 GHz 1550nm 0 16nm 1300nm 0 11nm 0 001 nmm 0 01 nm
17. 1528 4 PRBS 1554 4 2 10 2 24 10dBm 10dBm 10dBm 10dBm
18. 3 9 CLEAR E46 NUM LINES lt NUM REFS E47 NUM LINES gt NUM REFS CLEAR MAX MIN CLE4AR CONT RESET CONT 1 Preset
19. 2 1 A AM a f 2dBm 10dB
20. FC PC HP 1 10 2 3 Diamond HMS 10 o 1 15 1 2 eo tt 1 14 eer i B41 2 Diamond HMS 10 HMS 10
21. 3 14 Addressing and Initializing the Instrument 4 3 To change the HP IB address 4 3 Making Measurements 4 6 Commands are grouped insubsystems 4 8 Measurement instructions give quick results 4 10 The format of returned data 4 16 Monitoring the Instrument 4 17 Status registers 4 17 Queues 4 22 Reviewing SCPI Syntax Rules 4 24 Example Programs 4 29 Example 1 Measure a DFB laser 4 31 Example 2 Measure WDM channels 4 33 Example 3 Measure WDM channel drift 4 35 Example 4 Measure WDM channel separation 4 38 Example 5 Measure SN ratio of WDM channels 4 40 Example 6 Increase a source s wavelength accuracy 4 42 Lists of Commands 4 44 Programming Programming Programming Programming This chapter explains how to program the Agilent 86060C The programming syntax conforms to the IEEE 488 2 Standard Digital Interface for Programmable Instrumentation and to the Standard Commands for Programmable Instruments SCPI Where to begin The programming examples for individual commands in this manual are written in HP BASIC 6 0 for an Agilent 9000 Series 200 300 Controller For more detailed information regarding the HP IB the IEEE 488 2 standard or the SCPI standard refer to the following books Hewlett Packard Company Tutorial
22. FDA Laser Class I IEC Laser Class 1 AGILENT 86120B OPTICAL INPUT 1nw 5 5 D o o E ormon f
23. SN 15HE T5Hnm 18 8idBm 1 dB 1548 066 6 06 SE rasinn eo 1543 663 4 28 37 8 3 OF 1551 281 4 34 37 0 uir 1552 894 11 22 33 a M SS SS Fe er SN SN 3 3 SN SN SN 8 N A xx A xx 900 10 100
24. 2 22 2 16 ELET 6x10 PFA F Hz 4 am 1530 nm 10 kHz
25. 1 Cita 100 HANSEN HAJ 100 7 4
26. E gt BZ 5 1 it Tk R T x gt re on my
27. A 1 22 HP 8 17 HP HP HP HP
28. AC 1 115 VAC 110 VA MAX 60 WATTS MAX 1 1 A MAX 230 VAC 150 VA MAX 70 WATTS MAX 0 6 A MAX 115 VAC 230 VAC 115 VAC 90 132 V 230 VAC 198 254 V 50 Hz 60 Hz 47 63 Hz 2 4 8 AC
29. 5 760 torr 15 C 0 2 26 Setup MORE CAL ELEV GLO VT bY eA LC 0 5000m 500m 250m RETURN 3 281 m 1 Setup cw MORE
30. Hewlett Packard 86120B SN US 36490000 LIGHTWAVE DIVISION Santa Rosa CA 95403 Made in USA of domestic And foreign components 1 Table 1 1 Agilent 010 FC PC 011 Diamond HMS 10 1 08154 61701 013 DIN47256 1 08154 61703 014 ST 1 08154 61704 017 SC 1 08154 61708 022 900 1 8120 1703 901 1 8120 0696 902
31. Lc 8 2nLd HH 3 13 1 0 1 Va V 0 1
32. 100 4 800 IEC 1010 664 II 2 ON OFF ON OFF
33. 2 1530 000nm 1549 577nm 0 5000 VAC LEi a STD AIR
34. 1 6 17 1 19
35. o EE Preset 1650nm Setup WLLIM LIM ON Ae LES TI Built a STARTWL STOP WL am RY gy 1200nmm 2 9 FP Preset BRO
36. 2 15dB 1SdB 15dB 1 30dB 2 16 3 CARMAN CWET 1
37. OPTICAL INPUT Single Cont Single 2 15 ee ae ASH
38. ee KO ER 760 torr 15 C 0 1 11 8 8 Preset 1200 1650nm 700 16S0nm 1 Preset 2 Setup 8 WLLIM 4 ZIM OFF 700nm 1650nm 1 12
39. 15 20cm tHe 1 1 2 nF HP
40. HP 1 24 54kg 159kg 7cm FTI A FIVE BOREAL TC REY 7cm Sealed Air Corporation Commerce California 90001 S D 240 Air CapTW
41. E F fe eat CW COD ul iii INPUT 1 13 iv Diet Diet IEC Publication 1010 Safety Requirements for Electronic Measuring Apparatus
42. E EX 1 16 t 1 4 4 Rote sc me Ni te 21 6 FC 1 17 RE 1
43. 3 11 1 2 le bOI Mt E U oot Ke BEY Lc LED DFB 4 2nLd 1 200mm COHEREWCE LEHETH UNCAL Le 9 6 mm EY WL hLn 1 491 mm OF alpha H 984 YAT beta 4H H61 a H I 9 Er Preset Appl s COH LEN 4
44. Bed 100 3 Poa 100 A SELECT f TE j BY WL BY PWR UZ KOs RD VILD 1546 495nm
45. 18d4Bm 10dBm OPTICAL INPUT or 10dBm Setup MORE CAL PWR OFS PWR OFS 4 10dB 10dB 2 25 ag
46. 0 Cont Single Cont iat 3 8 I TERR FORNI 1 3
47. nm wa Al H Cont 0 1 0 1 nm 0 1 nm SN Preset List by WL Zist by Power s SV 4 PC NUM 47C Appl 10 6 7 Cont pY77
48. Asse BH CIC CHAT SZEOO APY TV 8 16 AC oy 4 ASCI PARALLEL PRINTER PORT 5 5 LINE EMC 1 LINE
49. CuNi Zn 1 3 2 Cu Ni Zn F 125um 0 2um 1 3 Diamond HMS 10 0 2Lm HP
50. dBm 1548 8 1565 0 Setunp THRSHLD a xm 1 List by WL List by Power 2 GRAPH 8 2 11 CO N e
51. WDM a G CR Me A tt Gt Se ak gt Xt 2 21 2 22 2 20 1541 747 nm 1 302 nm 7 26 dB 1 98 dB 1 300 nm 2 596 nm 2 42 dB 4 41 dB 1541 747nm ADE 2 596nm o
52. uh REX ym a 2 2 2 2 1 Obarski G E 1990 Wavelength Measurement System for Optical Fiber Communications NIST Technical Note 1336 February 18 Take the average of the two frequencies straddling gain center Moore C E 1971 Atomic Energy Levels as Derived from the Analysis of Optical Spectra Vol 1 NSRDS NBS 35 Vol 1 COM 72 51282 December 77 D A Jennings F R Peterson and K M Evenson 1979 Frequency measurement of the 260 THz 1 15 micron He Ne laser Optics Letters Vol 4 No 5 May 129 130 J
53. 1H 4 8 2 8 1 SN Setup SA4V RCL SA4VE 4 SA4VE Setup SA4V RCL RECALL 4 RCL Setup
54. 10dB Preset E15 MAX NUMBER OF SIGNALS FOUND 100 WL LIM START WL STOP WL 2 19
55. 2 8 nm THz cmr 2 13 v
56. 8 12 8 3 SCPI 8 2 1 3 1 BAD CHECKSUM FROM MOTOR MOTOR COMMUNICATION PROBLEM MOTOR NOT MOVING MOTOR INDEX PULSE NOT FOUND MOTOR CHIP SET INIT FAILED MOTOR COMMUTATION FAILURE MOTOR NOT SETTLED MOTOR DID NOT STOP MOTOR MOTION ERROR MOTOR POSITION LIMIT FAILED MOTOR POSITION WRAP FAILED POWER LEVEL TOO HIGH DATA DOWNLOAD PROBLEM DATA ACQUISITION PROBLEM MAX NUMBER OF SIGNALS FOUND MOTOR INTERRUPT RECEIVED 8 9 R 8 2 2 3 17 ROM BYTE UNERASED 18 ROM WRITE OPERATION FAILED 19 ROM DEFECTIVE 20 ROM DATA INVALID 21 ROM VERSION INCOMPATIBLE 22 ROM POLLING LIMITED OUT 23 INPUT OUT OF RANGE 24 BAD CAL ROM DATA 25 BAD CAL ROM DATA 26 BAD CAL ROM DATA 27 BAD CAL ROM DATA 28 BAD CAL ROM DATA 29 BAD CAL ROM DATA 30 NVSRAM WRITE OPERATION FAILED 31 SOFTWARE INITIALIZATION FAIL 32 HARDWARE INITIALIZATION FAIL 33 INITIALIZATION TIMEOUT 34 BATTERY FAILED 36 TOO MANY ERRORS 37 FUNCTION NOT YET IMPLEMENTED 38 PRINTER OFF LINE 39 PRINTER OUT OF PAPER 40 PRINTER ERROR DETECTED 41 PRINTER TIMED OUT 8 10
57. SN SN SN SN SN WDM SN 3 SN 30 0dB 14 Awe SN 1546 45 3rnm 16 79dBm 21 646 1548 666 6 56 25 Sonn ee Ue 1549 668 H 4 27 30 8 OF 5 1551 279 4 92 29 VAE 1552 894 a 39 B M SN SN dBm 2 8S N AUTO HP 3 3
58. 15 nm 1535 nm amp 1565 nm if2a 8 1554 4 10 kHz 2 23 plete HDS EE List by WL List by Power KRF PRBS SONET
59. 8 2 3 3 42 PRINTOUT WAS ABORTED 43 NOT ALLOWED IN COH LEN 44 NOT ALLOWED IN SN 45 UNKNOWN KEYPRESS 46 NUM LINES lt NUM REFS 47 NUM LINES gt NUM REFS 48 NO REFERENCE SIGNAL 49 GAIN RANGING ERROR 50 INCOMPATIBLE HARDWARE 51 UNKNOWN ERROR 8 11 8 3 SCPI 1 3 0 100 101 102 103 104 105 GET 108 109 112 113 120 121 123 124 128 131 134 138 141
60. n TAN yo whet avg n 2 i 1 Se n n DP i 1 2 7 n P Avg WL 700nm 1200nm Preset 1200nm 1650nm 700nm 16S0nm Sn eines a neces
61. PEAK 1351 314nm PREV ML HET ML PEAK HEXT PE 6 92 dBm E LINES Wa H AGRO ATTIEIBSIL KA 18dBm HP IB 4 pe a ay E FE 1 peakwl PARALLEL PRINTER PORT
62. 1 4 Et COM HIA DK a i 28 Hl HX E 12Sum 1 5
63. 2 1550nm 775nm 2 2 775nm 1550nm 15dB 775nm 2 2 8 1200nm 1650nm wavith3 1200nm 1650nm
64. vi iii vi 1 1 3 2 1 5 3 4 6 6 7 8 1 6 1 7 1 8 1 10 1 11 1 12 1 13 1 23 2 3 2 13 2 16 2 20 2 23 10dBm 2 25 2 26 2 28 SN 3 3 SN 3 7 M 3 9 3 12 Programming Addressing and Initializing the Instrument 4 3 Making Measurements 4 6 Monitoring Reviewing the Instrument 4 17 SCPI Syntax Rules 4 24 Example Programs 4 29 1 Lists of Commands 4 44
65. 1 19 ca HP HP Table 1 2 Agilent 8500 5344 8520 0023 9300 1223 8500 5262 Table 1 3 Agilent 08145 64521 FC PC 08154 44102 Biconic 08154 44105 DIN 5040 9364 HMS10 HP 5040 9361 ST 5040 9366
66. 1 8120 1692 906 1 8120 2296 912 1 8120 2957 917 1 8120 4600 918 1 8120 4754 919 1 8120 5181 UKS 1 9211 7314 UK6 1 AXE 1 86120 60031 IX4 1 86120 60030 OB2 1 86120 90001 412 10dB FC PC 1 1005 0587 2 2 1 2 3
67. Agilent 86120B Innovating the HP Way Hewlett Packard to Agilent Technologies Transition This product previously shipped under the Hewlett Packard Company brand name The brand name has now been changed to Agilent Technologies The functionality of the product remains unchanged only our name has changed Although this instructional manual still includes references to the Hewlett Packard Company this manual still applies to this product HP HP Copyright Hewlett Pack ard Company 1998 All Rights Reserved Repro duction adaptation or translation without prior written permission is p
68. 148 150 151 8 12 8 3 SCPI 2 3 158 161 168 170 171 178 200 211 TRG 213 INIT INIT IMM READ MEASure 221 SNR 222
69. 2 16 lt 2 0 MORE 2 DEVICE BROAD A 4AAO calls 2 10 dB 10 dBm 53 dBm
70. 2 2 5 81 8 2 3 81 8 2 7 12 7 12 2 13 equivalent commands 4 49 8 4 8 15 1 20 2 10 2 21 1 nm 3 5 3 8 AVERAGE 2 7 BROAD 2 10 BY PWR 2 6 BY WL 2 6 DRIFT 3 9 M 2 4 PEAK 2 4 PWR OFS 2 25 Remote 4 3 S N AUTO 3 3 S N USER 3 3 STD AIR 2 26 VAC 2 26 2 4 2 6 2 15 7 4 7 7 2 18 FAY 1 2 yY 4 27 5 8 8 13 2 14 1 3 1 6 8 16 7 9 5 81 8 2 6 1 5 1 6 2 2 iv 2 7 5 32 5 35 5 81 8 2 iv 2 4 2 12 2 4 2 20 2 4 7 6 2 14 1 13
71. 2 596nm ae oe mm 1 300 2 LEdE me ER 1541 747 5 46dEm eee E OF 3 1 1 Wa EGG o 2EdB mem a H T p SELECT 2 21 i CS Preset List by WL Delta On Off A AMWL A WZ APWR 5 NO oO pk Cw SELECT
72. 100 200 HP 1 2
73. 1650 nm nm dBm 0 dB 10 dB 8 2 8 1 2 2 Preset 15 dB A A A 700 nm 700 nm SN 100 HP IB
74. 4 TIEC 1275 X 20mm 6 3A 250V Agilent 2110 0703 Dig 100 240V T6 3A250V Diet 3 3 1 3
75. 1 nm 3 5 3 8 2 2 18 A ABORt programming command 5 84 ABORT 2 29 ac 1 7 adding parameters 4 26 ALPHa programming command 5 24 AM 2 16 2 23 Appl s 3 6 3 10 3 12 ASS 8 4 ARRay programming command 5 15 ASNR 5 45 CLEar programming command 5 44 COUNt programming command 5 44 AUTO programming command 5 60 3 6 AVERAGE 2 7 Avg WL 2 7 2 8 B BAR OFF 2 12 BAR ON 2 12 BETA programming command 5 25 block diagram 4 6 BROAD 2 10 BROAD 2 10 BY PWR 2 6 BY WL 2 6 C CALCulate1 subsystem 5 26 CALCulate2 subsystem 5 31 CALCulate3 subsystem 4 15 4 35 4 38 4 40 5 43 CAL 1 10 case sensitivity 4 25 CLEAR 3 10 CLENgth programming command 5 25 CLS 4 22 5 3 CM 1Y 7 h 2 14 Cmd_opc subroutine 4 30 COH LEN 3 12 colon 4 26 commands combining 4 25 common 4 24 measurement instructions 4 24 non sequential 4 13 5 29 5 34 5 35 5 36 5 37 5 38 5 39 5 40 5 41 5 42 5 71 5 85 5 86 standard SCPI 4 24 termination 4 28 common commands CLS clear status 5 3 ESE event status enable 4 30 5 3 ESR event status register 5 5
76. 1 11 8 1 12 1 13 1 23 Of ly 10 lt 20 2 7
77. 10GHz 2 26 Preset 18dBm 18dBm 2 25 10dBm 2 2 NT E id OPTICAL INPUT WL 2
78. Peak WL 1 100 ui OPTICAL INPUT Preset Peak WL 2 4 3 PREV WL 1 Sm NEXT WL 1 xm PEAK PREV PK 1 NEXT PK 1 2 5
79. lt 1 1H 1 PC 1 18 Super PC
80. More 2 PWR BAR BAR OV g4X OFF 2 12 S fn E 2 13 2 14 2 15 2 1 Bh nm dBm cm mW THz uw 1 Setup 2 MORE 3 UNITS 2 13 mn RETURNE NM
81. SELECT RESET WDM 1 AgSZ7 Preset List by Power Delta On APWR 1 SELECT
82. 100 2 Cont Single Cont 3 7 A co Ne SN SN
83. 20 PEAK HO SIGNAL 4 once Wail HH LD eee JD 2 AC 1 238 ME 5 HP Agilent 86120B OPTICAL INPUT 1nw
84. 1 2 7 12 fa y queue 4 22 8 9 1 4 2 16 2 23 2 6 2 25 8 15 7 4 7 7 7 2 8 13 1 2 2 10 2 26 3 ex i gt H 3 7 4 6 2 7 2 2 26 JEMIE 1 11 es it l 10 IRS A 2 10 programming command 5 70 2 10 7 6 1 13 AE UY AR ili 3 12 7 8 iv 1 23 request enable register 4 21 5 10 8 17 1 23 1 3 7 2 7 6 2 10 2 26 2 25 7 7 2 8 2 16 1 20 1 21 1 2 1 20 1 13 1 20
85. 223 224 230 RST RST FETCh RST CALC2 DATA 232 273 8 13 8 3 SCPI 3 3 310 321 350 400 410 420 430 440 8 14 FC PC S FC P
86. 7 4 3 4 3 5 3 8 3 5 7 10 Je Rae PER 2 14 2 20 2 8 4 4 5 36 2 10 2 16 2 16 2 19 2 24 2 16 iii 2 4 iii 2 4 8 15 1 24 1 13 v 2 8 2 18 Ee BE St 1 5 1 5 1 5 1 5 2 26 1 10 2 27 33 1 10 2 27 softkeys blanked 4 3 2 6 2 14 2 14 2 6 TERR TERRA amp BHR 7 4 7 7 2 3 event status register 5 5 SCPI commands 4 24 1 11 2 26 iii 2 10 5 70 over HP IB 5 6 1 9 2 10 3 12 2 16 1 7 2 28 1 7 vi 7 10 HRR iii 2 7 tH
87. E FF E 1 13 DFB 90dB 2 5mm 125um _ 1 1 2 3 FC PC
88. 2 Peak WL List by WL List by Power 2 8 Appls DA77 DRIFT 4 4 477W RESET mee MIN Ia
89. 4 5 6 1 25 1 26 2 3 2 13 2 16 2 20 2 23 10dBm 2 25 2 26 2 28 700nm 1650nm 1200nmm 1650mm 2 8 700nm 1200nmm 10dBm
90. NN 3 12 3 14 WH 1 23 4 28 2 23 7 4 7 7 vi 1 9 7 2 14 2 14 8 9 8 4 1 20 1 20 1 24 1 24 FA Vis 2 2 7 4 7 8 vi 1 9 vi 7 10 2 4 KUT Kb iii 3 9 3 10 2 23 iti 2 20 DA UWE 2 2 2 8 8
91. 100 35 dB 022 50 dB 7 s 1 0 33 s 3 SN 200GHz SN 100 200GHz gt 35 dB 0 1 nmm 25dBm gt 35aB 0 1nm 25dBm 1 200 nm 566 0 75s 115 VAC 110 VA MAX 60 WATTS MAX 1 1 A MAX 230 VAC 150 VA MAX 70 WATTS MAX 0 6 A MAX 115 VAC 230 VAC 115 VAC 90 132 V 230 VAC 198 254 V 50 Hz 60 Hz 47 63 Hz 4 572m 0C 455T 31C 80 40 50 8 5ke
92. 3 12 L j 0 2nL OPD Lc 17e H 2nLd
93. 77Z CM POWER MW UW DBM 1 i ONS NAS ais ie ea T IS Setup amp f MORE UPDATE Y 7 NORMAL Z4ST MM J ete bo cK 1 3 Aa 1 gt Sua Ax E Lore 2 14
94. SN Plaser line peak SN AUTO 200GHz 15S0nmm 1 6nm 2 P P 200GHz 100GHz 2 3 4 SN Plaser line
95. 8dBm dBm 2 dBm 10 dB AM 0 40dB 10dB 10dB at Th Th HEV FEF LEBT
96. 700nm 1650nm 2 2 8 2 18 m 3 PXEXC Setup TRRSHLD z Rt 1 30dB 15dB RETURN 5 PY777 0 40dB 0dB
97. H H E MPH Ai PAL CT LEIDOTC i 2 ALT
98. S N USER 1 SN 0 1nm 0 1nm 0 1 nm ABO SN PRBS SONET
99. 8 17 2 10 7 4 7 8 5 lockout 4 3 8 15 7 12 iii 2 7 2 25 2 7 AM 2 16 2 23 EDFA 2 10 instructions 4 24 5 15 PRBS 2 24 3 5 S N 3 3 3 6 SONET 2 24 3 5 update rate 4 10 5 29 5 73 via HP IB 4 6 2 16 2 23 1 9 2 26 3 3 9 2 26 2 10 3 12 7 5 7 8 2 26 2 20 2 20 2 7 2 14 4 10 5 29 5 73 2 13 2 15 2 10 2 21 2 22 2 18 2 16 2 26 2 6 2 13 2 7 2 22 2 23 2 20 3 9 2 15 addressing over HP IB 4 3 1 23
100. o Fa 1 E
101. 2 5 PREV WL 2 5 PREVious programming command 5 66 Print 2 28 8 7 programming command 5 45 programming 4 2 command notation convention 5 2 equivalent softkeys 4 49 examples See example programs list of commands 4 44 measurement instructions 5 15 PTRansition programming command 5 77 PWR BAR 2 12 PWR OFS 2 25 2 25 3 Q queries 4 28 multiple 4 28 queues 4 22 R range wavelength 4 4 5 36 READ measurement instruction 5 15 Remote annotation 4 3 RESet programming command 5 56 RESET 2 22 3 9 3 11 RF 2 24 RIGHT programming command 5 66 RST 4 4 4 30 5 8 S S N 7 8 3 3 3 3 5 60 be iii S N AUTO 3 3 S N USER 3 3 SN 3 6 SCALar programming command 5 15 SCPI standard commands for programmable instruments standard 4 2 syntax rules 4 24 SELECT 2 6 2 21 semicolon 4 24 sending common commands 4 26 SENSe subsystem 5 69 Set_ese subroutine 4 30 settings conflict error 4 15 5 36 5 45 5 47 5 51 5 52 5 54 5 55 5 57 5 58 5 64 8 13 Setup 1 12 2 8 2 12 4 3 8 8 short form commands 4 24 Single 2 15 2 17 SONET 2 24 3 5 SRE 5 10 STATe programming c
102. Agilent 8 16 HP HP 0120 320 119 HP 172 U S FIELD OPERATIONS Headquarters Hewlett Packard Company 19320 Pruneridge Avenue Cupertino CA 95014 U S A 800 752 0900 Colorado Hewlett Packard Company 24 Inverness Place East Englewood CO 80112 303 649 5000 New Jersey Hewlett Packard Company 150 Green Pond Road Dock 1 Rockaway NJ 07866 201 586 5910 California Northern Hewlett Packard Company 301 East Evelyn Mountain View CA 94041 415 694 2000 Georgia Hewlett Packard Company 2000 South Park Place Atlanta GA 30339 404 955 1500 Texas Hewlett Packard Company 930 East Campbell Road Richardson TX 75081 214 231 6101 California Southern Hewlett Packard Company 1421 South Manhatten Ave Fullerton CA 92631 714 999 6700 Illinois Hewlett Packard Company 5201 Tollview Drive Rolling Meadows IL 60008 708 342 2000 EUROPEAN FIELD OPERATIONS Headquarters Hewlett Packard S A 150 Route du Nant d Avril 1217 Meyrin 2 Geneva Switzerland 41 22
103. C47 V4CUUM ST7D ARET RETURN 2 27 PARALLEL PRINTER PORT ASCII Agilent Laserlet 100 Print Agilent 86120B SER US36151025 Firmware Ver 2 000 List By Wavelength 8 Lines Power Offset 0 0 dB Vacuum Elevation 0
104. e TF e Du nee ul
105. 140 X 340 X 465mm 7 9 FDA Laser Class I IEC Laser Class 1 21 CFR 1040 10 1040 11 Geraeuschemission LpA lt 70 dB LpA lt 70 dB am Arbeitsplatz normaler Betrieb ISO 7779 nach DIN 45635 t 19 7 10 Declaration of Conformity DECLARATION OF CONFORMITY according to ISO IEC Guide 22 and EN 45014 Manufacturer s Name Hewlett Packard Co Manufacturer s Address 1400 Fountaingrove Parkway Santa Rosa CA 95403 1799 USA declares that the product Product Name Multi Wavelength Meter Model Number HP 86120B Product Options This declaration covers all options of the above product conforms to the following Product specifications Safety IEC 1010 1 1990 A1 EN 61010 1 1993 CAN CSA C22 2 No 1010 1 92 EMC CISPR 11 1990 EN 55011 1991 Group 1 Class A IEC 801 2 1984 EN 50082 1 1992 4 kV CD 8 kV AD IEC 801 3 1984 EN 50082 1 1992 3 V m 27 500 MHz IEC 801 4 1988 EN 50082 1 1992 0 5 kV Sig Lines 1 kV Power Lines Supplementary Information
106. 4 ELEV 5 g ERI 0m S000m 300m 250m 6 Ag7OAV 3 281 m 1 10 cn 7 7 2 Setup MORE C47 K4CUUM 7 47 RETURN
107. LTIS Single 20 10 dB dBm E3 30 40 50 15dB 3dB 4 wavlth15 2 17 ss 3 dB 0 10 20 Se ts oe Re ee leet oe E a 10 dB if 30 40 50 H ev aul
108. In this instance you must send INIT IMM after the RST command and before FETCh command to capture a new array of measurement data CONFigure command The CONFigure command changes measurement settings without taking a measurement The instrument is placed in the List by WL List by Ampl Peak WL display or in the coherence length application CONFigure can be queried The query returns the last configuration setup by the CONFigure command The instrument returns a string which is the last instrument function sent by a CONFigure command or MEASure query The returned string is in the short command form Use caution when using this query because if any instrument settings were changed since the last CONFigure command or MEASure query these changes may not be included in the returned string For example if the last CONFigure command was CONFigure SCALar POWer WAVelength 1300NM MAX a CONFigure query would return a string that is similar to the following line POW WAV 1 300000e 6 0 01 The 1300NM and resolution values track the actual instrument settings and input signals Notice that the quotation marks are part of the returned string Return single or multiple measurement values You can specify whether FETCh READ or MEASure returns a single value SCALar or multiple values ARRay The following example specifies SCALar data which returns a single value MEASure SCALar POWer WAVelength MAX 4 12 Programming
109. TRIGger Stops current measurement Acquires new measurement data Also used to select single or continuous acquisition of measurement data UNIT Sets the amplitude units to watts or dBm Table 4 1 on page 4 9 shows the kinds of measurements that the Agilent 86060C can perform and the associated programming commands used to return that data In some cases there is more than one method that can be used to obtain the desired data Refer to Chapter 5 Programming Commands for the correct syntax for these commands 4 8 Table 4 1 Commands for Capturing Data Programming Making Measurements Desired Command to Configure Measurement YY Command to Query Data Measurement partial listing Wavelength nm CONFigure FETCh READ and MEASure MEASure ARRay POWer WAVelengt h Frequency THz CONFigure FETCh READ and MEASure MEASure ARRay POWer FREQuency Wavenumber m Coherence Length m Power W dBm Average Wavelength Wavenumber or Frequency Total Power W dBm Laser Line Separation Laser Line Drift Signal to Noise Ratio Signal to Noise Ratio Average Time Domain Data Corrected Frequency Domain Data Uncorrected Frequency Domain Data CONFigure FETCh READ and MEASure CONFigure FETCh READ and MEASure CONFigure FETCh READ and MEASure CALCulate2 PWAVerage STATe CALCulate2 PWAVerage STATe CALCulate3 DELTa REFerence CALCulate3 DRIFt STATe CALCulate3 SNR STATe CALCulate3 ASNR STATe C
110. The contents of the Standard Event Status Register can be read and the register cleared by sending the ESR query The value returned is the total bit weights of all of the bits that are set at the present time Enabling register bits with masks Several masks are available which you can use to enable or disable individual bits in each register For example you can disable the Hardcopy bit in the OPERation Status Register so that even though it goes high it can never set the summary bit in the status byte high Use the SRE common command to set or query the mask for the Status Byte Register The masks for the OPERation Status and QUEStionable Status registers are set and queried using the STATus subsystem s ENABle commands Use the ESE common command to set or query the mask for the Standard Event Status Register The CLS common command clears all event registers and all queues except the output queue If CLS is sent immediately following a program message terminator the output queue is also cleared In addition the request for the OPC bit is also cleared 4 21 Programming Monitoring the Instrument For example suppose your application requires an interrupt whenever any type of error occurs The error related bits in the Standard Event Status Register are bits 2 through 5 The sum of the decimal weights of these bits is 60 Therefore you can enable any of these bits to generate the summary bit by sending the
111. 18 76dBm eer 3 1548 684 3 46 meme unser OM 1545 698 7 61 eee EOF 6 1551 314 6 92 meee 1552 933 10 38 ween aa MEOR Ce os Leak seve listwl List by WL 1 OPTICAL INPUT 2 Preset 8 List by WL 4 List by Power 2 6 3 1549 63 nm 1 51 3em LrHEs avgwl
112. Attribute Summary Description Programming Commands CALCulate1 Subsystem TRANsform FREQuency POINts Sets the size of the fast Fourier transform FFT performed by the instrument CALCulate1 TRANsform FREQuency POINTs lt integer gt MINimum MAXimum lt integer gt Sets FFT size Must be either 34123 or 4268 Other values result in an error Constant Description MINimum 4 268 MAXimum 34 123 Non sequential command Preset State array size set to 34 123 RST State 34 123 SCPI Compliance instrument specific A NORMAL updated display corresponds to an FFT size of 34 123 A FAST updated display corresponds to an FFT size of 4 268 These values are a subset of the uncorrected data buffer shown in the figure that is located in Making Measurements on page 4 6 Changing the number of points causes the instrument to reprocess the current set of data The query form of the command returns the number of points in the data set This is the number of measurement points that will be returned by the CALC1 DATA query Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 29 Programming Commands CALCulate1 Subsystem Query Response For normal update 34123 For
113. CLS With the exception of the output queue all queues that are summarized in the status byte register are emptied The error queue is also emptied Neither the event status enable register nor the service request enable register are affected by this command After the CLS command the instrument is left in the idle state The command does not alter the instrument setting OPC and OPC actions are cancelled This command cannot be issued as a query ESE The ESE event status enable command sets the bits in the event status enable register and enables the corresponding bits in the event status register ESE lt integer gt ESE lt integer gt is a mask from 0 to 255 5 3 Description Query Response Example Programming Commands Common Commands The event status enable register contains a mask value for the bits to be enabled in the event status register A bit set to one 1 in the event status enable register enables the corresponding bit in the event status register to set the event summary bit in the status byte register A zero 0 disables the bit Refer to the following table for information about the event status enable register bits bit weights and what each bit masks The event status enable register is cleared at power on The RST and CLS commands do not change the register The ESE query returns the value of the event status enable register Table 5 2 Event Status Enable Register
114. Notice that there are two buffers from which data can be queried an uncorrected data buffer and a corrected data buffer With each scan of the input wavelength range the analog to digital converter loads 65 536 data values into the uncorrected data buffer This is considered to be one measurement A fast update measurement mode is available for quicker measurement acquisition But because only 8 192 data values are collected in fast update measurement mode the ability to resolve closely spaced signals is reduced After collecting the uncorrected data the Agilent 86060C searches the data for the first 100 peak responses Searching starts at 1700 nm and progresses towards 700 nm for WLIMit OFF If WLIMit is on searching starts at WLIMit STARt to WLIMit STOP These peak Uncorrected data buffer frequency domain data 64K 32K Michelson Interferometer Resolution argument of CALCulatel DATA FETCh READ or INITiate iMEASure continuous time domain or single data HeNE mea BBB 128K Reference acquisition Laser SENSe DATA flow1 4 6 Programming Making Measurements values are then placed into the corrected data buffer Each peak value consists of an amplitude and wavelength measurement Amplitude and wavelength correction factors are applied to this data For a listing of the programming commands including a cross reference to front panel keys refer to the following tables
115. Programming Commands Common Commands 5 3 Measurement Instructions 5 15 CALCulatel Subsystem 5 26 CALCulate2 Subsystem 5 31 CALCulate3 Subsystem 5 43 CONFigure Measurement Instruction 5 64 DISPlay Subsystem 5 64 FETCh Measurement Instruction 5 67 HCOPy Subsystem 5 68 MEASure Measurement Instruction 5 68 READ Measurement Instruction 5 69 SENSe Subsystem 5 69 STATus Subsystem 5 74 SYSTem Subsystem 5 79 TRIGger Subsystem 5 84 UNIT Subsystem 5 86 Performance Tests Test 1 Absolute Wavelength Accuracy 6 3 Test 2 Sensitivity 6 4 Test 3 Polarization Dependence 6 5 Test 4 Optical Input Return Loss 6 6 Test 5 Amplitude Accuracy and Linearity 6 9 7 3 7 6 7 10 YL 8 2 8 4 8 9 2 8 15 AC 8 16 HE 8 17 3 4 1 1 3 2 1 3 4 1 5 1 1 1 5 1 6 7 8 6 1 10 7
116. a 30GHz 7 6 30nm 1310 1550nm 0 5 dB 780 nm 0 5 dB 30nm 1200 1600 nm_ 0 2 dB 700 1650 nm 0 5 dB 1200 1600nm 30dBm 0 3 dB 1200 1600 nm 0 5 dB 700 1650 nm 1 0 dB 0 01 dB 700 900 nm 1 20 dBm 900 1200 nm 1 25 dBm 1200 1600 nm 1 40 dBm 1600 1650 nm 1 30 dBm 700 1650 nm 392 1 a 7 7 100GHz 2 25 dB 30GHz 2 10 dB 10 dBm 18 dBm
117. 4 33 Example Programs Err mngmt SUB Err mngmt COM Instrument Mwm DIM Err_msg 255 INTEGER Cme CLEAR 7 REPEAT OUTPUT Mwm ESR ENTER Mwm Cme OUTPUT Mwm SYST ERR ENTER Mwm Err_msg PRINT Err_msg ANT NOT BIT Cme 2 AND NOT BIT Cme 4 AND NOT BIT Cme 5 AND Err 0 Subend SUBEND Set_ese SUB Set_ese COM Instrument Mwm OUTPUT Mwm ESE IVAL 00110100 2 SUBEND Identity DEF FNIdentity COM Instrument Mwm DIM Identity 50 Identity OUTPUT Mwm RST OUTPUT Mwm OPC ENTER Mwm Opc_done OUTPUT Mwm IDN ENTER Mwm ldentity RETURN Identity FNEND 4 34 Example Programs Example 3 Measure WDM channel drift This program measures the drift of channels in a WDM system It measures drift in both power and wavelength of each line First the program sets the Agilent 86060C in the continuous acquisition measurement mode Then it measures drift using commands from the CALCulate3 subsystem Notice the use of the Tempo subroutine to pause the program for 10 seconds while the Agilent 86060C measures the drift on the laser The use of the Err mngmt subroutine is optional 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_mn
118. IDN identification number 4 30 5 6 OPC operation complete 4 30 5 6 RST reset 4 30 5 8 SRE service request enable 5 10 STB status byte 5 12 TRG trigger 5 13 TST test 5 13 WAI wait 5 14 definition 4 24 sending 4 26 computer control 4 6 CONFigure measurement instruction 5 15 CONTinuous programming command 5 85 Cont 2 15 3 10 CONT 2 29 D DPWR 2 22 D WL PWR 2 22 D WL 2 22 DATA programming command 5 27 5 32 5 46 5 73 DBM 2 14 default HP IB address 4 3 DELay programming command 5 25 1 Delta OffF Off Delta On On DEVICES 2 10 DFB 2 10 DISPlay subsystem 5 64 DRANge programming command 5 34 DRIFT 3 10 3 9 E E15 MAX NUMBER OF SIGNALS FOUND 2 19 E46 NUM LINES lt NUM REFS 3 10 E47 NUM LINES gt NUM REFS 3 10 EDFA 2 10 ELEVation programming command 5 70 5 71 ELEV 1 10 2 27 ENABle programming command 5 75 EOI signal 4 28 Err_mngmt subroutine 4 30 ERRor programming command 5 79 Error_msg subroutine 4 29 ESE 4 30 5 3 ESR 5 5 EVENT programming command 5 75 5 76 event status enable register 4 30 5 4 exam
119. am Ki i aul OPTICAL INPUT 2 0 Agilent 86120B WET 2 10 SN ii Secs sie E
120. c RETURN 5 SN Pg4 3 6 SN SN SN 10 dB IN S Bul I SAU C VY SBA FRICSONET PRBSO X 9 Zeit OK LF LET SN 1 SN 40 dB 0 1 nm
121. Connect the optical attenuator s output to the optical power meter Adjust the attenuator for a reading of 0 dBm on the power meter Record the attenuator s setting Attenuation at 0 dBm Adjust the attenuator for a reading of 35 dBm on the power meter Record the attenuator s setting Attenuation at 35 dBm Disconnect the fiber optic cable at the power meter s input and connect the cable to the Agilent 86060C being tested 6 Reset the optical attenuator to the setting recorded in Step 3 7 Read the power and wavelength measured on the Agilent 86060C and compared them to the specifications listed in Chapter 7 8 Reset the optical attenuator to the setting recorded in Step 4 9 Read the power and wavelength measured on the Agilent 86060C and compared them to the specifications listed in Chapter 7 6 4 Description CAUTION Procedure Noa fF CO NY e Performance Tests Test 3 Polarization Dependence Test 3 Polarization Dependence Polarization Dependence is verified using the following devices 1310 nm and 1550 nm DFB lasers Optical attenuator Agilent 11896A Polarization Controller Do not exceed 18 dBm source power The Agilent 86060C s input circuitry can be damaged when total input power exceeds 18 dBm Perform the following procedure first using the 1310 nm laser and then repeat the steps using the 1550 nm laser Turn on the lasers a
122. ESE 60 command Whenever an error occurs it sets one of these bits in the Standard Event Status Register Because the bits are all enabled a summary bit is generated to set bit 5 in the Status Byte Register If bit 5 ESB in the Status Byte Register is enabled via the SRE command an SRQ service request interrupt is sent to the external computer Standard Event Status Register bits that are not enabled still respond to their corresponding conditions that is they are set if the corresponding event occurs However because they are not enabled they do not generate a summary bit to the Status Byte Register Queues There are two queues in the instrument the output queue and the error queue The values in the output queue and the error queue can be queried Output queue The output queue stores the instrument responses that are generated by certain commands and queries that you send to the instrument The output queue generates the Message Available summary bit when the output queue contains one or more bytes This summary bit sets the MAV bit bit 4 in the Status Byte Register The method used to read the Output Queue depends upon the programming language and environment For example with HP Basic the output queue may be read using the ENTER statement Error queue As errors are detected they are placed in an error queue Instrument specific errors are indicated by positive values General errors have negative values You
123. Fit a 8 3 Appls 4 AUTO USER PEAK USER WL be Appls WL REF CANCEL EXIT RETURN RETURN S N S N AVG DRIFT 4 COH LEN Y RETURN PEAK NUM AVG EXIT 4 MAX MIN RESET EXIT mappls 8 4 Display Avg WL Measurement Cont Display List by Power List by Power 4 PEAK GRAPH SELECT mlistpwr Display List by WL List by WL 4
124. Used With lt expected_value gt lt resolution gt SCALar optional optional ARRay ignored optional a Although ignored this argument must be present if the resolution argument is specified When used with a SCALar command a single value is returned The display is placed in the single wavelength mode and the marker is placed on the signal having a wavelength that is closest to the lt expected_value gt parameter Default units for lt expected_value gt parameter are in meters When used with an ARRay command an array of wavelengths is returned The display is placed in the list by wavelength mode The lt resolution gt parameter sets the resolution of the measurement It is a unitless number whose value will be limited to either 0 01 or 0 001 whichever is closer Returned values are in meters Displayed units are nanometers Power units are not affected CONFigure command When this function is used with the CONFigure command the query question mark character must not be included in the string However the FETCh READ and MEASure command are queries and require the question mark Refer to the examples for this command MAXimum The highest wavelength signal MINimum The lowest wavelength signal DEF ault The current marker position 5 21 lt resolution gt Constants Examples Query Response Programming Commands Measurement Instructions MAXimum 0 01 resolution fast update MINimum 0 001 r
125. data for a single measurement value is returned When the ARRay command is used multiple data values are returned The MEASure measurement instruction always acquires new measurement data In order to obtain both wavelength and power values from the same measurement data use two FETCh commands This is shown in the following program fragment OUTPUT 720 INIT CONT OFF OUTPUT 720 CONF ARR POW MAX OUTPUT 720 INIT IMM OUTPUT 720 FETC ARR POW ENTER 720 powers OUTPUT 720 FETC ARR POW WAV ENTER 720 wavelengths In the example above the data in the power and wavelength arrays are returned in the same order so that powers can be matched to wavelengths You can also send a MEASure command followed by a FETCh command Programming Commands Measurement Instructions The commands in this subsystem have the following command hierarchy MEASure READ FETCh CONFigure ARRay SCALar POWerl FREQuency 2 WAVelength WNUMber 2 SCALar LENGth COHerence ALPHa BETA CLENgth DELay 5 16 Syntax Description lt expected_value gt Constants Examples Programming Commands Measurement Instructions MEASure ARRay SCALar POWer Returns amplitude values POWer lt expected_value gt lt resolution gt Used With lt expected_value gt lt resolution gt SCALar optional ignored ARRay ignored ignored When used wi
126. 1 5 3 BI LOW E 1 7 hm 8 8946 8 18 A A 1 1 49 1 1 DRIFT i EY WL 1551 314 OF 6 37 YAT H ESZ7 drift
127. 40 Example 6 Increase a source s wavelength accuracy 4 42 These programs are provided to give you examples of using Agilent 86060C remote programming commands in typical applications They are not meant to teach general programming techniques or provide ready to use solutions They should allow you to see how measurements are performed and how to return data to the computer All of the examples are written in the HP BASIC programming language Many subroutines are repeated in the examples The first five example programs contain several common subroutines These routines along with one function are described in the rest of this introduction The descriptions are listed in the general order that the subroutines are called in the programs Error_msg subroutine This function is found in examples 2 3 4 and 5 It displays an error message on the computer s screen explaining the reason that the program s execution stopped 4 29 Example Programs Set_ese subroutine The subroutine sets the enable mask for the event status register to a value of 52 This allows bits 2 4 and 5 to be set whenever a query error QYE execution error EXE or command error CME respectively occurs All this is accomplished using the ESE common command The Err mngmt subroutine is used to actually read the value of the event status register Examples 1 through 5 call this subroutine FNidentity function When this function is called it resets
128. 5 41 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STOP WNUMber Sets the stopping wavenumber for the wavelength limit range CALCulate2 WLIMit STOP WNUMber lt real gt MINimum MAXimum lt real gt is a wavenumber value that is within the following limits Constant Description MINimum start wavelength limit MAXimum 14286 cm 700 nm Non sequential command Preset State 8 333335E5 m RST State 8 333335E5 m SCPI Compliance instrument specific This command sets the stopping range for the wavelength limit The default units for the lt 7eg gt parameter are inverse meters The stop wavenumber value must be less than or equal to the start wavenumber value or the stop wavenumber will be clipped to the start wavenumber and a Data out of range error will be generated Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 42 Programming Commands CALCulate3 Subsystem CALCulate3 Subsystem Use the CALCulate3 commands to perform delta drift and signal to noise measurements The commands in this subsystem have the following command hierarchy CALCulate3 ASNR CLEar COUNt STATe DATA DEL
129. 780 8111 Great Britain Hewlett Packard Ltd Eskdale Road Winnersh Triangle Wokingham Berkshire RG11 5DZ France Hewlett Packard France 1 Avenue Du Canada Zone D Activite De Courtaboeuf F 91947 Les Ulis Cedex France 33 1 69 82 60 60 Germany Hewlett Packard GmbH Hewlett Packard Strasse 61352 Bad Homburg Germany 49 6172 16 0 HP HP 272 INTERCON FIELD OPERATIONS Headquarters Hewlett Packard Company 3495 Deer Creek Rd Palo Alto California 94304 1316 415 857 5027 China China Hewlett Packard Company 38 Bei San Huan X1 Road Shuang Yu Shu Hai Dian District Beijing China 86 1 256 6888 Taiwan Hewlett Packard Taiwan 8th Floor H P Building 337 Fu Hsing North Road Taipei Taiwan 886 2 712 0404 Australia Hewlett Packard Australia Ltd 31 41 Joseph Street Blackburn Victoria 3130 61 3 895 2895 192 8510 9 1 MA 0120 421 345 Canada Hewlett Packard Ltd 17500 South Service Road Trans Canada Highway Kirkland Quebec H9J 2X8 Canada 514 697 4232 Singapore Hewlett Packard Singapore Ltd Pte Ltd Alexandra P O Box 87 Singapore 9115 65 271 9444 8 18
130. CORRection ELEVation 1000 OUTPUT 720 OPC ENTER 720 Response OUTPUT 720 INIT IMM Or the WAI command could be used OUTPUT 720 INIT IMM OUTPUT 720 SENSe CORRection ELEVation 1000 OUTPUT 720 WAI OUTPUT 720 INIT IMM 4 14 Programming Making Measurements Measure delta drift and signal to noise To select a measurement use one of the following STATe commands CALC3 DELT POW STAT delta power CALC3 DELT WAV STAT delta wavelength CALC3 DELT WPOW STAT delta power and wavelength CALC3 DRIF STAT drift CALC3 SNR STAT signal to noise ratios CALC3 ASNR STAT signal to noise ratio averaging If you select a drift measurement you can additionally select one of the following additional States CALC3 DRIF DIFF STAT difference CALC3 DRIF MAX STAT maximum drift CALC3 DRIF MIN STAT minimum drift CALC3 DRIF REF STAT drift reference values The CALCulate3 DRIFt PRESet command turns off the minimum maximum difference and reference states but leaves the drift state on Attempting to turn more than one state on at a time results in a 221 Settings Conflict error The RST and SYSTem PRESet commands turn all calculations off CALCulate3 PRESet turns off any CALCulate3 calculations 4 15 Programming Making Measurements The format of returned data Measurements are returned as strings All measurement values are returned from th
131. Description Programming Commands CALCulate3 Subsystem DRIFt MAXimum STATe Sets the drift calculation to return the maximum power and frequency values measured CALCulate3 DRIFt MAXimum STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific Use the CALC3 DRIF PRES command to turn off all the drift states before turning on this state The CALC3 DATA query returns the maximum power and frequency Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements 5 54 Programming Commands CALCulate3 Subsystem DRIFtMINimum STATe Sets the drift calculation to return the minimum power and frequency Values measured Syntax CALCulate3 DRIFt MINimum STATe ON OFF 1 0 Attribute Summary Preset State off RST State off SCPI Compliance instrument specific Description Use the CALC3 DRIF PRES command to turn off all the drift states before turning on this state The CALC3 DATA query returns the minimum power or frequency Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and sign
132. Instrument MwmV DIM Identity 50 Identity OUTPUT Mwm RST OUTPUT Mwm OPC ENTER Mwm Opc_done OUTPUT Mwm IDN ENTER Mwm ldentity RETURN Identity FNEND 4 32 Example Programs Example 2 Measure WDM channels This program measures the multiple laser lines of a WDM system It measures both the power and wavelengths of each line First the program sets the Agilent 86060C in the single acquisition measurement mode Then it triggers the Agilent 86060C with the MEASure command to capture measurement data of the input spectrum Because the data is stored in the instrument s memory it can be queried as needed 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 ON ERROR GOTO Error msg Set_ese PRINT USING 37A 33A Multi Wavelength Meter Identity is FNIdentity OUTPUT Mwm INIT CONT OFF ON TIMEOUT 7 5 CALL Err mngmt OUTPUT Mwm MEAS ARR POW WAV ENTER Mwm USING K Nb_wl ALLOCATE Current wI 1 Nb wl ENTER Mwm USING K Current_wl OUTPUT Mwm FETC ARR POW ENTER Mwm USING K Nb_wl ALLOCATE Current pwr 1 Nb wl ENTER Mwm USING K Current_pwr FOR I 1 TO Nb wl PRINT USING 22A 2D 6A 4D 2DE 4A S2D 2D 3A The wavelength number sCurrent_wl I at Current_pwr I dBm NEXT I OFF TIMEOUT STOP Error_msg PRINT the prgm is aborted due to ERRM END
133. Lists of Commands Table 4 8 Keys Versus Commands 1 3 Key Equivalent Command APWR CALCulate3 DELTa POWer STATe AWL CALCulate3 DELTa WA Velength STATe A WL PWR CALCulate3 DELTa WPOWer STATe Appl s See COH LEN DRIFT and S N AUTO CALCulate3 SNR AUTO ON Avg WL CALCulate2 PWAVerage STATe BAR OFF DISPlay WINDow GRAPhics STATe BAR ON DISPlay WINDow GRAPhics STATe BROAD SENSe CORRection DEVice BROad CAL See ELEV PWR OFS STD AIR and VACUUM CM 1 MEASure ARRay POWer WNUMber COH LEN MEASure LENGth COHerence CLENgth Cont HINTTiate CONTinuous ON DBM UNIT POWer DEVICE SENSe CORRection DEVice DRIFT CALCulate3 DRIFt STATe ELEV SENSe CORRection ELEVation EXIT none FAST See UPDATE HP IB none LIM OFF CALCulate2 WLIMit STATe OFF LIM ON CALCulate2 WLIMit STATe ON List by Power CONFigure ARRay POWer List by WL MEASure ARRay POWer WAVelength 4 49 Lists of Commands Table 4 8 Keys Versus Commands 2 3 Key Equivalent Command MAX MIN CALCulate3 DRIFt MINimum STATe and CALCulate3 DRIFt MAXimum STATe MW UNIT POWer NARROW SENSe CORRection DEVice NARRow NEXT PK DISPlay MARKer MA Ximum NEXT NEXT WL DISPlay MARKer MA Ximum RIGHt NM MEASure ARRay POWer WAVelength NORMAL See UPDATE OFF CALCulate3 DELTa POWer STATe ON CALCulate3 DELTa POWer STATe PEAK DISPlay MARKer MAXimum Peak WL See NEXT PK NEXT WL PEAK PREV PK and PREV WL PK EXC CALCulate2 PEXCur
134. Making Measurements ARRay and the SCPI standard According to the SCPI command reference ARRay command causes an instrument to take multiple measurements A lt size gt parameter indicates the number of measurements to take However the Agilent 86120B s ARRay command refers to the measurements performed for one measurement sweep this results in an array of measured signals Because the lt size gt parameter does not apply any lt size gt parameter sent will be ignored by the instrument No syntax error will be generated if a lt size gt parameter is sent Always force the Agilent 86060C to wait for non sequential commands The Agilent 86060C normally processes its remote programming commands sequentially The instrument waits until the actions specified by a particular command are completely finished before reading and executing the next command However there are a few non sequential commands where this is not true Non sequential commands do not finish executing before the next command is interpreted The following is a list of the Agilent 86060C s non sequential commands CALCulate1 TRANsform FREOuency POINTs CALCulate2 PEXCursion CALCulate2 PTHReshold CALCulate2 WLIMit STATe CALCulate2 WLIMit STARt FREQuency CALCulate2 WLIMit STARt WA Velength CALCulate2 WLIMit STARt WNUMber CALCulate2 WLIMit STOP FREQuency CALCulate2 WLIMit STOP WA Velength CALCulate2 WLIMit STOP WNUMber CALCulate3 SNR AUT
135. Meters Update Normal Peak Excursion 15 dB Peak Threshold 10 dB Device Narrow Input Wavelength Power 1280 384nm 16 97dBm 1281 473 13 14 1282 569 13 92 1283 651 13 34 1284 752 11 69 1285 840 8 11 1286 944 10 38 1288 034 14 65 1 PARALLEL PRINTER PORT Print 2 28 48OA7 COW7 BBA 2 29 2 30 SN 3 3 SN 3 7 3 9 3 12 amb Cr Appl s 3 2
136. NEXT I PRINT USING 6A 2D 17A M4D 3D 31A S2D 2D 4A Line I wavelength is Delta _wi 1 Delta wl Nb _p0 1 OE 9 nm Absolute line level is sDelta_pwr 1 Delta_pwr Nb_pt dBm STOP Error msg PRINT The program is aborted due to ERRM END Err mngmt SUB Err_mngmt OPTIONAL Cmd_msg COM Instrument Mwmt DIM Err_msg 255 INTEGER Cme CLEAR Mwm REPEAT OUTPUT Mwm ESR ENTER Mwm Cme OUTPUT Mwm SYST ERR ENTER Mwm Err_msg IF NPAR gt 0 AND NOT POS E msg 0 THEN PRINT This command Cmd_msg makes the following error IF NOT POS Err_msg 0 THEN PRINT Err_msg UNTIL NOT BIT Cme 2 AND NOT BIT Cme 4 AND NOT BIT Cme AND POS Err_msg 0 Subend SUBEND Set_ese SUB Set_ese COM Instrument Mwm OUTPUT Mwm ESE IVAL 00110100 2 SUBEND Identity DEF FNIdentity COM Instrument Mwm DIM Identity 33 Identity OUTPUT Mwm RST OUTPUT Mwm OPC ENTER Mwm Opc_done OUTPUT Mwm IDN ENTER Mwm lIdentity RETURN Identity FNEND Cmd opc SUB Cmd_opc Set_cmd COM Instrument Mwm OUTPUT Mwm Set cmd OUTPUT Mwm OPC ENTER Mwm Opc_done SUBEND 4 39 Example Programs Example 5 Measure SN ratio of WDM channels This program measures signal to noise ratios on a WDM system It measures the ratio for each line using commands from the CALCulate3 subsystem Refer to the introduction to this section for a description of each subroutine that i
137. These products were tested in an HP 83480A mainframe These products herewith comply with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC Santa Rosa California USA 30 August 1996 Department ZQ Standards Europe Herrenberger Strasse 130 D 71034 B blingen Germany FAX 49 7031 14 3143 7 11 ay HEWLETT 86120A 700 1650 nm PACKARD MULTI WAVELENGTH METER SERIAL LABEL ATTACH HERE UNE 10041572307240 V 5050 He 80 VA MAX FUSE FB 3A 250V CE wuss PARALLEL PRINTER PORT rearview 7 12 8 2 8 4 8 9 8 15 AC 8 16 HP 8 17 8 1 1 2 Preset 1200 nm
138. are set and cleared by the presence and absence of a summary bit from other registers or queues Notice in the following figure that the bits in the Standard Event Status OPERation status and QUEStionable status registers are or d to control a bit in the Status Byte Register Ifa bit in the Status Byte Register goes high you can query the value of the source register to determine the cause The Status Byte Register can be read using either the STB common command or the HP IB serial poll command Both commands return the decimal weighted sum of all set bits in the register The difference between the two methods is that the serial poll command reads bit 6 as the Request Service RQS bit and clears the bit which clears the SRQ interrupt The STB command reads bit 6 as the Master Summary Status MSS and does not clear the bit or have any effect on the SRQ interrupt The value returned is the total bit weights of all of the bits that are set at the present time OPERation Status and QUEStionable Status registers You can query the value of the OPERation Status and QUEStionable Status registers using commands in the STATus subsystem The STATus subsystem also has transition filter software which give you the ability to select the logic transitions which set bits in the OPERation Status and QUEStionable Status registers For example you can define the POWer bit of the QUEStionable Status register to report an event when the condition tra
139. excursion peak threshold power offset signal to noise auto mode on off wavelength limit on off wavelength limit start wavelength limit stop and signal to noise average count 5 8 Programming Commands Common Commands Table 5 4 Conditions Set by RST Reset Item Setting Display mode Wavelength range limiting Start wavelength Stop wavelength Graphical display Measurement acquisition Wavelength calibration Elevation correction value Wavelength units Amplitude units Power offset Peak threshold Peak excursion Measurement speed Number of uncorrected data points Delta Measurements A power A wavelength A wavelength and power reference signal position Drift measurements Coherence length measurements single wavelength on 1200 nm 1650 nm off single vacuum 0 meters nm dBm 0 dB 10 dB 15 dB normal 34123 700 nm 5 9 Programming Commands Common Commands Table 5 4 Conditions Set by RST Reset Continued Item Setting Signal to Noise Measurements measurement off wavelength reference auto reference user wavelength number of averages count HP IB address Power bar display 1550 nm in vacuum 100 not affected on SRE The SRE service request enable command sets the bits in the service request enable register Syntax SRE lt integer gt SRE lt integer gt is defined as an integer mask from 0 to 255 Description The servic
140. fast update 4268 5 30 Programming Commands CALCulate2 Subsystem CALCulate2 Subsystem Use the CALCulate2 commands to query corrected values frequency spectrum data The commands in this subsystem have the following command hierarchy CALCulate2 DATA PEXCursion POINts PTHReshold PWAVerage ESTATe WLIMit ESTATe STARt FREQuency WAVelength WNUIMber STOP FREQuency WAVelength WNUIMber 5 31 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem DATA Queries the corrected peak data of the input laser line CALCulate2 DATA FREQuency POWer WAVelength WNUMber Constant Description FREQuency Queries the array of laser line frequencies after the peak search is completed If CALC2 PWAV STAT is on the power weighted average frequency is returned POWer Queries the array of laser line powers after the peak search is completed If CALC2 PWAV STAT is on the total input power is returned WAVelength Queries the array of laser line wavelengths after the peak search is completed If CALC2 PWAV STAT is on the power weighted average wavelength is returned WNUMber Queries the array of laser line wave numbers after the peak search is completed If CALC2 PWAV STAT is on the power weighted average wave number is returned Preset State not affected SCPI Compliance standard Query Only Use the CALC2 POIN query to determine the n
141. in the output queue until it is read or another command is issued For example the query OUTPUT 720 CALCULATE2 POINTS places the number of points in the data set in the output queue In HP BASIC the controller input statement ENTER 720 Range passes the value across the bus to the controller and places it in the variable Range A newline character is appended to the response Sending another command or query before reading the result of a query causes the output queue to be cleared and the current response to be lost This also generates an error in the error queue The output of the instrument may be numeric or character data depending on what is queried Refer to the specific commands for the formats and types of data returned from queries You can send multiple queries to the instrument within a single program message but you must also read them back within a single program message This can be accomplished by either reading them back into a string variable or into multiple numeric variables When you read the result of multiple queries into string variables each response is separated by a semicolon 4 28 Example Programs Example Programs The following example programs are provided in this section Example 1 Measure a DFB laser 4 31 Example 2 Measure WDM channels 4 33 Example 3 Measure WDM channel drift 4 35 Example 4 Measure WDM channel separation 4 38 Example 5 Measure SN ratio of WDM channels 4
142. mm 2 775nm 15S50nm 1sdB 775nm 2 1 2 16 1 Setup 2 WLLIM 3 LIM OFF 700nm 1650nm
143. of frequency 181 6879 THz 1 499 7 226756 GHz 192 5208 THz or 1557 195 nm in vacuum When FAST measurement mode is selected the uncorrected frequency domain data consists of 8K 8 192 values The frequency spacing between elements is uniform and is equal to the reference laser frequency 473 6127 THz divided by 8K or 57 81405 GHz Note the spacing between values is not uniform in wavelength units The values returned are in ascending optical frequency Only the frequency domain data corresponding to 700 1650 nm wavelength in vacuum is returned 4 268 values The first value of the uncorrected frequency data corresponds to an optical frequency of 181 652 THz 1650 37 nm The last value of the uncorrected frequency data corresponds to an optical frequency of 428 344 THz 699 89 nm For example a laser line peak located at the 200th returned value has an optical frequency of frequency 181 652 THz 199 57 81405 GHz 193 157 THz or 1551 07 nm in vacuum If your program is aborted or interrupted after sending this query the Agilent 86060C continues to process the data but does not place it in the output buffer Because of the amount of data processed the instrument will not respond to any new commands in its input buffer for up to 20 seconds This query will generate a Settings conflict error if the instrument is in either the coherence length or the signal to noise average application 5 28 Syntax
144. of measurements already taken the instrument will go into single measurement mode 5 44 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem ASNR STATe Turns the average signal to noise ratio on or off CALCulate3 ASNR STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific This command turns the average signal to noise calculation on or off Only one of the CALCulate3 calculations ASNR DELTa DRIFt or SNR can be turned on at a time Turning on the ASNR calculation while another calculation is on will generate a Settings conflict error When the calculation is first turned on the lines measured in the current measurement will be used as the reference values for the signal to noise ratio Subsequent measurements will average the noise values The signal values are not updated until the number of measurements used to average the noise is greater than or equal to the COUNt value Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15for additional information on selecting measurements 5 45 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DATA Queries the data resulting from delta drift and
145. repair or replace products which prove to be defective For warranty service or repair this product must be returned to a service facility designated by Hewlett Packard Buyer shall prepay shipping charges to Hewlett Packard and Hewlett Packard shall pay shipping charges to return the product to Buyer How ever Buyer shall pay all shipping charges duties and taxes for products returned to Hewlett Pack ard from another country Hewlett Packard warrants that its software and firm ware designated by Hewlett Packard for use with an instrument will exe cute its programming instructions when properly installed on that instru ment Hewlett Packard does not warrant that the opera tion of the instrument or software or firmware will be uninterrupted or error free Limitation of Warranty The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer Buyer supplied soft ware or interfacing unau thorized modification or misuse operation outside of the environmental specifica tions for the product or improper site preparation or maintenance No other warranty is expressed or implied Hewlett Packard specifi cally disclaims the implied warranties of merchantabil ity and fitness for a particu lar purpose Exclusive Remedies The remedies provided herein are buyer s sole and exclusive remedies Hewlett Packard shall not be liable for any direct indi rec
146. the instrument and queries the instrument s identification string which is displayed on the the computer s screen by the calling function To accomplish this task the FNIdentity function uses the RST OPC and IDN common commands This function is called from examples 1 through 5 Err_mngmt subroutine This subroutine checks to make sure that no errors have set bits in the event status register and that there are no errors in the queue Exiting this subroutine is only possible if no errors have occurred Notice that the logic test in the subroutine tests for the same event status register bits enabled by the Set_ese subroutine BIT Cme 5 BIT Cme 4 BIT Cme 2 This subroutine is called in examples through 5 However it is modified in examples 3 4 and 5 to allow it to indicate the last programming command that was sent to the instrument before an error occurred This is accomplished by adding an optional argument string Cmd_opc subroutine The Cmd opc subroutine found in examples 3 4 and 5 pauses the program until a non sequential command has finished executing on the Agilent 86060C It uses the OPC query For more information on non sequential commands refer to Always force the HP 86060C to wait for non sequential commands on page 4 13 Tempo subroutine This subroutine which is only found in example 3 pauses the program for a few seconds while the Agilent 86060C measures the drift on a laser The argument in the
147. the selected subsystem For example if the program message DISPLAY MARK MAX LEFT CLS DISP MARK MAX RIGH is received by the instrument the Display subsystem remains selected If some other type of command is received within a program message you must reenter the original subsystem after the command Adding parameters to a command Many commands have parameters that specify an option Use a space character to separate the parameter from the command as shown in the following line OUTPUT 720 INIT CONT ON Separate multiple parameters with a comma Spaces can be added around the commas to improve readability OUTPUT 720 MEAS SCAL POW FREQ 1300 MAX White space White space is defined to be one or more characters from the ASCII set of 0 through 32 decimal excluding 10 NL White space is usually optional and can be used to increase the readability of a program 4 26 Programming Reviewing SCPI Syntax Rules Numbers All numbers are expected to be strings of ASCII characters Thus when sending the number 9 you would send a byte representing the ASCII code for the character 9 which is 57 A three digit number like 102 would take up three bytes ASCII codes 49 48 and 50 This is taken care of automatically when you include the entire instruction in a string Several representations of a number are possible For example the following numbers are all equal 28 0 28E2 280E 1 28000m 0 028K 2
148. the wavelength entered Subsequent measurements will use the wavelength closest to the reference wavelength used for the previous measurement The query returns the current wavelength of the reference laser line The default units for the lt real gt parameter are meters 5 49 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DELTa REFerence WNUMber Selects the reference laser line for delta calculations CALCulate3 DELTa REFerence WNUMber lt real gt MINimum MAXimum lt real gt is a wave number value that is within the following limits Constant Description MINimum 6 061 cm MAXimum 14 286 cm Preset State 14 286 cm 700 nm RST State 14 286 cm 700 nm SCPI Compliance instrument specific The reference will be the laser line at the wave number closest to the wave number entered Subsequent measurements will use the wave number closest to the reference wave number used for the previous measurement The query returns the current wave number of the reference laser line The default units for the lt real gt parameter are m 5 50 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DELTa WAVelength STATe Turns the delta wavelength measurement mode on and off CALCulate3 DELTa WA Velength STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific Whe
149. to noise calculation CALCulate3 SNR REFerence WNUMber lt real gt MINimum MAXimum lt real gt is a wave number value that is within the following limits Constant Description MINimum 6060 cm 1650 nm MAXimum 14286 cm 700 nm Preset State unaffected by RST State 6451 614 cm1 SCPI Compliance instrument specific After entering this value use the SNR AUTO command to configure the instrument to use this value in subsequent signal to noise calculations The wave number entered is converted internally to the corresponding frequency The default units for the lt 7eg gt parameter are m SNR STATe Turns the signal to noise calculation on and off CALCulate3 SNR STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific 5 63 Programming Commands CONFigure Measurement Instruction Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements CONFigure Measurement Instruction For information on the CONFigure measurement instruction refer to Measurement Instructions on page 5 15 DISPlay Subsystem The commands in this subsystem have the following command hierarchy DISPlay MARKer MAXimum L
150. 0 This indicates address 20 on an interface with select code 7 Pressing the green Preset key does not change the HP IB address Set single acquisition mode An advantage of using the RST command is that it sets the Agilent 86060C into the single measurement acquisition mode Because the READ and MEASure data queries expect this mode their proper operation is ensured Establish the wavelength range At the start of each program be sure to establish the input wavelength range using the Agilent 86060C s CALCulate2 WLIMit command Setting this command to off enables the full wavelength range of the instrument If you are measuring signals over a narrow wavelength range use this command to ensure that spurious second harmonic peaks are not identified Refer to WLIMit STATe on page 5 36 WLIMit STARt WAVelength on page 5 38 and WLIMit STOP WAVelength on page 5 41 Refer also to on page 2 9 4 4 Programming Addressing and Initializing the Instrument 4 5 Programming Making Measurements Making Measurements Making measurements remotely involves changing the Agilent 86060C s settings performing a measurement and then returning the data to the computer The simplified block diagram of the Agilent 86060C shown here lists some of the available programming commands Each command is placed next to the instrument section it configures or queries data from
151. 00E 001 4 802453 00E 001 3 10491300E 001 1 13409400E 001 5 07832500E 001 2 77746200 E 001 3 89150500E 001 3 50217600E 001 7 34649800E 001 5 64983800E 000 Notice that only measurement values are returned to the computer There is no first value that indicates the number of values contained in the string as there is for example with the FETCh READ and MEASure commands Use the CALCulate1 TRANsform FREQuency POINTs command to query the number of points the CALC1 DATA returns When NORMAL measurement mode is selected the uncorrected frequency domain data consists of 64K 65 536 values Only the frequency domain data corresponding to 700 1650 nm wavelength in vacuum is returned 34 123 values In FAST measurement mode the data consists of 8K 8 192 values of which 4 268 values are returned The frequency spacing between values is uniform and is equal to the reference laser frequency 473 6127 THz divided by 64K or 7 226756 GHz Note the spacing between values is not uniform in wavelength units The values returned are in ascending optical frequency 5 27 Programming Commands CALCulate1 Subsystem The first value of the uncorrected frequency data corresponds to an optical frequency of 181 6879 THz 1650 041 nm The last value of the uncorrected frequency data corresponds to an optical frequency of 428 2793 THz 699 993 nm For example a laser line peak located at the 1 500th returned value has an optical frequency
152. 396600E 000 7 94024500E 000 7 01303200E 000 1 04536200E 001 5 18 Syntax Description lt expected_value gt Constants lt resolution gt Constants Programming Commands Measurement Instructions MEASure ARRay SCALar POWer FREQuency Returns frequency values POWer FREQuency lt expected_value gt lt resolution gt Used With lt expected_value gt lt resolution gt SCALar optional optional ARRay ignored optional a Although ignored this argument must be present if the resolution argument is specified When used with a SCALar command a single value is returned The display is placed in the single wavelength mode and the marker is placed on the signal having a frequency that is closest to the lt expected_value gt parameter Default units for lt expected_value gt parameter are in Hz When used with an ARRay command an array of frequencies is returned The display is placed in the list by wavelength mode The lt resolution gt parameter sets the resolution of the measurement It is a unitless number whose value will be limited to either 0 01 or 0 001 whichever is closer MAXimum resolution is equivalent to the FAST measurement update mode MINimum resolution is equivalent to the NORMAL measurement update mode Returned values are in Hz display is in THz Power units are not affected CONFigure command When this function is used with the CONFigure command the query quest
153. 4 2 6 2 7 700nm 1200nm 2 8 2 9 2 10 2 11 2 12 2 12 2 3 peakwl2 WL Peak WL PEAK PEAK TSS 13a 3H dem EOR oes Wc s l can M C eww REENE m Peak WL
154. 4 31 4 33 5 15 monitoring the instrument 4 17 MW 2 14 M RE 2 4 N NARROW 2 10 new line character 4 28 NEXT PK 2 5 NEXT programming command 5 65 NEXT WL 2 5 NM 2 14 non sequential command 4 13 5 29 5 34 5 35 5 36 5 37 5 38 5 39 5 40 5 41 5 42 5 71 5 85 5 86 NORMAL 2 14 4 10 5 73 notation definitions 5 2 NTRansition programming command 5 76 NUM LINES lt NUM REFS 3 10 NUM LINES gt NUM REFS 3 10 numbers 4 26 O Off 2 22 8 6 On 2 22 8 6 OPC 4 30 5 3 5 6 OPTICAL INPUT 7 vi 1 9 2 15 output queue 4 22 4 28 P PARALLEL PRINTER PORT 1 7 2 28 parameters adding 4 26 PEAK 2 5 3 6 2 4 Peak WL 2 4 2 4 3 10 8 7 performance tests 6 2 PEXCursion programming command 5 33 PK EXC 2 19 PK THLD 2 19 POINts programming command 5 29 5 34 5 59 POWer programming command 5 17 5 48 5 86 POWER 2 14 PRBS 2 24 3 5 Preset 2 2 2 10 4 4 5 81 8 2 8 7 PRESet programming command 5 47 5 56 5 78 5 81 PREV PK
155. 47265600E 000 1 50293000 E 000 1 50781300E 000 1 51171900E 000 1 48242200E 000 1 50097700E 000 1 51855500E 000 1 50683600E 000 1 48632800E 000 1 50488300E 0 00 Notice that only values are returned to the computer There is no first value that indicates the number of values contained in the string as there is for example with the FETCh READ and MEASure commands STATus Subsystem Use the commands in this subsystem to control the Agilent 86060C s status reporting structures These structures provide registers that you can use to determine if certain events have occurred The commands in this subsystem have the following command hierarchy STATus OPERation CONDition ENABle EVENt PTRansition NTRansition PRESet QUEStionable CONDition ENABle EVENt PTRansition NTRansition 5 74 Syntax Query Response Attribute Summary Description Example Syntax Attribute Summary Description Example Programming Commands STATus Subsystem OPERation QUEStionablej CONDition Queries the value of the questionable or operation condition register STATus OPERation QUEStionable CONDition 0 to 32767 Preset State none RST State none SCPI Compliance standard Query Only Use this command to read the value of the OPERation Status or QUEStionable Status registers Refer to Monitoring the Instrument on page 4 17 OUTPUT 720 STATUS OPERATION CONDITI
156. 8E 3K If a measurement cannot be made no response is given and an error is placed into the error queue For example RST FETCh POW will timeout the controller and place a Data stale or corrupt error ino the error queue Table 4 6 Suffix Multipliers Multiplier Mnemonic 1E18 EX 1E15 PE 1E12 T 1E9 G 1E6 MA 1E3 K 1E 3 M 1E 6 U 1E 9 N 1E 12 P 1E 15 F 1E 18 A 4 27 Programming Reviewing SCPI Syntax Rules Program message terminator The string of instructions sent to the instrument are executed after the instruction terminator is received The terminator may be either a new line NL character the End Or Identify EOD line asserted or a combination of the two All three ways are equivalent Asserting the EOI sets the EOI control line low on the last byte of the data message The NL character is an ASCII linefeed decimal 10 The NL terminator has the same function as an EOS End Of String and EOT End Of Text terminator Querying data Data is requested from the instrument using a query Queries can be used to find out how the instrument is currently configured They are also used to get results of measurements made by the instrument with the query actually activating the measurement String responses are returned as upper case letters Queries usually take the form of a command followed by a question mark After receiving a query the instrument places the answer in its output queue The answer remains
157. AD DFB Fy e i OR 2 0 Agilent 86120B Setup ed EDFA R n tyr LED J Setu lm Ch 5 HY
158. ALCulate1 TRANsform FREOuency POINts CALCulate1 TRANsform FREQuency POINts CALCulate1 TRANsform FREQuency POINts MEASure ARRay POWer WNUMber FETCh READ or MEASure MEASure ARRay PO Wer CALCulate2 DATA CALCulate2 DATA CALCulate3 DATA CALCulate3 DATA CALCulate3 DATA CALCulate3 DATA SENSe DATA CALCulate2 DATA CALCulate1 DATA 4 9 Programming Making Measurements Measurement instructions give quick results The easiest way to measure wavelength frequency power or coherence length is to use the MEASure command The MEASure command is one of four measurement instructions MEASure READ FETCh and CONFigure The syntax for measurement instructions is documented in Measurement Instructions on page 5 15 Each measurement instruction has an argument that controls the measurement update rate This is equivalent to using the NORMAL and FAST softkeys MEASure command MEASure configures the Agilent 86060C captures new data and queries the data all in one step For example to measure the longest wavelength send the following command MEASure SCALar POWer WAVelength MAX Table 4 2 The Different Forms of MEASure Desired Measurement Data Use this MEASure Query Display Format Power W dBm Frequency Hz Wavelength m Wavenumber m Coherence Length m MEASure ARRay POWer List by Power MEASure SCALar POWer single wavelength mode MEASure ARRay POWer FREQuen
159. Attribute Summary Description Syntax Attribute Summary Programming Commands CALCulate3 Subsystem DELTa POWer STATe Turns the delta power measurement mode on and off CALCulate3 DELTa POWer STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific When this state is on the power of the reference laser line is subtracted from the power values of all laser lines except the reference The power data returned by the CALC3 DATA query is the array of laser line power levels normalized to the power level of the reference laser line The power of the reference laser line is returned as an absolute power unnormalized The frequency data returned is the array of absolute frequency values Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements DELTa PRESet Turns off all delta measurement states CALCulate3 DELTa PRESet Preset State not affected RST State not affected SCPI Compliance instrument specific Command Only 5 47 Syntax Attribute Summary Description Syntax Attribute Summary Programming Commands CALCulate3 Subsystem DELTa REFerence FREQuency Selects the reference laser line for DELTa calcu
160. Bita Bit Weight Enables J 128 PON Power On 6 64 Not Used 5 32 CME Command Error 4 16 EXE Execution Error 3 8 DDE Device Dependent Error 2 4 QYE Query Error 1 2 Not Used 0 1 OPC Operation Complete a A high enables the event status register bit lt integer gt is a mask from 0 to 255 OUTPUT 720 ESE 32 In this example the ESE 32 command enables CME event summary bit bit 5 of the event status enable register Therefore when an incorrect programming command is received the CME command error bit in the status byte register is set 5 4 Syntax Description Query Response Programming Commands Common Commands ESR The ESR event status register query returns the value of the event status register ESR When you read the standard event status register the value returned is the total of the bit weights of all of the bits that are set to one at the time you read the byte The following table shows each bit in the event status register and its bit weight The register is cleared when it is read Table 5 3 Standard Event Status Register Bit Bit Weight Condition 7 128 PON Power On 6 64 Not Used 5 32 CME Command Error 4 16 EXE Execution Error 3 8 DDE Device Dependent Error 2 4 QYE Query Error 1 2 Not Used 0 1 OPC Operation Complete lt integer gt ranges from 0 to 255 5 5 Example Syntax Description Query Response Exa
161. C Biconic D4 HP 81000FI HP 81000WI HP 81000GI Diamond HMS 10 DIN SC ST HP 81000Al HP 81000SI HP 81000KI HP 81000VI kent4s Agilent FC 1005 0594 Diamond HMS 10 1005 0593 DIN 1005 0595 ST 1005 0596 SC 1005 0597 AC AC 229 90 229 90 8120 1369 Straight NZSS198 201 79 d 8120 0696 90 221 87 8120 1689 Straight CEE7 Y11 201 79 201 79 E 100V Seen ae eet 203 80 230 90 203 80 8120 4754 90 230 90 lt 8120 5182 Straight NEMA5 15P 200 78 8120 5181 200 78
162. Description of Hewlett Packard Interface Bus 1987 Hewlett Packard Company SCP Standard Commands for Programmable Instruments 1995 International Institute of Electrical and Electronics Engineers IEEE Standard 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation New York NY 1987 International Institute of Electrical and Electronics Engineers IEEE Standard 488 2 1987 IEEE Standard Codes Formats Protocols and Common commands For Use with ANSI IEEE Std 488 1 1987 New York NY 1987 Types of commands The Agilent 86060C responds to three types of commands Common commands Measurement instructions Subsystem commands All of these commands are documented in Chapter 5 Programming Commands 4 2 Rw nd PF Programming Addressing and Initializing the Instrument Addressing and Initializing the Instrument The Agilent 86060C s HP IB address is configured at the factory to a value of 20 You must set the output and input functions of your programming language to send the commands to this address To change the HP IB address Press the Setup key Press MORE twice then HP IB Use the and softkeys to change the HP IB address Press RETURN Remote mode and front panel lockout Whenever the instrument is controlled by a computer the Remote message is displayed on the instrument s screen and the softkey menu is blanked except for the LOCAL softkey This softkey can be pressed by t
163. EFT NEXT PREVious RIGHt WINDow GRAPhics STATe 5 64 Syntax Attribute Summary Syntax Attribute Summary Description Programming Commands DISPlay Subsystem MARKer MAXimum Sets the marker to the laser line that has the maximum power DISPlay MARKer MAXimum Preset State marker set to maximum power laser line RST State marker set to maximum power laser line SCPI Compliance instrument specific Command Only MARKer MAXimum LEFT Moves the marker left to the next laser line DISPlay MARKer MA Ximum LEFT Preset State marker set to maximum power laser line RST State marker set to maximum power laser line SCPI Compliance instrument specific Command Only Moves the marker from the current marker position to the next laser line having the following characteristic shorter wavelength lower frequency lower wave number If the display is in the List by Ampl mode it will be changed to List by WL before the marker is moved MARKer MAXimum NEXT Moves the marker to the laser line with the next lower power level 5 65 Syntax Attribute Summary Description Syntax Attribute Summary Description Syntax Attribute Summary Programming Commands DISPlay Subsystem DISPlay MARKer MAXimum NEXT Preset State marker set to maximum power laser line RST State marker set to maximum power laser line SCPI Compliance instrument specific Command Only If the dis
164. IMAGNitudel DATA 5 69 Syntax Attribute Summary Description Query Response Programming Commands SENSe Subsystem CORRection DEVice Selects the wavelength measurement algorithm This command applies to Agilent 86060C instruments with firmware version number 2 0 When first turned on the instrument briefly displays the firmware version Instruments with a firmware version number less than 2 0 do not have this feature SENSe CORRection DEVice NARRow BROad Constant Description NARRow Selects wavelength measurements for narrowband devices such as DFB lasers and modes of FP lasers BROad Selects wavelength measurements for broadband devices such as optical filters and LEDs Non sequential command Preset State NARRow RST sets this value to NARRow SCPI Compliance instrument specific The narrow bandwidth algorithm used for measuring lasers determines the wavelength based upon the peak The broad bandwidth algorithm used for LEDs filters and chirped lasers determines the wavelength based upon the center of mass of the power spectrum The peak excursion function is used to determine the value of the integration limits Care must be taken to ensure that the integration limits are above any noise This is especially true when measuring devices with sloping noise floors like an EDFA amplifier For more information on peak excursion refer to PEXCursion on page 5 33 Instrument specifications a
165. LCulate3 SNR REFerence WNUMber Sets the wave number used for the noise measurement reference I in the SNR calculation CALCulate3 SNR STATe Turns the SNR calculation on and off I DISPlay Subsystem DISPlay MARKer MA Ximum Sets the marker to the signal with the largest power I DISPlay MARKer MA Ximum LEFT Moves marker to signal with the next lower wavelength or I frequency DISPlay MARKer MA Ximum NEXT Moves the marker to the signal with the closest power level just I below the power level of the signal at the current marker position DISPlay MARKer MA Ximum PREVious Moves the marker to the signal with the closest power level just I above the power level of the signal at the current marker position DISPlay MARKer MA Ximum RIGHt Moves marker to the next higher wavelength or frequency I DISPlay WINDow GRAPhics STATe Turns the instrument display of the power bars on and off S HCOPy Subsystem HCOPy IMMediate Starts a printout S SENSe Subsystem SENSe CORRection DEVice Configures wavelength measurements for narrowband or I broadband devices SENSe CORRection ELEVation Sets the elevation value used by the instrument to compensate for I air dispersion SENSe CORRection OFFSet MAGNitude Sets the power offset value used by the instrument S SENSe CORRection MEDium Sets the instrument to return the wavelength reading in a Vacuum I when the parameter is on Parameters are VAC and AIR SENSe DATA Queries the time domain samples
166. NG 28A SDD 2DE 4A 20A MDD 3DE 3A it has a power level of Current_ref_pwr I dBm with a drift from Current_diff_pw D dB NEXT I STOP Error msg PRINT The program is aborted due to ERRM END 4 36 Err mngmt SUB Err mngmt OPTIONAL Cmd msg COM Instrument Mwmt DIM Err_msg 255 INTEGER Cme CLEAR Mwm REPEAT OUTPUT Mwm ESR ENTER Mwm Cme OUTPUT Mwm SYST ERR ENTER Mwm Err_msg IF NPAR gt 0 AND NOT POS Err_msg 0 THEN PRINT This command Cmd msg makes the following error IF NOT POS Err_msg 0 THEN PRINT Err_msg UNTIL NOT BIT Cme 2 AND NOT BIT Cme 4 AND NOT BIT Cme 5 AND POS Err_msg 0 Subend SUBEND Set_ese SUB Set_ese COM Instrument Mwm OUTPUT Mwm ESE TVAL 00110100 2 SUBEND Identity DEF FNIdentity COM Instrument Mwm DIM Identity 50 Identity OUTPUT Mwm RST OUTPUT Mwm OPC ENTER Mwm Opc_done OUTPUT Mwm IDN ENTER Mwm ldentity RETURN Identity FNEND Cmd opc SUB Cmd_opc Set_cmd COM Instrument Mwm OUTPUT Mwm Set cmd OUTPUT Mwm OPC ENTER Mwm Opc_done SUBEND Tempo SUB Tempo Temp FOR I Temp TO 0 STEP 1 DISP Waiting for VAL I sec WAIT 1 NEXT I DISP we SUBEND Example Programs 4 37 Example Programs Example 4 Measure WDM channel separation This program measures the line separations on a WDM system It measures separation delta between power and wavele
167. O SBNSe CORRection ELEVation JINITiate CONTinuous INI Tiate IMMediate The following additional commands are also non sequential commands if CALCulate3 SNR AUTO is set to OFF CALCulate3 REFerence FREQuency CALCulate3 REFerence WA Velength CALCulate3 REFerence WNUMber The benefit of non sequential commands is that in some situations they can reduce the overall execution times of programs For example you can set the peak excursion peak threshold and elevation and use a WAI command at the end to save time However non sequential commands can also be a source of annoying errors Always use the OPC query or WAI command with the non sequential commands to ensure that your programs execute properly 4 13 Programming Making Measurements For example suppose that you wanted to set the elevation correction Value and then send an INIT IMM command The following programming fragment results in an error 213 Init ignored This occurs because the ELEVation command causes the recalculation of the data which is like sending the INIT IMM command When the actual INIT IMM is sent the error occurs because the command is already in progress OUTPUT 720 INIT IMM OUTPUT 720 SENSe CORRection ELEVation 1000 OUTPUT 720 INIT IMM Use an OPC query to ensure that the ELEVation command has completed as shown in the following lines OUTPUT 720 INIT IMM OUTPUT 720 SENSe
168. ON OPERation QUEStionable ENABle Sets the enable mask for the questionable or operation event register STATus OPERation QUEStionable ENABle lt value gt lt integer gt an interger from 0 to 65535 Preset State none RST State none SCPI Compliance standard The enable mask selects which conditions in the event register cause the summary bit in the status byte to be set If a bit in the enable mask is set true and the corresponding event occurs the summary bit bit 3 for the questionable status or bit 7 for the operation status in the status byte will be set OUTPUT 720 STATUS QUESTIONABLE ENABLE 1024 5 75 Query Response Syntax Query Response Attribute Summary Description Example Syntax Attribute Summary Programming Commands STATus Subsystem When queried the largest value that can be returned is 65535 This is because the most significant register bit cannot be set true OPERation QUEStionable EVENt Queries the contents of the questionable or operation event registers STATus OPERation QUEStionable EVENt 0 to 32767 Preset State none RST State none SCPI Compliance standard Query Only The response will be a number from 0 to 32767 indicating which bits are set Reading the register clears the register OUTPUT 720 STATUS OPERATION EVENT OPERation QUEStionable NTRansition Selects bits in the event register which c
169. Ta POWer STATe PRESet REFerence FREQuency POWer WAVelength WNUMber WAVelength STATe WPOWer STATe DRIFt DIFFerence STATe MAXimum STATe MINimum STATe PRESet REFerence RESet STATe STATe POINts PRESet SNR AUTO REFerence FREQuency WAVelength WNUMber STATe 5 43 Syntax Attribute Summary Description Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem ASNR CLEar Clears the number of measurements used in the average signal to noise calculation CALCulate3 ASNR CLEar Preset State not affected RST State not affected SCPI Compliance instrument specific This command clears the number of measurements used in the average signal to noise calculation The current measurement is used as the new reference for the average signal to noise calculation ASNR COUNt Sets the number of measurements to be used for the average signal to noise calculation CALCulate3 ASNR COUNt lt integer gt MINimum MAXimum lt integer gt is a value that is within the following limits Constant Description MINimum 10 MAXimum 900 Preset State 100 RST State 100 SCPI Compliance instrument specific This command sets the number of measurements to be used for the average signal to noise calculation If this count is changed while the average signal calculation is on and the new count is less than the number
170. Table 4 7 Programming Commands on page 4 44 Table 4 8 Keys Versus Commands on page 4 49 CALCulate2 wWLIMit SENSe CORRection ELEVation PTHresho1d MEDium PEXCursion OFFSet MAGNitude Corrected data buffer 200 pairs of and amplitude Display values Peak selection DISPlay WINDow UNTT CALCulate2 DATA CON Figure POINts DISPlay MARKer PWAVe rage CALCulate3 DELTa CALCulate3 DATA DRIEt FETCH SNR READ MEASure flow2 Programming Making Measurements Commands are grouped in subsystems The Agilent 86060C commands are grouped in the following subsystems You ll find a description of each command in Chapter 5 Programming Commands Subsystem Purpose of Commands Measurement Instructions Perform frequency wavelength wavenumber and coherence length measurements CALCulate1 Queries uncorrected frequency spectrum data CALCulate2 Queries corrected peak data and sets wavelength limits CALCulate3 Performs delta drift and signal to noise measurements DISPlay Applies markers and displays power bars HCOPy Prints measurement results SENSe Sets elevation correction values selects readings for air or vacuum and enters amplitude offsets Configures instrument for measuring broadband devices and chirped lasers Queries time domain values of the input data STATus Queries instrument status registers SYSTem Presets Agilent 86060C and queries error messages
171. The Agilent 86060C has no ARM or TRIGger commands The commands in this subsystem have the following command hierarchy ABORt INITiate CONTinuous IMMediate ABORt Halts the current measurement sequence and places the instrument in the idle state ABORt Preset State not affected SCPI Compliance standard Command Only If the instrument is configured for continuous measurements a new measurement sequence will begin Otherwise the instrument stays in the idle state until a new measurement is initiated 5 84 Programming Commands TRIGger Subsystem INITiate CONTinuous Selects single or continuous measurement acquisition Syntax SINITiate CONTinuous ON OFF 1 0 Attribute Summary Non sequential command Preset State on RST State off SCPI Compliance standard Description When on is specified the instrument continuously measures the input spectrum Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information INITiate IMMediate Initiates a new measurement sequence Syntax INITiate IMMediate Attribute Summary Non sequential command Preset State none SCPI Compliance standard Command Only 5 85 Syntax Attribute Summary Programming Co
172. Y PEAK GRAPH SELECT mlistwl 8 5 Delta On AWL PWR 4 SELECT RESET RETURN EXIT Delta Of Off moff 8 6 Display Peak WL System Preset a Peak WL PREV WL NEXT WL PEAK PREV PK NEXT PK mpreset Measurement Single 1 System Print CONT ABORT mprint System Setunp LIM ON SAVE 1 Soup LIM OFF SAVE 2 START WL SAVE 3 STOP WL SAVE 4 RETURN RETURN WL LIM THRSHLD SAV RCL RETURN een MELI NORMAL Bele FAST PCLS RETURN RCL 4 RETURN RETURN UPDATE UNITS CAL WL MORE POWER RETURN RETURN VACUUM STD AIR NM CM 1 THZ RETURN MW UW RETURN RETURN CANCEL RETURN HP IB PWR BAR DEVICE NARROW BROAD BAR ON BAR OFF RETURN RETURN RETURN msetup 8 8 8 2 th Aas Al
173. a first in first out buffer Repeatedly sending the query SYSTEM ERROR returns the error numbers and descriptions in the order in which they occur until the queue is empty Any further queries returns 0 No errors until another error occurs For a complete list of error messages refer to on page 8 9 Query Response lt value gt lt string gt lt value gt is an integer lt string gt is the text of the error message The following is an example of a response 113 Undefined header 5 79 Example Syntax Attribute Summary Description Programming Commands SYSTem Subsystem DIM Error 250 OUTPUT 720 SYSTEM ERROR ENTER 720 Error PRINT Error HELP HEADers Queries a listing of all the remote programming commands available for the Agilent 86060C SYSTem HELP HEA Ders Preset State none RST State none SCPI Compliance instrument specific Query Only The returned ASCII string of commands is in the IEEE 488 2 arbitrary block data format The first line indicates the total number of bytes returned to the computer That is the character is followed by one digit which indicates how many of the following digits convey the byte count The next digits give the actual byte count For example in the listing below 4387 bytes are indicated in the file Each command in the listing is separated by a linefeed character The following is an example of th
174. al to noise on page 4 15 for additional information on selecting measurements 5 55 Syntax Attribute Summary Description Syntax Attribute Summary Programming Commands CALCulate3 Subsystem DRIFt PRESet Turns off all the drift states for DIFFerence MAXimum MINimum and REFerence CALCulate3 DRIFt PRESet Preset State unaffected by RST State unaffected by SCPI Compliance instrument specific Command Only This command allows the CALC3 DATA query to return the difference between the current measurement and the reference DRIFt REFerence RESet Places the current list of laser lines into the reference list CALCulate3 DRIFt REFerence RESet Preset State unaffected by RST State unaffected by SCPI Compliance instrument specific Command Only 5 56 Programming Commands CALCulate3 Subsystem DRIFtREFerence STATe Turns on and off the drift reference state Syntax CALCulate3 DRIFt REFerence STATe 17 ON OFF 1 0 Attribute Summary Preset State off RST State off SCPI Compliance instrument specific Description When this command is set to on the CALC3 DATA command returns the reference laser lines Use the CALC3 DRIF PRES command to turn off all the drift states before turning on the drift reference state Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Co
175. alue must be less than or equal to the stop wavenumber value or the start wavenumber will be clipped to the stop wavenumber and a Data out of range error will be generated Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 39 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STOP FREQuency Sets the stopping frequency for the wavelength limit range CALCulate2 WLIMit STOP FREQuency lt real gt MINimum MAXimum lt real gt is a frequency value that is within the following limits Constant Description MINimum start wavelength limit MAXimum 428 2750 THz Non sequential command Preset State 249 8271 THz RST State 249 8271 THz SCPI Compliance instrument specific This command sets the stopping range for the wavelength limit The default units for the lt real gt parameter are Hz The stop frequency value must be greater than or equal to the start frequency value or the stop frequency will be clipped to the start frequency and a Data out of range error will be generated Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before send
176. an be returned The floating point values are scaled from 1 000 to 1 999 1 1023 1024 Amplitude values are not calibrated The input laser line s generate an interference pattern on the photodetector as a function of the Michelson interferometer optical path delay The time domain data is sampled at uniform optical path delay increments of half the reference laser wavelength or 0 316495 microns When NORMAL measurement update is selected the first data value is sampled at 20 74 mm optical path delay and the last value is sampled at 20 74 mm optical path delay When FAST measurement update is selected the first data value is sampled at 2 59 mm optical path delay and the last value is sampled at 2 59 mm optical path delay The data value that corresponds to zero optical path delay is approximately but not exactly located in the center of the time domain data If your program is aborted or interrupted after sending this query the Agilent 86060C continues to process the data but does not place it in the output buffer Because of the amount of data processed the instrument will not respond to any new commands in its input buffer for 30 or 40 seconds 5 73 Query Response Programming Commands STATus Subsystem The following string shows an example of the first few measurements returned by this query 1 51367200E 000 1 51855500E 000 1 49902300E 000 1 47949200E 000 1 504883 00E 000 1 53320300E 000 1 50097700E 000 1
177. an be set by negative transitions of the corresponding bits in the condition register STATus OPERation NTRansition lt integer gt lt integer gt an interger from 0 to 65535 Preset State none RST State none SCPI Compliance standard 5 76 Description Example Syntax Attribute Summary Description Example Programming Commands STATus Subsystem Changes in the state of a condition register bit causes the associated OPERation Status or QUEStionable Status register bit to be set This command allows you to select a negative bit transition to trigger an event to be recognized A negative transition is defined to occur whenever the selected bit changes states from a 1 to a 0 You can enter any value from 0 to 65535 When queried the largest value that can be returned is 32767 This is because the most significant register bit cannot be set true OUTPUT 720 STATUS OPER NTRansition 16 OPERation QUEStionable PTRansition Selects bits in the event register which can be set by positive transitions of the corresponding bits in the condition register STATus OPERation PTRansition lt integer gt lt integer gt an interger from 0 to 65535 Preset State none RST State none SCPI Compliance standard Changes in the state of a condition register bit causes the associated OPERation Status or QUEStionable Status event register bit to be set This command allows you to select a positive
178. ation to subtract the minimum values I measured from the maximum values measured CALCulate3 DRIFt MA Ximum STATe Sets the drift calculation to return the maximum power I frequency values measured CALCulate3 DRIFt MINimum STATe Sets the drift calculation to return the minimum power I frequency values measured CALCulate3 DRIFt PRESet Turns off all the drift states for DIFFerence MAXimum I MINimum and REFerence CALCulate3 DRIFt REFerence RESet Places the current list of signals into the reference list I CALCulate3 DRIFt REFerence STATe Turns the drift state on and off so that CALC3 DATA will return I the reference signal list CALCulate3 DRIFt STATe Turns the drift measurement calculation on and off I CALCulate3 POINts Queries the number of points in the data set I CALCulate3 PRESet Turns off any CALCulate3 calculation that is on I CALCulate3 SNR AUTO Selects the internal or externally entered frequency value for the I noise measurement reference in the SNR calculation CALCulate3 SNR REFerence FREQuency Sets the frequency used for the noise measurement reference in I the SNR calculation CALCulate3 SNR REFerence WA Velength Sets the wavelength used for the noise measurement reference in I the SNR calculation 4 46 Table 4 7 Programming Commands 4 5 Lists of Commands Command Description Code Codes S indicates a standard SCPI command I indicates an instrument specific command CA
179. bit transition to trigger an event to be recognized A positive transition is defined to occur whenever the selected bit changes states from a 0 to a 1 You can enter any value from 0 to 65535 When queried the largest value that can be returned is 32767 This is because the most significant register bit cannot be set true OUTPUT 720 STATUS OPER PTRansition 16 5 77 Syntax Attribute Summary Description Example Programming Commands STATus Subsystem PRESet Presets the enable registers and the PTRansition and NTRansition filters STATus PRESet Preset State none RST State none SCPI Compliance standard Command Only The PRESet command is defined by SCPI to affect the enable register If you want to clear all event registers and queues use the CLS command Table 5 7 Preset Values Status Node Preset Value Operation enable register 0 Questionable enable register 0 PTRansition filters 32767 NTRansition filters 0 OUTPUT 720 STATUS PRESET 5 78 Programming Commands SYSTem Subsystem SYSTem Subsystem The commands in this subsystem have the following command hierarchy SYSTem ERRor HELP HEADers PRESet VERSion ERRor Queries an error from the error queue Syntax SYSTem ERRor Attribute Summary Preset State none RST State none SCPI Compliance standard Query Only Description The Agilent 86060C has a 30 entry error queue The queue is
180. can clear the error queue by reading its contents sending the CLS command or by cycling the instrument s power 4 22 Programming Monitoring the Instrument The error queue is first in first out If the error queue overflows the last error in the queue is replaced with error 350 Queue overflow Any time the queue overflows the least recent errors remain in the queue and the most recent error is discarded The length of the instrument s error queue is 30 29 positions for the error messages and 1 position for the Queue overflow message The error queue is read with the SYSTEM ERROR query Executing this query reads and removes the oldest error from the head of the queue which opens a position at the tail of the queue for a new error When all the errors have been read from the queue subsequent error queries return 0 No error For more information on reading the error queue refer to ERRor on page 5 79 For a list of errors messages refer to on page 8 9 4 23 Programming Reviewing SCPI Syntax Rules Reviewing SCPI Syntax Rules SCPI command are grouped in subsytems In accordance with IEEE 488 2 the instrument s commands are grouped into subsystems Commands in each subsystem perform similar tasks The following subsystems are provided Measurement Instructions Calculate1 Subsystem Calculate2 Subsystem Calculate3 Subsystem Display Subsyste
181. ce laser line is returned as an absolute power unnormalized The frequency data is the array of frequency values normalized to the frequency of the reference laser line The frequency of the reference laser line is returned as an absolute frequency unnormalized Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements 5 52 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DRIFtDIFFerence STATe Sets the drift calculation to subtract the minimum values measured from the maximum values measured CALCulate3 DRIFt DIFFerence STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific Use the CALC3 DRIF PRES command to turn off all the drift states before turning on this state The CALC3 DATA query returns the maximum power and frequency minus the minimum power and frequency Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements 5 53 Syntax Attribute Summary
182. cy List by WL frequency MEASure SCALar POWer FREOuency single wavelength mode MEASure ARRay POWer WAVelength List by WL MEASure SCALar POWer WAVelength single wavelength mode MEASure ARRay PO Wer WNUMber List by WL MEASure SCALar PO Wer WNUMber single wavelength mode MEASure LENGth COHerence coherence length Specifying SCALar places the display in the single wavelength format and returns a single value to the computer Specifying ARRay places the display in the List by Power or List by WL modes an array of data is returned to the computer 4 10 Programming Making Measurements A common programming error is to send the MEASure command when the instrument is in the continuous measurement acquisition mode Because MEASure contains an INIT IMM command which expects the single measurement acquisition mode an error is generated and the INIT command is ignored READ command The READ command works like the MEASure command except that it does not configure the instrument s settings You can use the CONFigure command to configure the instrument for a particular measurement without returning any data The MEASure and READ commands are identical to combining the following commands Command Equivalent Commands MEASure ABORt CONFigure READ READ ABORt INITiate IMMediate FETCh A common programming error is to send the READ command when the instrument is in the continuous measurement acquisitio
183. d coherence length measurements 4 44 Table 4 7 Programming Commands 2 5 Lists of Commands Command Description Code Codes S indicates a standard SCPI command I indicates an instrument specific command CALCulate1 Subsystem CALCulatel DATA Queries the uncorrected frequency spectrum data of the input S signal CALCulate1 TRANsform FREOuency POINts Sets and queries the number of points in the data set S CALCulate2 Subsystem CALCulate2 DATA Queries the corrected frequency spectrum data of the input S signal CALCulate2 PEXCursion Sets the peak excursion limit I CALCulate2 POINts Queries the number of points in the data set I CALCulate2 PTHReshold Sets the peak threshold limit I CALCulate2 PWA Verage STATe Places the instrument in the average wavelength mode Data I queries return the power weighted average frequency wavelength or wavenumber or total power CALCulate2 WLIMit STATe Limits input wavelength range of the Agilent 86060C I CALCulate2 WLIMit STARt FREQuency Sets the starting frequency for the wavelength limit range I CALCulate2 WLIMit STARt WA Velength Sets the starting wavelength for the wavelength limit range I CALCulate2 WLIMit STARt WNUMber Sets the starting wavenumber for the wavelength limit range I CALCulate2 WLIMit STOP FREQuency Sets the stopping frequency for the wavelength limit range I CALCulate2 WLIMit STOP WAVelength Sets the stopping wavelength for the wav
184. d of the patchcord to the return loss module s OUTPUT connector Terminate the other end of the cable Zero the return loss module Turn on the source module Remove the termination from the cable and leave the cable s free end uncovered The return loss module measures the reflection reference 14 6 dB return loss of the patchcord s FC PC connector in air Make a low reflection termination in the HMS 10 HP HRL to FC PC patchcord Do this by wrapping the cable 6 times around a 5 mm diameter mandrel The return loss module measures the termination parameter Connect the HMS 10 HP HRL to FC PC patchcord to the Agilent 86060C s front panel OPTICAL INPUT connector The lightwave multimeter measures the return loss Compare this measurement with the specification listed in Chapter 7 6 6 Procedure Performance Tests Test 4 Optical Input Return Loss Option 022 instruments angled contacting connectors Turn the source module s output off Connect a single mode patchcord between the source module s optical output and the return loss module s INPUT SOURCE connector 3 Set the return loss module s wavelength to 1550 nm and select an average time of 1 second Locate an HMS 10 HP HRL to FC APC angled FC patchcord Connect the HMS 10 HP HRL end of the patchcord to the return loss module s OUTPUT connector Terminate the FC APC end of the cable 5 Zero the return loss module 6 Tur
185. de of the peak This command works in conjunction with the peak threshold setting Refer to PTHReshold on page 5 34 Changing the peak excursion limit causes the instrument to reprocess the current set of data Refer also to on page 2 16 The query response is the current value For example if the current value is set to 15 dB the following value is returned 15 Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 33 Syntax Attribute Summary Description Query Response Syntax Programming Commands CALCulate2 Subsystem POINts Queries the number of points in the data set CALCulate2 POINts Preset State unaffected RST State unaffected SCPI Compliance instrument specific Query Only This is the number of points that will be returned by the CALC2 DATA query For example if six laser lines are located 6 PTHReshold Sets the peak threshold limit used by the instrument to determine valid laser line peaks CALCulate2 PTHReshold lt integer gt MINimum MA Ximum DEFault lt integer gt represents logarithmic units in dB Valid range is 0 to 40 5 34 Attribute Summary D
186. diff Previous diff Diff wl UNTIL Diff_wl lt 1 5 1 0E 12 OR Diff diff 0 END Example Programs 4 43 Lists of Commands Lists of Commands Table 4 7 Programming Commands 1 5 Command Description Code Codes S indicates a standard SCPI command I indicates an instrument specific command Common Commands CLS Clears all event registers and the error queue ESE Sets the bits in the standard event status enable register ESR Queries value standard event status register IDN Queries instrument model number and firmware version OPC Sets operation complete bit of the standard event status register RCL Recalls a saved instrument state RST Resets instrument SAV Saves an instrument state SRE Sets bits in service request enable register STB Queries value of status byte TRG Triggers acquisition of measurement data TST Performs an instrument self test WAI Causes instrument to finish processing current command before continuing Measurement Instructions CONFigure Configures instrument for wavelength wavenumber frequency I power and coherence length measurements FETCh Queries wavelength wavenumber frequency power and I coherence length measurements that have already been captured MEASure Configures measures and queries wavelength wavenumber I frequency power and coherence length measurements READ Measures and queries wavelength wavenumber frequency I power an
187. e Agilent 86060C as ASCII strings When an array is returned the individual values are separated by the comma character Determine the number of data points When a FETCh READ or MEASure command is used with ARRay specified the first returned value indicates the total number of measurement values returned in the query If you use the CALCulatel DATA CALCulate2 DATA or CALCulate3 DATA queries to query data send the POINts query first to determine the number of values returned in the string The string does not contain a first value which specifies the string length This is shown in the following example OUTPUT 720 CALCulate1 POINts ENTER 720 Length OUTPUT 720 CALCulate1 DATA ENTER 720 Result Data can be corrected for elevation and vacuum Normally the Agilent 86060C provides measurement values calculated for conditions in air at sea level Use the SENSe CORRection ELEVation command to compensate for air dispersion Altitudes up to 5000 meters can be entered Use the SENSe CORRection MEDium command to switch to readings in a vacuum Amplitude units The default amplitude units are dBm If you need measurements in watts use the UNTIT POWer command When the Agilent 86060C is turned on the amplitude units are automatically set to the units used before the instrument was last turned off 4 16 Programming Monitoring the Instrument Monitoring the Instrument Almost every program that you write
188. e first few lines and last few lines returned in the string The term nquery indicates that a command cannot be sent as a query The tirm gonly indicates that a command can only be sent as a query 44387 ABORt nquery CALCulate DATA7 qonly CALCulate TRANsform FREQuency POINts CALCulate1 DATA qonly CALCulate1 TRANsform FREQuency POINts CALCulate2 DATA qonly IDN2 qonly OPC 5 80 Syntax Attribute Summary Description Programming Commands SYSTem Subsystem RCL nquery RST nquery SAV nquery SRE STB qonly TRG nquery TST qonly WAI nquery PRESet Performs the equivalent of pressing the front panel PRESET key S YSTem PRESet Preset State none RST State none SCPI Compliance standard Command Only The instrument state is set according to the settings shown in the following table Table 5 8 Instrument Conditions 1 2 ben Settings after Preset Settings after Power Key Pressed Turned On Display mode single wavelength last state Wavelength range limiting on last state Start wavelength 1200 nm last state Stop wavelength 1650 nm last state Graphical display off off Measurement acquisition continuous last state Wavelength calibration vacuum last state Elevation correction value not affected last state 5 81 Programming Commands SYSTem Subsystem Table 5 8 Instrument Conditions 2 2 Settings after Preset Settings after Power tam Key P
189. e following equation Linearity Power Meter Reading HP 86120B Power Reading offset 21 Compare the linearity values with the specification listed in Chapter 7 The data may show multiple amplitude plateaus separated by small amplitude steps This is not a 6 10 Performance Tests Test 5 Amplitude Accuracy and Linearity problem as long as the amplitude steps are within the linearity specification Table 6 1 Linearity Data Values Desired Power Power Meter Agilent 86060C Att tor Setti Li it dBm FR Reading Power Reading Ne Performance Tests Test 5 Amplitude Accuracy and Linearity 6 12 7 3 7 6 7 10 0 55C 95 15
190. e request enable register contains a mask value for the bits to be enabled in the status byte register A bit set to one in the service request enable register enables the corresponding bit in the status byte register to generate a service request A zero disables the bit The following table lists the bits in the service request enable register and what they mask 5 10 Query Response Example Programming Commands Common Commands The service request enable register is cleared when the instrument is turned on The RST and CLS commands do not change the register The SRE query returns the value of the service request enable register Table 5 5 Service Request Enable Register Bit Bit Weight Enables 7 128 Not Used 6 64 Not Used 5 32 Event Status Bit ESB 4 16 Message Available MAV 3 8 Not Used 2 4 Error queue status 1 2 Not Used 0 1 Not Used a High enables the status byte register bit lt integer gt from 0 to 63 or from 128 to 191 OUTPUT 720 SRE 32 In this example the command enables ESB event summary bit 5 in the status byte register to generate a service request 5 11 Syntax Description Query Response Example Programming Commands Common Commands STB The STB status byte query returns the current value of the instrument s status byte STB The master summary status MSS bit 6 indicates whether or not the device has at least one reason fo
191. e return loss is 54 6 dB exactly 40 dB below 14 6 dB better than that displayed 6 8 Equipment Procedure Noo fF WO tO Performance Tests Test 5 Amplitude Accuracy and Linearity Test 5 Amplitude Accuracy and Linearity Amplitude linearity is performed using the following devices 1550 nm DFB lasers Optical attenuator Agilent 11896A Polarization Controller Optical power meter Polarization sensitivity To ensure measurement accuracy minimize the movement of any fiber optic cables during this procedure Moving cables causes polarization changes which affect amplitude measurements Turn on the laser and allow it to warm up Connect the laser s output to the optical attenuator s input Connect the optical attenuator s output to the polarization controller s optical input Connect the polarization controller s optical output to the optical power meter Configure the optical power meter for 1550 nm Adjust the optical attenuator so that the power meter measures a power level of 0 dBm Enter the attenuator setting and the measured power level in the first row of Table 6 1 on page 6 11 Be sure to enter these values into the Attenuator Settings and Power Meter Readings columns Enter the measured power on the following line Pwr Change the attenuator in 1 dB steps as shown in Table 6 1 and enter the attenuator settings and power measurements After completing this st
192. ecific This command sets the starting range for the wavelength limit The start wavelength value must be less than or equal to the stop wavelength value or the start wavelength will be clipped to the stop wavelength and a Data out of range error will be generated Setting the start wavelength is equivalent to setting the stop frequency wavenumber because of the inverse relationship of frequency to wavelength The default units for the lt rea gt parameter are meters Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 38 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STARt WNUMber Sets the starting wavenumber for the wavelength limit range CALCulate2 WLIMit STARt WNUMber lt real gt MINimum MAXimum lt real gt is a wavenumber value that is within the following limits Constant Description MINimum 6060 cm MAXimum wavelength limit stop value Non sequential command Preset State 6 060606E5 m RST State 6 060606E5 m SCPI Compliance instrument specific This command sets the starting range for the wavelength limit The default units for the lt real gt parameter value are m The start wavenumber v
193. elength Set wavelength of tunable laser source Turn tunable laser source s output on Enter loop Measure wavelength Compare wavelength to desired wavelength Realign tunable laser source s wavelength Check if wavelength changed from last pass Repeat until delta wavelength lt 0 0015 nm or wavelength is stable 4 42 COM Current wLDiff wl Target wlLPrevious diffDiff diff Current w 0 Diff wl 0 Target wl 0 Previous_diff O Diff_diff 0 ASSIGN TIs TO 724 ASSIGN Mwm TO 720 Initialize instrument DIM Identity 50 Identity OUTPUT Tls CLS OUTPUT TIs IDN ENTER TLS identity PRINT TLS IS A sidentity OUTPUT Mwm RST OUTPUT Mwm CLS OUTPUT Mwm IDN ENTER Mwm Identity PRINT MWM IS A sidentity Ask user for desired wavelength INPUT What wavelength nm do you wish to have Target wl Target_wl Target_wl 1 0E 9 PRINT the target wavelength is Target wl Set wavelength of tunable laser source OUTPUT TIs WAVE VALS Target_ wl OUTPUT TIs OUTP ON Enter realignment loop REPEAT OUTPUT Mwm MEAS SCAL POW WAV ENTER Mwm Current_wl PRINT The current wavelength is VAL Current_wl Diff_wl PROUND ABS Target_w Current_wl 16 PRINT Diff between target amp Current is or YVAL Diff wl OUTPUT TIls WAVEACT VAL Current_wl Diff_diff PROUND ABS Diff_wl Previous_diff 16 PRINT differential difference between two turn VALS Diff_
194. elength limit range I CALCulate2 WLIMit STOP WNUMber Sets the stopping wavenumber for the wavelength limit range I CALCulate3 Subsystem CALCulate3 ASNR CLEar Resets and restarts the signal to noise ratio averaging I CALCulate3 ASNR COUNt Sets the number of measurements to average the signal to noise I ratio CALCulate3 ASNR STATe Turns signal to noise ratio averaging mode on and off I CALCulate3 DATA Queries the data resulting from delta drift and signal to noise S measurements CALCulate3 DELTa POWer STATe Turns the delta power measurement mode on and off I 4 45 Lists of Commands Table 4 7 Programming Commands 3 5 Command Description Code Codes S indicates a standard SCPI command I indicates an instrument specific command CALCulate3 DELTa REFerence FREQuency Selects the signal to be used as the reference for the DELTa I calculations CALCulate3 DELTa REFerence PO Wer Queries the power level of the reference signal I CALCulate3 DELTa REFerence WA Velength Selects the signal to be used as the reference for the DELTa I calculations CALCulate3 DELTa REFerence WNUMber Selects the signal to be used as the reference for the DELTa I calculations CALCulate3 DELTa WA Velength STATe Turns the delta wavelength measurement mode on and off I CALCulate3 DELTa WPOWer STATe Turns the delta wavelength and power measurement mode on and I off CALCulate3 DRIFt DIFFerence STATe Sets the drift calcul
195. ep the first two columns of the table should be completely filled in 6 9 10 11 12 13 14 15 16 17 18 19 20 Performance Tests Test 5 Amplitude Accuracy and Linearity Disconnect the fiber optic cable from the optical power meter and connect it to the Agilent 86060C s OPTICAL INPUT connector Set the optical attenuator for the value that you recorded in Step 8 Place the polarization controller in the auto scan mode Press the Agilent 86060C s front panel Preset key Press List by Power Appl s and then DRIFT After two minutes stop the polarization controller s auto scan function Press the MAX MIN softkey so that MAX is highlighted Enter the maximum drift reading on the following line maximum drift Press the MAX MIN softkey so that MIN is highlighted Enter the minimum drift reading on the following line minimum drift Use the values recorded in Step 8 Step 16 and Step 17 to calculate the power correction offset value as shown in the following equation offset ERI drift maxtnurn drift Pwr Enter the calculate value on the following line power correction offset Change the attenuator to the settings shown in Table 6 1 For each setting record the power measured on the Agilent 86060C After completing this step the table s column titled Agilent 86060C Power Reading should be completely filled in Calculate the Linearity value for each row in the table using th
196. es in standard air VACuum Selects wavelength values in a vacuum Preset State VAC RST State VAC SCPI Compliance instrument specific Standard air is defined to have the following characteristics Barometric pressure 760 torr Temperature 15 C Relative humidity 0 CORRection OFFSetl MAGNitude Enters an offset for amplitude values SENSe CORRection OFFSet MAGNitude lt real gt MINimum MAXimum lt real gt is the logarithmic units in dB Constant Description MINimum 40 0 dB MAXimum 40 0 dB Preset State 0 0 RST State 0 0 SCPI Compliance standard 5 72 Querry Response Syntax Attribute Summary Description Programming Commands SENSe Subsystem The query form returns the current offset setting as shown in the following example 5 00000000E 000 DATA Queries the time domain samples of the input laser line SENSe DATA Preset State none SCPI Compliance instrument specific Query Only Be prepared to process a large amount of data when this query is sent The amount of data returned depends on the measurement update state of the instrument which is set using the resolution argument of an instrument function Refer to Measurement Instructions on page 5 15 When NORMAL measurement update is specified over 2 200 kilobytes of data 128K values can be returned to the computer When FAST measurement update is specified over 250 kilobytes of data 16K values c
197. escription Syntax Attribute Summary Programming Commands CALCulate2 Subsystem Constant Value MINimum 0 dB MAXimum 40 dB DEFault 10 dB Non sequential command Preset State 10 dB RST State 10 dB SCPI Compliance instrument specific A laser line is identified as a valid peak if its amplitude is above the maximum amplitude minus the peak threshold value The subtraction is done in dB units This setting works in conjunction with the peak excursion setting to determine which responses are located Refer to PEXCursion on page 5 33 Changing the peak threshold limit causes the instrument to reprocess the current set of data Refer also to on page 2 16 The query response is the current value For example if the current value is set to 15 dB the following value is returned 15 Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information PWAVerage STATe Places the instrument in the power weighted average mode CALCulate2 PWAVerage STATe ON OFF 1 0 Preset State off RST State off 5 35 Description Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem When the state i
198. esolution normal DEF ault Current resolution CONEF ARR POW WAV DEF MAX FETC ARR POW WAV DEF MIN READ ARR POW WAV MEAS ARR POW WAV gt CONF SCAL POW WAV 1300NM MAX FETC SCAL POW WAV 1300NM MIN READ SCAL POW WAV 1300NM MEAS SCAL POW WAV 1300NM The following line is an example of a returned string when MEAS SCAL POW WAV MAX is sent 1 5529258E 006 If six laser lines are located and MEAS ARR POW WAV is sent the following string could be returned Notice that the first returned number indicates the number of laser line values returned in the query 6 1 54488 100E 006 1 54648400E 006 1 54809000E 006 1 54969900E 006 1 55131100E 006 1 55292600E 006 5 22 Programming Commands Measurement Instructions MEASure ARRay SCALar POWer WNUMber Returns a wave number value Syntax POWer WNUMber lt expected_value gt lt resolution gt Used With lt expected_value gt lt resolution gt SCALar optional optional ARRay ignored optional a Although ignored this argument must be present if the resolution argument is specified Description When used with a SCALar command a single value is returned The display is placed in the single wavelength mode and the marker is placed on the signal having a wave number that is closest to the lt expected_value gt parameter Default units for lt expected_value gt parameter are in m When used with an ARRay comma
199. eturned to the computer 6 45286262E 005 Notice that the returned units are ml If six laser lines are measured and MEAS ARR POW WNUM is sent the following response is returned Notice that the first returned number indicates the number of laser line values returned in the query 6 6 47298400E 005 6 46627900E 005 6 45957000E 005 6 45286300E 005 6 4461 5600E 005 6 43945300E 005 MEASure SCALar _LENGth COHerence ALPHa Queries the alpha constant LENGth COHerence ALPHa Query Only The alpha constant is a unitless ratio 5 24 Syntax Attribute Summary Description Syntax Attribute Summary Syntax Attribute Summary Description Programming Commands Measurement Instructions MEASure SCALar LENGth COHerence BETA Queries the beta constant LENGth COHerence BETA Query Only The beta constant is a unitless ratio MEASure SCALar _LENGth COHerence CLENgth Queries the coherence length of the input signal in meters LENGth COHerence CLENgth Query Only MEASure SCALar _LENGth COHerence DELay Queries the round trip path delay in the laser chip LENGth COHerence DELay Query Only The units of the returned value are in meters 5 25 Programming Commands CALCulate1 Subsystem CALCulate1 Subsystem Use the CALCulate1 commands to query uncorrected frequency spectrum data In NORMAL measurement update mode 34 123 values are returned If
200. example sets the pause for 10 seconds 4 30 Example Programs Example 1 Measure a DFB laser This program measures the power and wavelength of a DFB laser It first sets the Agilent 86060C in the single acquisition measurement mode Then it triggers the Agilent 86060C with the MEASure command to capture measurement data of the input spectrum Because the data is stored in the instrument s memory it can be queried as needed 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 Set_ese PRINT USING 37A 33A Multi Wavelength Meter Identity is FNIdentity OUTPUT Mwm INIT CONT OFF ON TIMEOUT 7 5 CALL Err_mngmt OUTPUT Mwm MEAS SCAL POW WAV ENTER Mwm Current_wl OUTPUT Mwm FETC SCAL POW ENTER Mwm Current_pwr OFF TIMEOUT PRINT USING 20A 4D 3D 3A 19A M2D 2D 4A The wavelength is Current_wl 1 0E 9 nm with a power of Current_pwr dBm END Err_mngmt SUB Err_mngmt COM Instrument Mwm DIM Err_msg 255 INTEGER Cme CLEAR 7 REPEAT OUTPUT Mwm ESR ENTER Mwm Cme OUTPUT Mwm SYST ERR ENTER Mwm Err_msg PRINT Err_msg UNTIL NOT BIT Cme 2 AND NOT BIT Cme 4 AND NOT BIT Cme 5 AND POS Err_msg 0 Subend SUBEND Set_ese SUB Set_ese COM Instrument Mwm OUTPUT Mwm ESE IVAL 00110100 2 SUBEND 4 31 Example Programs Identity DEF FNIdentity COM
201. for the wavelength limit range CALCulate2 WLIMit STARt FREQuency lt real gt MINimum MAXimum lt real gt is a frequency value that is within the following limits Constant Description MINimum 181 6924 THz MAXimum wavelength limit stop value Non sequential command Preset State 181 6924 THz RST State 181 6924 THz SCPI Compliance instrument specific This command sets the starting range for the wavelength limit in Hertz The start frequency value must be less than or equal to the stop frequency value or the start frequency will be clipped to the stop frequency and a Data out of range error will be generated The default units for the lt rea gt parameter are hertz Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 37 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STARt WAVelength CALCulate2 WLIMit STARt WAVelength lt real gt MINimum MAXimum lt real gt is a wavenumber value that is within the following limits Constant Description MINimum 700 0 nm MAXimum wavelength limit stop value Non sequential command Preset State 700 nm RST State 700 nm SCPI Compliance instrument sp
202. gmt Cmd_opc RST Cmd_opc INIT IMM Cmd_opc OPC Cmd_opc CONF ARR POW WAV Turn on the drift calculation Cmd opc CALC3 DRIF STAT ON Err_mngmt CALC3 DRIF STAT ON Turn off all drift states Cmd_opc CALC3 DRIF PRES Err_mngmt CALC3 DRIF PRES Turn on drift reference state Cmd opc CALC3 DRIF REF STAT ON Err_mngmt CALC3 DRIF REF STAT ON Query the number of data points OUTPUT Mwm CALC3 POIN ENTER Mwm USING K Nb_pt ALLOCATE Current_ref_wl 1 Nb_pt ALLOCATE Current_ref_pwr 1 Nb_pt 4 35 Example Programs 7 Query reference wavelengths and powers OUTPUT Mwm CALC3 DATA WAV ENTER Mwm USING K Current_ref_wl OUTPUT Mwm CALC3 DATA POW ENTER Mwm USING K Current_ref_pwr Turn off drift reference state Cmd opc CALC3 DRIF REF STAT OFF Err mngmt CALC3 DRIF REF STAT OFF 7 Turn on drift max min calculation Cmd opc CALC3 DRIF DIFF STAT ON Err mngmt CALC3 DRIF DIFF STAT ON Tempo 10 ALLOCATE Current diff wI 1 Nb_pt ALLOCATE Current diff pw l Nb pt Query drift wavelengths and powers OUTPUT Mwm CALC3 DATA WAV ENTER Mwm USING K Current_diff_wl OUTPUT Mwm CALC3 DATA POW ENTER Mwm USING K Current_diff_pw OFF TIMEOUT FOR I 1 TO Nb pt PRINT USING 18A 2D 6A M4D 2DE 3A 21A MDD 3DE 3A Wavelength number 31 is Current_ref_wl I _m _ with a drift from Current_diff_wl 1 _m PRINT USI
203. he number of points returned by the CALC3 DATA query PRESet Turns off any CALCulate3 calculation that is on CALCulate3 PRESet Preset State unaffected by RST State unaffected by SCPI Compliance instrument specific Command Only This command turns off any CALCulate3 calculation delta drift signal to noise or coherence length that is on 5 59 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem SNR AUTO Selects the reference frequency value for measuring noise in the signal to noise calculation CALCulate3 SNR AUTO ON OFF 1 0 Constant Description ON Selects internally generated reference frequency OFF Selects user entered reference frequency Preset State on RST State on SCPI Compliance instrument specific The command argument allows you to select either an internally generated or a user entered frequency reference for measuring the noise To enter a value to use as the reference use the SNR REFerence FREQuency SNR REFerence WAVelength and SNR REFerence WNUMber commands 5 60 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem SNR REFerence FREQuency Enters a frequency that can be used for the noise measurement reference in signal to noise calculations CALCulate3 SNR REFerence FREQuency lt real gt MINimum MAXimum lt real gt is a frequency value that is within the fol
204. he user to restore front panel control of the instrument You can specify a local lockout mode that prevents the LOCAL softkey from being displayed If the instrument is in local lockout mode all the softkeys may be blanked For example if the instrument is first placed in local lockout mode and then placed in remote mode no softkeys are displayed Consult the documentation for your programming environment to determine which commands are used to put an instrument in the remote and local lockout modes These are not Agilent 86060C commands they control HP IB control lines and do not send any characters to the Agilent 86060C Initialize the instrument at start of every program It is good practice to initialize the instrument at the start of every program This ensures that the bus and all appropriate interfaces are in a known state HP BASIC provides a CLEAR command which clears the interface buffer and also resets the instrument s parser The parser is the program that reads the instructions that you send Whenever the instrument is under remote programming control it should be in the single measurement acquisition mode This is automatically accomplished when the RST common command is used The RST command initializes the instrument to a preset state 4 3 Programming Addressing and Initializing the Instrument CLEAR 720 OUTPUT 720 RST Notice in the example above that the commands are sent to an instrument address of 72
205. iate a measurement and check for any hardware errors after the measurement is complete lt integer gt OUTPUT 720 TST ENTER 720 Result PRINT Result 5 13 Programming Commands Common Commands WAI The WAI command prevents the instrument from executing any further commands until the current command has finished executing Syntax WAI Description All pending operations are completed during the wait period This command cannot be issued as a query 5 14 Programming Commands Measurement Instructions Measurement Instructions Use the measurement instructions documented in this section to perform measurements and return the desired results to the computer Four basic measurement instructions are used CONFigure FETCh READ and MEASure Because the command trees for each of these four basic measurement instructions are identical only the MEASure tree is documented To perform a measurement append to the measurement instruction a POWer or LENGth function The POWer functions select power frequency wavelength or wave number measurements Use the LENGth functions to configure the instrument to measure coherence length The instrument measures the coherence length in the time domain by rectifying and low pass filtering the interferogram The resulting waveform is then curve fit into a decaying exponential Refer to on page 3 12 When the SCALar command is used
206. ic is the first three characters of the keyword This rule is not used if the length of the keyword is exactly four characters Table 4 5 Examples of Short Forms Long Form Equivalent Short Form ROUTE ROUT LAYER LAY SYSTEM SYST ERROR ERR You can use upper or lowercase letters Program headers can be sent using any combination of uppercase or lowercase ASCII characters Instrument responses however are always returned in uppercase Combine commands in the same subsystem You can combine commands from the same subsystem provided that they are both on the same level in the subsystem s hierarchy Simply separate the commands with a semi colon For example the following two lines OUTPUT 720 CALC2 PEXC 12 OUTPUT 720 CALC2 PTHR 20 can be combined into one line OUTPUT 720 CALC2 PEXC 12 PTHR 20 The semicolon separates the two functions 4 25 Programming Reviewing SCPI Syntax Rules Combine commands from different subsystems You can send commands and program queries from different subsystems on the same line Simply precede the new subsystem by a semicolon followed by a colon In the following example the colon and semicolon pair before DISP allows you to send a command from another subsystem OUTPUT 720 CALC2 PEXC 12 DISP WIND GRAP STAT OFF Sending common commands If a subsystem has been selected and a common command is received by the instrument the instrument remains in
207. ing any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 40 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STOP WAVelength Sets the stopping wavelength for the wavelength limit range CALCulate2 WLIMit STOP WAVelength lt real gt MINimum MAXimum lt real gt is a wavelength value that is within the following limits Constant Description MINimum start wavelength limit MAXimum 1650 0 nm Non sequential command Preset State 1650 nm RST State 1650 nm SCPI Compliance instrument specific This command sets the stopping range for the wavelength limit The default units for the lt real gt parameter are meters The stop wavelength value must be greater than or equal to the start wavelength value or the stop wavelength will be clipped to the start wavelength and a Data out of range error will be generated Setting the start wavelength is equivalent to setting the start frequency wavenumber because of the inverse relationship of frequency to wavelength Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information
208. ing off prevents the display of power bars for all instrument modes FETCh Measurement Instruction For information on the FETCh measurement instruction refer to Measurement Instructions on page 5 15 5 67 Syntax Attribute Summary Description Programming Commands HCOPy Subsystem HCOPy Subsystem Use the command in this subsystem to print the displayed measurement results to a printer This subsystem has the following command hierarchy HCOPy IMMediate IMMediate Prints measurement results on a printer HCOPy IMMediate Preset State none RST State none SCPI Compliance standard Command Only Connect the printer to the Agilent 86060C s rear panel PARALLEL PRINTER PORT connector The output to the printer is ASCH text MEASure Measurement Instruction For information on the MEASure measurement instruction refer to Measurement Instructions on page 5 15 5 68 Programming Commands READ Measurement Instruction READ Measurement Instruction For information on the READ measurement instruction refer to Measurement Instructions on page 5 15 SENSe Subsystem Use the SENSe commands to correct measurement results for elevation above sea level and to select between measurements in air or vacuum You can also enter an amplitude offset The commands in this subsystem have the following command hierarchy SENSe CORRection DEVice ELEVations MEDium OFFSet L
209. ion mark character must not be included in the string However the FETCh READ and MEASure command are queries and require the question mark Refer to the examples for this command MAXimum The highest frequency signal MINimum The lowest frequency signal DEF ault The current marker position MAXimum 0 01 resolution fast update MINimum 0 001 resolution normal 5 19 Examples Query Response Programming Commands Measurement Instructions DEEFault Current resolution CONF ARR POW FREQ DEF MIN FETC ARR POW FREQ DEF MAX READ ARR POW FREQ MEAS ARR POW FREO gt CONF SCAL POW FREQ 230 8THZ MAX FETC SCAL POW FREQ 230 8THZ MIN READ SCAL POW FREQ 230 8THZ MEAS SCAL POW FREO 230 8THZ The following line is an example of a returned string when MEAS SCAL POW FREQ MAX is sent 1 94055176E 014 If six laser lines are located and MEAS ARR POW FREQ is sent the following string is an example of the returned data Notice that the first returned number indicates the number of laser line values returned in the query 6 1 94055 100E 014 1 93854100E 014 1 93653000E 014 1 93452000E 014 1 9325 0900E 014 1 93050000E 014 5 20 Syntax Description lt expected_value gt Constants Programming Commands Measurement Instructions MEASure ARRay SCALar POWer WAVelength Returns wavelength values POWer WAVelength lt expected_value gt lt resolution gt
210. lations CALCulate3 DELTa REFerence FREQuency lt real gt MINimum MA Ximum lt real gt is a frequency value that is within the following limits Constant Description MINimum 181 6924 THz MAXimum 428 6 THz Preset State 428 6 THz 700 nm RST State 428 6 THz 700 nm SCPI Compliance instrument specific The reference will be the laser line at the frequency closest to the frequency entered Subsequent measurements will use the frequency closest to the reference frequency used for the previous measurement The query returns the reference laser line s frequency The default units for the lt real gt parameter are Hz DELTa REFerence POWer Queries the reference laser line s power level CALCulate3 DELTa REFerence POWer Preset State not affected RST State not affected SCPI Compliance instrument specific Query Only 5 48 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DELTa REFerence WAVelength Selects the reference laser line for DELTa calculations CALCulate3 DELTa REFerence WA Velength lt real gt MINimum MAXimum lt real gt is a wavelength value that is within the following limits Constant Description MINimum 700 0 nm MAXimum 1650 0 nm Preset State 700 nm 428 6 THz RST State 700 nm 428 6 THz laser line SCPI Compliance instrument specific The reference will be the laser line at the wavelength closest to
211. lowing limits Constant Description MINimum 181 6924 THz MAXimum 428 2750 THz Preset State unaffected by RST State 193 4145 THz 1550 0 nm in a vacuum SCPI Compliance instrument specific After entering this value use the SNR AUTO command to configure the instrument to use this value in subsequent signal to noise calculations The default units for the lt rea gt parameter are Hz 5 61 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem SNR REFerence WAVelength Sets the wavelength used for the noise measurement reference in the signal to noise calculation CALCulate3 SNR REFerence WA Velength lt real gt MINimum MAXimum lt real gt is a wavelength value that is within the following limits Constant Description MINimum 700 0 nm MAXimum 1650 0 nm Preset State unaffected by RST State 1550 0 nm in a vacuum SCPI Compliance instrument specific After entering this value use the SNR AUTO command to configure the instrument to use this value in subsequent signal to noise calculations The number entered is converted internally to the corresponding frequency The default units for the lt rea gt parameter are meters 5 62 Syntax Attribute Summary Description Syntax Attribute Summary Programming Commands CALCulate3 Subsystem SNR REFerence WNUMber Sets the wave number used for the noise measurement reference in the signal
212. m Hcopy Subsystem Sense Subsystem Status Subsystem System Subsystem Trigger Subsystem Unit Subsystem Sending a command It s easy to send a command to the instrument Simply create a command string from the commands listed in this book and place the string in your program language s output statement For commands other than common commands include a colon before the subsystem name For example the following string places the cursor on the peak laser line and returns the power level of this peak OUTPUT 720 MEAS SCAL POW MAX Use either short or long forms Commands and queries may be sent in either long form complete spelling or short form abbreviated spelling The description of each command in this manual shows both versions the extra characters for the long form are shown in lowercase The following is a long form of a command OUTPUT 720 MEA Sure SCALar POWer MAXimum And this is the short form of the same command 4 24 Programming Reviewing SCPI Syntax Rules OUTPUT 720 MEAS SCAL POW MAX Programs written in long form are easily read and are almost self documenting Using short form commands conserves the amount of controller memory needed for program storage and reduces the amount of I O activity The rules for creating short forms from the long form is as follows The mnemonic is the first four characters of the keyword unless the fourth character is a vowel in which case the mnemon
213. mmands UNIT Subsystem Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information UNIT Subsystem The only command provided in this subsystem is the POWer command as shown in the following command hierarchy UNIT POWer POWer Sets the power units to watts linear or dBm logarithmic UNIT POWer W DBM Preset State dBm RST State dBm SCPI Compliance standard 5 86 Test 1 Absolute Wavelength Accuracy 6 3 Test 2 Sensitivity 6 4 Test 3 Polarization Dependence 6 5 Test 4 Optical Input Return Loss 6 6 Test 5 Amplitude Accuracy and Linearity 6 9 Performance Tests Performance Tests Performance Tests Performance Tests The procedures in this chapter test the Agilent 86060C s performance using the specifications listed in Chapter 7 as the performance standard All of the tests are done manually without the aid of a computer None of these tests require access to the interior of the instrument Test 1 Absolute Wavelength Accuracy Test 2 Sensitivity Test 3 Polarization Dependence Test 4 Optical Input Return Loss Test 5 Amplitude Accuracy and Linearity Allow the Agilent 86060C to warm up for 15 minutes before d
214. mple Syntax Description Programming Commands Common Commands OUTPUT 720 ESR ENTER 720 Event PRINT Event IDN The IDN identification number query returns a string value which identifies the instrument type and firmware version IDN An IDN query must be the last query in a program message Any queries after the IDN query in a program message are ignored The maximum length of the identification string is 50 bytes The following identification string is returned The third entry is the instrument s serial number The last entry in the string is the firmware version number this value may vary between instruments HEWLETT PACKARD 86120B USaaaabbbb 2 000 DIM Id 50 OUTPUT 720 IDN ENTER 720 Id PRINT Id OPC The OPC operation complete command sets the operation complete bit in the event status register when all pending device operations have finished OPC OPC The OPC query places an ASCII 1 in the output queue when all pending device operations have finished This command is useful when the computer is sending commands to other instruments The computer can poll the event status register to check when the Agilent 86060C has completed the operation Use the OPC query to ensure all operations have completed before 5 6 Query Response Example Syntax Description Programming Commands Common Commands continuing the program By following a c
215. msg IF NPAR gt 0 AND NOT POS Err_msg 0 THEN PRINT This command Cmd_msg makes the following error IF NOT POS Err_msg 0 THEN PRINT Err_msg UNTIL NOT BIT Cme 2 AND NOT BIT Cme 4 AND NOT BIT Cme 5 AND POS Err_msg 0 Subend SUBEND Set_ese SUB Set_ese COM Instrument Mwm OUTPUT Mwm ESE TVAL 00110100 2 SUBEND Identity DEF FNIdentity COM Instrument Mwm DIM Identity 50 Identity OUTPUT Mwm RST OUTPUT Mwm OPC ENTER Mwm Opc_done OUTPUT Mwm IDN ENTER Mwm ldentity RETURN Identity FNEND Cmd opc SUB Cmd_opc Set_cmd COM Instrument Mwmd OUTPUT Mwm Set cmd OUTPUT Mwm OPC ENTER Mwm Opc_done SUBEND 4 41 Example Programs Example 6 Increase a source s wavelength accuracy This example program uses the Agilent 86060C to increase the absolute wavelength accuracy of Agilent 8167A Agilent 8168B and Agilent 8168C Tunable Laser Sources Essentially the Agilent 86060C s accuracy is transferred to the tunable laser source The absolute accuracy of the tunable laser source is increased from lt 0 1 nm to lt 0 005 nm which is the Agilent 86060C s absolute accuracy at 1550 nm In order to run this program the tunable laser source s firmware must support the automatic alignment command WAVEACT The program uses the following measurement algorithm Identify and initialize the Agilent 86060C and tunable laser source Ask user for desired wav
216. n mode Because READ contains an INIT IMM command which expects the single measurement acquisition mode an error is generated and the INIT command is ignored FETCh command The FETCh command returns data from previously performed measurements it does not initiate the collection of new data Because FETCh does not configure the instrument or acquire new input data you can use FETCh repeatedly on the same set of acquired data For example use two FETCh commands to return wavelength and then power values for the same measurement This is shown in the following program fragment OUTPUT 720 INIT CONT OFF OUTPUT 720 CONF ARR POW MAX OUTPUT 720 INIT IMM OUTPUT 720 FETC ARR POW ENTER 720 powers OUTPUT 720 FETC ARR POW WAV ENTER 720 wavelengths In the example above the data in the power and wavelength arrays are returned in the same order so that powers can be matched to wavelengths Also because new data is not collected FETCh is especially useful when characterizing transient data 4 11 Programming Making Measurements FETCh does not reconfigure the display For example if the display is in the Peak WL mode sending FETCh ARRay does not configure the display to the List by WL even though an array of data is returned to the computer A common programming error occurs when the FETCh command is used after an RST command This generates error number 230 Data corrupt or stale
217. n on the wavelength of the reference laser line is subtracted from the wavelength values of all laser lines except the reference For the CALC3 DATA query the power data returned is the array of absolute powers measured for each laser line The frequency data is the array of frequency values normalized to the frequency of the reference laser line The frequency of the reference laser line is returned as an absolute frequency unnormalized Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements 5 51 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DELTa WPOWer STATe Turns the delta wavelength and power measurement mode on and off CALCulate3 DELTa WPO Wer STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific When on the wavelength of the reference laser line is subtracted from the wavelength values of all laser lines except the reference The power value of the reference is subtracted from the power values of all laser lines except the reference For the CALC3 DATA query the power data returned is the array of powers normalized to the power of the reference laser line The power of the referen
218. n on the source module 7 Remove the termination from the cable and connect the FC APC end of an FC APC to FC PC 10 11 12 13 cable to the free end of this cable Leave the cable s free end uncovered The return loss module measures the reflection reference 14 6 dB return loss of the patchcord s FC PC connector in air Disconnect the FC APC to FC PC cable Make a low reflection termination in the HMS 10 HP HRL to FC APC patchcord Do this by wrapping the cable 6 times around a 5 mm diameter mandrel The return loss module measures the termination parameter Connect the HMS 10 HP HRL to FC APC patchcord to the Agilent 86060C s front panel OPTICAL INPUT connector The lightwave multimeter measures the return loss Compare this measurement with the specification listed in Chapter 7 6 7 Performance Tests Test 4 Optical Input Return Loss FC APC patchcord loss The effect of having loss in the FC APC patchcord 1 to 2 connector pair is to under measure the return loss by twice the FC APC patchcord 1 to 2 loss For example if this connector pair loss is 0 5 dB then the actual return loss caused by the 14 6 dB Fresnel reflection is 15 6 dB but we enter 14 6 dB as an R value Then if the DUT return loss is exactly 40 dB below that of the 14 6 Fresnel reflection the optical return loss module will display 53 6 dB because the 0 5 dB connector pair loss seen twice is removed In reality th
219. nd an array of wave number is returned The display is placed in the list by wavelength mode The lt resolution gt parameter sets the resolution of the measurement It is a unitless number whose value will be limited to either 0 01 or 0 001 whichever is closer Returned values are in inverse meters Displayed units are inverse centimeters Power units are not affected CONFigure command When this function is used with the CONFigure command the query question mark character must not be included in the string However the FETCh READ and MEASure command are queries and require the question mark Refer to the examples for this command lt expected_value gt MAXimum The laser line having the largest wave number Constants MINimum The laser line having the smallest wave number DEFault The current marker position 5 23 lt resolution gt Constants Examples Query Response Syntax Attribute Summary Description Programming Commands Measurement Instructions MAXimum 0 01 resolution fast update MINimum 0 001 resolution normal DEF ault Current resolution gt CONF ARR POW WNUM DEF MAX FETC ARR POW WNUM DEF MIN READ ARR POW WNUM MEAS ARR POW WNUM CONEF SCAL POW WNUM 6451 MAX FETC SCAL POW WNUM 6451 MIN READ SCAL POW WNUM 6451 MEAS SCAL POW WNUM 6451 If the MEAS SCAL POW WNUM 6451 command is sent and a 1550 nm laser line is present the following response would be r
220. nd allow them to warm up Set the polarization controller to a scan rate of 5 On the Agilent 86060C press the Preset key Connect the laser s optical output to the polarization controller s optical input Connect the polarization controller s optical output to the Agilent 86060C being tested Set the polarization controller to autoscan On the Agilent 86060C press Peak WL Appl s and then DRIFT Press MAX MIN so that both MAX and MIN in the softkey label are highlighted The display shows the total drift since the drift measurement was started Wait five minutes read the peak amplitude drift from the Agilent 86060C and compare with the specification listed in Chapter 7 6 5 Description Procedure Performance Tests Test 4 Optical Input Return Loss Test 4 Optical Input Return Loss Input return loss is verified using the following devices Agilent 8153A Lightwave Multimeter Agilent 81553SM 1550 nm Fabry Perot laser SM 9 125 um Source Module Agilent 81534A Return Loss Model Standard instruments flat contacting connectors Turn the source module s output off Connect a single mode patchcord between the source module s optical output and the return loss module s INPUT SOURCE connector 3 Set the return loss module s wavelength to 1550 nm and select an average time of 1 second ono ao 10 11 12 Locate an HMS 10 HP HRL to FC PC patchcord Connect the HMS 10 HP HRL en
221. nflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selecting measurements 5 57 Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem DRIFtI STATe Turns on and off the drift measurement calculation CALCulate3 DRIFt STATe ON OFF 1 0 Preset State off RST State off SCPI Compliance instrument specific When the drift mode is first turned on the current list of laser lines is placed into the reference All subsequent measurements take the new data subtract the reference data and display the differences in wavelengths and powers The CALC3 DATA query returns the power and frequency of the current measurement minus the power and frequency of the reference Note Only one STATe command can be turned on at any one time Attempting to turn more than one state on at a time results in a 221 Settings Conflict error Refer to Measure delta drift and signal to noise on page 4 15 for additional information on selectingmeasurements 5 58 Syntax Attribute Summary Description Syntax Attribute Summary Description Programming Commands CALCulate3 Subsystem POINts Queries the number of points in the data set CALCulate3 POINts Preset State unaffected by RST State unaffected by SCPI Compliance instrument specific Query Only The value returned is t
222. ngth 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_ope 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 7 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 4 38 Example Programs Delta_wl I NOT J 1 Delta_wl 1 1 0E 9 nm Absolute line level is Delta_pwr I NOT I 1 Delta_pwr 1 dBm PRINT USING 17A 2D 6A M4D 3D 23A 2D 6A S2D 2D 3A Delta W1 to line ie is Delta_wl I 1 NOT I 1 Delta wl 1 E 9 nm Delta Pwr to line J 1 j 1 Delta_pwr I 1 NOT I 1 Delta _pwr H1 Delta pwr l dB
223. nsitions from false to true This is a positive transition You can also specify a negative transition where the bit is set when the condition transitions from true to false 4 18 not used not used not used POWer not used not used not used not used not used Maximum Signals Drift Reference Delta Reference not used not used Command Warning not used not used SETTling RANGing not used MEASuring not used not used not used not used Processing Hardcopy Averaging not used not used not used not used Operation Complete Request Control Query Error Device Dependent Error Execution Error Command Error User Request Power On QUEStionable Status 0 1 2 3 4 5 6 7 8 9 Standard Event Status Register NOORWNH O Programming Monitoring the Instrument Error Event Status Byte NOOR WN OO status 4 19 Programming Monitoring the Instrument Table 4 3 Bits in Operation Status Register Bit Definition 0 not used 1 SETTling indicating that the instrument is waiting for the motor to reach the proper position before beginning data acquisition 2 RANGing indicating the the instrument is currently gain ranging 3 not used 4 MEASuring indicating that the instrument is making a measurement 5 through 8 not used 9 Processing indicating that the instrument is currently processing the data acquired 10 Hardcopy indicating that the instrument is currently prin
224. of the input signal I STATus Subsystem STATus OPERation QUEStionable CONDition Returns the value for the condition register for the node S STATus OPERation QUEStionable EVENt Returns the value of the event register for the node S 4 47 Lists of Commands Table 4 7 Programming Commands 5 5 Command Description Code Codes S indicates a standard SCPI command I indicates an instrument specific command STATus OPERation QUEStionable ENABle Sets the enable register S STATus OPERation QUEStionable PTRansition Sets the positive transition filter register S STATus OPERation QUEStionable NTRansition Sets the negative transition filter register S STATus PRESet Presets the enable registers for all status nodes S SYSTem Subsystem SYSTem ERRor Queries an error from the error queue S SYSTem HELP HEADers Queries an ASCII listing of all Agilent 86060C remote I commands SYSTem PRESet Performs the equivalent of a front panel PRESET key press S SYSTem VERSion Queries the version of SCPI with which this instrument is S compliant TRIGger Subsystem ABORt Stops the current measurement sequence S INITiate IMMediate Places the instrument into the initiated state and initiates a new S measurement sequence iTNTTiate CONTinuous Sets the instrument for single or continuous measurement S UNIT Subsystem UNIT POWer Sets the power units to watts linear or dBm logarithmic S 4 48
225. oing any of the performance tests Calibration Cycle This instrument requires periodic verification of performance The instrument should have a complete verification of specifications once every two years 6 2 Description CAUTION Procedure Performance Tests Test 1 Absolute Wavelength Accuracy Test 1 Absolute Wavelength Accuracy Wavelength accuracy is verified using traceable light sources such as the following devices Stable lasers Gas lamps HeNe gas lasers Do not exceed 18 dBm source power The Agilent 86060C s input circuitry can be damaged when total input power exceeds 18 dBm Use three or four light standards that cover the Agilent 86060C s wavelength range Connect the traceable sources to the Agilent 86060C and verify that the Agilent 86060C is reading the sources to within the absolute wavelength accuracy specification 6 3 Description CAUTION Procedure Performance Tests Test 2 Sensitivity Test 2 Sensitivity Sensitivity is verified using the following devices Optical power meter Optical attenuator 1310 nm and 1550 nm lasers gt 0 dBm output power Do not exceed 18 dBm source power The Agilent 86060C s input circuitry can be damaged when total input power exceeds 18 dBm Perform the following procedure first using the 1310 nm laser and then repeat the steps using the 1550 nm laser 1 Connect the laser s output to the optical attenuator s input
226. ommand 5 35 5 47 5 51 5 52 5 53 5 54 5 55 5 57 5 58 5 63 5 67 status byte register 5 12 reporting 4 17 STATus subsystem 5 74 STB 5 12 STD AIR 1 11 2 27 2 26 subsystems 4 24 syntax rules 4 24 4 28 SYSTem subsystem 5 79 T Tempo subroutine 4 30 THRSHLD 2 19 THZ 2 14 transient data 4 11 TRG 5 13 trigger ignore 8 13 TRIGger subsystem 5 84 TST 5 13 U UNIT subsystem 5 86 UNITS 2 13 p arrow 2 6 PDATE 2 14 ppercase letters 4 25 SER WL 3 6 SER 3 6 W 2 14 cc eect V VACuum programming command 5 72 VACUUM 1 11 2 27 VAC 2 26 VERSion programming command 5 83 4 W WAI 5 14 WAVelength programming command 5 21 5 49 5 62 WDM 2 20 2 22 white space characters 4 26 WLLIM 1 12 2 8 WLREF WLIMit programming command 5 36 5 37 5 39 5 40 5 41 5 42 WL 2 14 WNUMber programming command 5 23 5 50 5 63 2 4 2 6 2 15 1 20 HP IB TMT 7 3 3 12 3 14 vi 1 9 1 20
227. ommand with an OPC query and an ENTER statement the program will pause until the response ASCII 1 is returned by the instrument Be sure the computer s timeout limit is at least two seconds since some of the Agilent 86060C commands take approximately one second to complete OUTPUT 720 OPC ENTER 720 Op RCL This command recalls a saved instrument state RCL lt integer gt lt integer gt range is 1 to 4 For a description of an instrument state see SAV command 5 7 Syntax Description Syntax Description Programming Commands Common Commands RST The RST reset command returns the Agilent 86060C to a known condition RST For a listing of reset conditions refer to the following table This command cannot be issued as a query Since this command places the instrument in single measurement acquisition mode any current data is marked as invalid and a measurement query such as FETCh results in error number 230 Data corrupt or stale You must initiate a new sweep with INIT IMM before you can use the FETCh command SAV This command saves an instrument state SAV lt integer gt lt integer gt range is 1 to 4 The following constitutes an instrument state single continuous measurement mode power bar on off vacuum STD air mode normal fast update list by WL list by Pwr peak or avg display mode frequency units power units elevation peak
228. play is in the List by WL mode it will be changed to List by Ampl before the marker is moved MARKer MAXimum PREVious Moves the marker to the laser line that has the next higher power level DISPlay MARKer MA Ximum PREVious Preset State marker set to maximum power laser line RST State marker set to maximum power laser line SCPI Compliance instrument specific Command Only If the display is in the List by WL mode it will be changed to List by Ampl before the marker is moved MARKer MAXimum RIGHt Moves the marker right to the next laser line DISPlay MARKer MA Ximum RIGHt Preset State marker set to maximum power laser line RST State marker set to maximum power laser line SCPI Compliance instrument specific Command Only 5 66 Description Syntax Attribute Summary Description Programming Commands FETCh Measurement Instruction Moves the marker from the current marker position to the next laser line having the following characteristic longer wavelength higher frequency higher wave number If the display is in the List by Ampl mode it will be changed to List by WL before the marker is moved WINDow GRAPhics STATe Turns on and off the display of the power bars DISPlay WINDow GRAPhics STATe ON OFF 1 0 Preset State on RST State on SCPI Compliance standard Specifying on displays the power bars in all modes except the drift and signal to noise modes Specify
229. ple programs 4 29 increase source accuracy 4 42 measure DFB laser 4 31 measure SN ratio 4 40 measure WDM channel drift 4 35 measure WDM channel separation 4 38 measure WDM channels 4 33 F fast fourier transform 5 29 FAST 2 14 4 10 5 73 FETCh measurement instruction 5 15 FNidentity function 4 30 FREQuency programming command 5 19 5 48 5 61 H HCOPy subsystem 5 68 HELP HEADers programming command 5 80 Agilent 8167A 4 42 Agilent 8168B 4 42 Agilent 8168C 4 42 HP BASIC 4 2 4 29 HP IB address 4 3 address changing from front panel 4 3 address default 4 3 softkey 4 3 HPA Z 4 A 8 17 IDN 4 30 5 6 IEC Publication 1010 vi IEEE 488 2 standard 4 2 IMMediate programming command 5 68 5 85 initializing the instrument 4 4 INIT 8 13 INPUT v L LEFT programming command 5 65 LIM OFF 1 12 2 8 LIM ON 1 12 2 8 LINE 1 8 List by Power mode 4 10 2 7 3 10 8 5 List by WL mode 4 10 2 6 2 6 3 10 8 5 LOCAL softkey 4 3 long form commands 4 24 2 lowercase letters 4 25 M MAGNitude programming command 5 72 MAX NUMBER OF SIGNALS FOUND 2 19 MAX MIN 3 10 MAXimum programming command 5 65 MEASure measurement instruction
230. pply when the device is set to NARRow Specifications do not apply in BROad mode The query form returns the previously selected device NARRow 5 70 Syntax Attribute Summar Description Querry Response Programming Commands SENSe Subsystem CORRection ELEVation Sets the elevation value used by the instrument to compensate for air dispersion SENSe CORRection ELEVation lt integer gt MINimum MAXimum lt integer gt is the altitude in meters Constant Description MINimum 0m MAXimum 5000 m Non sequential command Preset State unaffected by RST sets this value to the minimum SCPI Compliance instrument specific Changing the elevation value causes the current data to be reprocessed The query form returns the current elevation setting as shown in the following example 1500 Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 71 Syntax Attribute Summary Description Syntax Attribute Summary Programming Commands SENSe Subsystem CORRection MEDium Sets the Agilent 86060C to return wavelength readings in a vacuum or standard air SENSe CORRection MEDium AIR VACuum Argument Description AIR Selects wavelength valu
231. r requesting service When you read the status byte register the value returned is the total of the bit weights of all of the bits set to one at the time you read the byte The following table shows each bit in the status byte register and its bit weight The STB query does not affect the contents of the status byte register Table 5 6 Status Byte Register Bit Bit Weight Condition 7 128 Not Used 6 64 Master Summary Status MSS 5 32 Event Status Bit ESB 4 16 Message Available MAV 3 8 Not Used 2 4 Error queue status 1 2 Not Used 0 1 Not Used lt integer gt from 0 to 255 OUTPUT 720 STB ENTER 720 Value PRINT Value 5 12 Syntax Description Example Syntax Description Query Response Example Programming Commands Common Commands TRG The TRG trigger command is identical to the group execute trigger GET message or RUN command TRG This command acquires data according to the current settings This command cannot be issued as a query If a measurement is already in progress a trigger is ignored and an error is generated The following example starts the data acquisition according to the current settings OUTPUT 720 TRG TST The TST test query starts a self test on the instrument TST The result of the test is placed in the output queue A zero indicates the test passed and a non zero value indicates the test failed The instrument will init
232. ressed Turned On Wavelength units nm last state Amplitude units dBm last state Power offset 0 dB last state Peak threshold 10 dB last state Peak excursion 15 dB last state Measurement speed normal last state Device bandwidth narrowband last state Drift measurements off off Coherence length measurements off off Delta Measurements A power off off A wavelength off off A wavelength and power off off reference signal position 700 nm 700 nm Signal to Noise Measurements measurement off off wavelength reference auto last state user wavelength not affected last state number of averages 100 last state HP IB address not affected last state Power bar display on last state a The term last state refers to the last setting that this parameter was in before the instrument power was turned off 5 82 Programming Commands SYSTem Subsystem VERSion Queries the version of SCPI that the Agilent 86060C complies with Syntax SYSTem VERSion Attribute Summary Preset State none RST State none SCPI Compliance standard Query Only Description The SCPI version used in the Agilent 86060C is 1995 0 Table 5 9 SCPI Version Numbers SCPI Version Instrument Serial Prefix 1995 0 US3545 and above 5 83 Syntax Attribute Summary Description Programming Commands TRIGger Subsystem TRIGger Subsystem The SCPI definition defines the TRIGger subsystem to include ABORt ARM INITiate and TRIGger commands
233. ro hibited except as allowed under copyright laws Agilent Part No 86120 90036 Printed in USA 1999 1 Hewlett Packard Company Lightwave Operations 1400 Fountaingrove Park way Santa Rosa CA 95403 1799 USA 707 577 1400 Notice The information contained in this document is subject to change without notice Companies names and data used in examples herein are fictitious unless otherwise noted Hewlett Packard makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantabil ity and fitness for a particu lar purpose Hewlett Packard shall not be liable for errors contained herein or for incidental or conse quential damages in connec tion with the furnishing performance or use of this material Restricted Rights Legend Use duplication or disclo sure by the U S Govern ment is subject to restrictions as set forth in subparagraph c 1 Gi of the Rights in Technical Data and Computer Software clause at DFARS 252 227 7013 for DOD agencies and subparagraphs c 1 and c 2 of the Commercial Com puter Software Restricted Rights clause at FAR 52 227 19 for other agen cies Warranty This Hewlett Packard instrument product is war ranted against defects in material and workmanship for a period of one year from date of shipment During the warranty period Hewlett Packard Company will at its option either
234. s Subsystem 5 74 SYSTem Subsystem 5 79 TRIGger Subsystem 5 84 UNIT Subsystem 5 86 Programming Commands Programming Commands Programming Commands Programming Commands This chapter is the reference for all Agilent 86060C programming commands Commands are organized by subsystem Table 5 1 Notation Conventions and Definitions Convention Description lt gt Angle brackets indicate values entered by the programmer Or indicates a choice of one element from a list Square brackets indicate that the enclosed items are optional When several items are enclosed by braces one and only one of these elements must be selected lt integer gt An ASCII string representing an integer This is defined by the IEEE 488 2 lt NR1 gt format lt real gt An ASCII string representing a real number This is defined by the IEEE 488 2 lt NR2 gt or lt NRf gt formats 5 2 Syntax Description Syntax Programming Commands Common Commands Common Commands Common commands are defined by the IEEE 488 2 standard They control generic device functions which could be common among many different types of instruments Common commands can be received and processed by the instrument whether they are sent over the HP IB as separate program messages or within other program messages CLS The CLS clear status command clears all the event status registers summarized in the status byte register
235. s 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 OUTPUT Mwm MEAS ARR POW WAV ENTER Mwm USING K Nb_pt ALLOCATE Current_wl 1 Nb_pt ENTER Mwm USING K Current_wl OUTPUT Mwm FETC ARR POW ENTER Mwm USING K Nb_pt ALLOCATE Current_pwr 1 Nb_pt ENTER Mwm USING K Current_pwr Turn signal to noise ratio on Cmd_opc CALC3 SNR STAT ON Err_mngmt CALC3 SNR STAT ON Set first wavelength as noise reference Cmd opc CALC3 SNR REF WAV MIN Err mngmt CALC3 SNR REF WAV MIN 7 Query number of data points OUTPUT Mwm CALC3 POIN ENTER Mwm USING K Nb_pt ALLOCATE Snr_pwr 1 Nb_pt Query signal to noise values OUTPUT Mwm CALC3 DATA POW ENTER Mwm Snr_pwr OFF TIMEOUT 4 40 Example Programs FOR F1 TO Nb pt PRINT USING 7A 2D 17A M4D 3D 25A S2D 2D 22A 2D 2D 3A Line I wavelength is Current_wl I 1 0E 9 nm absolute level is Current_pwr 1 dBm with a SNR of Snr_pwr D dB NEXT I STOP Error msg PRINT The program is aborted due to ERRM END Err mngmt SUB Err_mngmt OPTIONAL Cmd_msg COM Instrument Mwmt DIM Err_msg 255 INTEGER Cme CLEAR Mwm REPEAT OUTPUT Mwm ESR ENTER Mwm Cme OUTPUT Mwm SYST ERR ENTER Mwm Err_
236. s on the CALC2 DATA POW query returns the total power and the CALC2 DATA WAV FREQ or WNUM query returns the power weighted average wavelength frequency or wave number values Turning power weighted average mode on while making delta coherence length or signal to noise measurements results in a 221 Settings conflict error WLIMit STATe Limits input wavelength range of the Agilent 86060C CALCulate2 WLIMit STATe ON OFF 1 0 Non sequential command Preset State on RST State on SCPI Compliance instrument specific When this function is on the Agilent 86060C has an input range from the WLIMit STARt to the WLIMit STOP When this function is off the instrument displays peaks over the full wavelength range If you want to measure signals over a narrower wavelength range set this function on to avoid identifying spurious second harmonic peaks Whenever the Agilent 86060C receives this command it reprocesses the data and performs a new peak search Non sequential command Always use an OPC query or a WAI command to ensure that this command has the time to complete before sending any more commands to the instrument Refer to Always force the Agilent 86060C to wait for non sequential commands on page 4 13 for more information 5 36 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem WLIMit STARt FREQuency Sets the starting frequency
237. signal to noise measurements CALCulate3 DATA POWer FREQuency WAVelength WNUMber Argument Description POWer Queries the array of laser line powers after the calculation is completed FREQuency Queries the array of laser line frequencies after the calculation is completed WAVelength Queries the array of laser line wavelengths after the calculation is completed WNUMber Queries the array of laser line wave numbers after the calculation is completed Preset State not affected SCPI Compliance standard Query Only The data returned by the query depends upon which calculation state is on If no calculation state is on an error is generated The returned data is comma delimited The following string is a typical example of six values returned when POWer is specified from a delta power measurement 7 42833100E 000 1 00087200E 000 2 52121400E 000 3 41918900E 000 3 80437200E 000 6 36282900E 000 Notice that only measurement values are returned to the computer There is no first value that indicates the number of values contained in the string as there is for example with the FETCh READ and MEASure commands Use the CALC3 POIN query to determine the number of points the CALC3 DATA query returns In the SNR or ASNR calculation only the POWer argument is valid The other arguments will generate a Settings conflict error Use the CALC2 DATA query to retrieve the signal wavelengths and powers 5 46 Syntax
238. sion PK THLD CALCulate2 PTHReshold POWER UNIT POWer Preset SYSTem PRESet PREV PK DISPlay MARKer MA Ximum PREVious PREV WL DISPlay MARKer MA Ximum LEFT Print HCOPy IMMediate PWR BAR See BAR ON and BAR OFF PWR OFF SENSe CORRection OFFSet MAGNitude RESET CALCulate3 DRIFt REFerence RESet S N CALCulate3 SNR STATe S N AVG CALCulate3 ASNR STATe SELECT CONFigure PO Wer 4 50 Lists of Commands Table 4 8 Keys Versus Commands 3 3 Key Equivalent Command Setup See CAL UNITS and UPDATE Single HINTTiate CONTinuous OFF START WL CALCulate2 WLIMit STARt STOP WL CALCulate2 WLIMit STOP STD AIR SENSe CORRection MEDium AIR THRSHLD See PK EXC and PK THLD THZ MEASure ARRay POWer FREQuency UNITS UNIT POWer UPDATE Measurement Instructions and CALCulate1 TRANsform FREQuency POINts USER CALCulate3 SNR AUTO OFF USER WL CALCulate3 SNR REFerence WAVelength UW UNIT POWer VACUUM SENSe CORRection MEDium VACuum WL See CM NM and THZ WL LIM CALCulate2 WLIMit STATe WL REF See AUTO USER and USER WL 4 51 Lists of Commands 4 52 Common Commands 5 3 Measurement Instructions 5 15 CALCulate1 Subsystem 5 26 CALCulate2 Subsystem 5 31 CALCulate3 Subsystem 5 43 CONFigure Measurement Instruction 5 64 DISPlay Subsystem 5 64 FETCh Measurement Instruction 5 67 HCOPy Subsystem 5 68 MEASure Measurement Instruction 5 68 READ Measurement Instruction 5 69 SENSe Subsystem 5 69 STATu
239. t special incidental or consequential damages whether based on contract tort or any other legal the ory it H cs FT M Sacer eke rere Ing Si ak a hig CE ISM1 A
240. th a SCALar command a single value is returned The display is placed in the single wavelength mode and the marker is placed on the signal having a power level that is closest to the lt expected_value gt parameter When used with an ARRay command an array of amplitudes is returned The display is placed in the list by power mode Returned values are in the current power units Wavelength units are not affected CONFigure command When this function is used with the CONFigure command the query question mark character must not be included in the string However the FETCh READ and MEASure command are queries and require the question mark Refer to the examples for this command MAXimum Displays the highest power signal MINimum Displays the lowest power signal DEFault Displays the signal at the current marker position CONF ARR POW FETC ARR POW READ ARR POW MEAS ARR POW CONE SCAL POW 10 dBm FETC SCAL POW MAX READ SCAL POW MIN MEAS SCAL POW DEF Query Response Programming Commands Measurement Instructions The following line is an example of a returned string when MEAS SCAL POW MAX is sent 5 88346500E 000 If six laser lines are located and MEAS ARR POW is sent the following string could be returned Notice that the first returned number indicates the number of laser line values returned in the query The measurement units are in dBm 6 1 37444400E 001 1 10996100E 001 9 62
241. the Agilent 86060C is set for FAST measurement update mode low resolution 4 268 values are returned The commands in this subsystem have the following command hierarchy CALCulate1 DATA TRANsform FREQuency POINts 5 26 Syntax Attribute Summary Description Programming Commands CALCulate1 Subsystem DATA Queries uncorrected frequency spectrum data of the input laser line CALCulatel DATA Preset State not affected SCPI Compliance standard Query Only The returned values are in squared Watts linear units No amplitude or frequency correction is applied to the values To obtain the logarithmic dB result normalize the returned values by the largest value then take five times the logarithm of the returned values Be prepared to process a large amount of data when this query is sent The amount of data returned depends on the measurement update state of the instrument which can be set using the CALCulate1 TRANsform FREQuency POINts command or the resolution argument of an instrument function Refer to Measurement Instructions on page 5 15 When NORMAL measurement update is specified over 580 kilobytes of data 34 123 values can be returned to the computer When FAST measurement update is specified over 72 kilobytes of data 4 268 values can be returned The following string is a typical example of the first few returned values 4 02646500E 001 6 78125100E 001 6 17986600E 001 4 267682
242. ting the data to the parallel port 11 Averaging indicating that the instrument is in the process of averaging the noise for the signal to noise ratio calculation 12 through 16 not used Standard Event Status register The Standard Event Status Register monitors the following instrument status events OPC Operation Complete RQC Request Control QYE Query Error DDE Device Dependent Error EXE Execution Error CME Command Error URQ User Request PON Power On When one of these events occur the event sets the corresponding bit in the register If the bits are enabled in the Standard Event Status Enable Register the bits set in this register generate a summary bit to set bit 5 ESB in the Status Byte Register 4 20 Programming Monitoring the Instrument Table 4 4 Bits in Questionable Status Register Bit Definition 0 1 and 2 not used 3 POWer indicating that the instrument is measuring too high of a power 3 through 8 not used 9 Maximum signals indicating that the instrument has found the maximum number of signals 10 Drift Reference indicating that the number of reference signals is different from the current number of input signals 11 Delta Reference indicating that there is no delta reference signal 12 through 13 not used 14 Command Warning indicating that the instrument has received some extra unexpected parameters for one of the measurement functions 15 not used
243. umber of points the CALC2 DATA query will return The following string is a typical example of the first few returned values returned when WAVelength is specified 1 54488600E 006 1 54649100E 006 1 54808300E 006 1 54969600E 006 1 55131200E 006 1 55293000E 006 This next string resulted by specifying the WNUMber argument 6 47296600E 005 6 46625000E 005 6 45959900E 005 6 45287500E 005 6 446155 00E 005 6 43943900E 005 Notice that only measurement values are returned to the computer There is no first value that indicates the number of values contained in the string as there is for example with the FETCh READ and MEASure commands When there is no input signal the POWer query returns 200 dBm the WAVelength query returns 100 nm 1 0E 7 5 32 Syntax Attribute Summary Description Programming Commands CALCulate2 Subsystem PEXCursion Sets the peak excursion limit used by the Agilent 86060C to determine valid laser line peaks CALCulate2 PEXCursion lt integer gt MINimum MAXimum DEFault lt integer gt represents logarithmic units in dB Valid range is 1 to 30 dB Constant Description MINimum 1 dB MAXimum 30 dB DEFault 15 dB Non sequential command Preset State 15 dB RST State 15 dB SCPI Compliance instrument specific A laser line is identified as a valid peak if its amplitude is greater than the peak excursion plus the amplitudes of the closest local minima on either si
244. will need to monitor the Agilent 86060C for its operating status This includes querying execution or command errors and determining whether or not measurements have been completed Several status registers and queues are provided to accomplish these tasks In this section you ll learn how to enable and read these registers In addition to the information in this section you should review the commands documented in Common Commands on page 5 3 and STATus Subsystem on page 5 74 Status registers The Agilent 86060C provides four registers which you can query to monitor the instrument s condition These registers allow you to determine the following items Status of an operation Availability of the measured data Reliability of the measured data All three registers are shown in the figure on the following page and have the following uses Register Definition Status Byte Monitors the status of the other three regis ters Standard Event Status This is the standard IEEE 488 2 register Contains bits which indicate the status of the other two registers OPERation Status Contains bits that report on the instrument s normal operation QUEStionable Status Contains bits that report on the condition of the signal Programming Monitoring the Instrument Status Byte register The Status Byte Register contains summary bits that monitor activity in the other status registers and queues The Status Byte Register s bits
Download Pdf Manuals
Related Search
Related Contents
Westinghouse W-015 User's Manual Hans Grohe 32110XX1 Plumbing Product User Manual (Microsoft PowerPoint - sess\343o t\351cnica 2009) 陸 上 自 衛 隊 仕 様 書 DIRECTION DES ENTREPRISES, DE LA CONCURRENCE, DE 関電SOS ホーム・アイ for eo 利用規約 株式会社関電セキュリティ・オブ Carbon monoxide kills RoboteQ AX1500 Computer Hardware User Manual Copyright © All rights reserved.
Failed to retrieve file