Agilent 86038A Optical Dispersion Analyzer User's Guide

Size: px
Start display at page:

Download "Agilent 86038A Optical Dispersion Analyzer User's Guide"

Transcription

1 Agilent 86038A Optical Dispersion Analyzer User's Guide Agilent Technologies

2 Notices Agilent Technologies, Inc This document contains proprietary information that is protected by copyright. All rights are reserved. No part of this document may repro duced in (including electronic storage and retrieval or translation into a for eign language) without prior agree ment and written consent from Agilent Technologies GmbH as governed by United States and international copyright laws. Agilent Technologies Deutschland GmbH Herrenberger Str Böblingen Germany Manual Part Number Edition Third edition, December 2004 Second edition, January 2003 First edition, October 2002 Warranty This Agilent Technologies instrument product is warranted against defects in material and workmanship for a period of one year from date of shipment. During the warranty period, Agilent will, at its option, either repair or replace products that prove to be defective. For warranty service or repair, this product must be returned to a service facility designated by Agilent. Buyer shall prepay shipping charges to Agilent and Agilent shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping charges, duties, and taxes for products returned to Agilent from another country. Agilent warrants that its software and firmware designated by Agilent for use with an instrument will execute its programming instructions when properly installed on that instrument. Agilent does not warrant that the operation of the instrument, 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 software or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or improper site preparation or maintenance. No other warranty is expressed or implied. Agilent Technologies specifically disclaims the implied warranties of Merchantability and Fitness for a Particular Purpose. Exclusive Remedies The remedies provided herein are Buyer's sole and exclusive remedies. Agilent Technologies shall not be liable for any direct, indirect, special, incidental, or consequential damages whether based on contract, tort, or any other legal theory. Assistance Product maintenance agreements and other customer assistance agreements are available for Agilent Technologies products. For any assistance contact your nearest Agilent Technologies Sales and Service Office. Certification Agilent Technologies Inc. certifies that this product met its published specifications at the time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology, NIST (formerly the United States National Bureau of Standards, NBS) to the extent allowed by the Institutes s calibration facility, and to the calibration facilities of other International Standards Organization members. ISO 9001 Certification Produced to ISO 9001 international quality system standard as part of our objective of continually increasing customer satisfaction through improved process control. Safety Notices CAUTION A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly per formed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met. WARNING A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly per formed or adhered to, could result in personal injury or death. Do not proceed beyond a WARNING notice until the indicated conditions are fully understood and met.

3 Warnings and Notices WARNING To avoid the possibility of injury or death, you must observe the following precautions before switching on the instrument. Insert the power cable plug only into a socket outlet provided with a pro tective earth contact. Do not negate this protective action by the using an extension cord without a protective conductor. WARNING Never look directly into the end of a fiber or a connector, unless you are absolutely certain that there is no signal in the fiber. Agilent 86038A Optical Dispersion Analyzer, Third Edition

4 Agilent Technologies Sales and Service Offices For more information about Agilent Technologies test and measurement products, applications, services, and for a current sales office listing, viesit our web site: You can also contact one of the following centers and ask for a test and measurement sales representative. United States: (FAX) Canada: ( (FAX) Europe: (31 20) (31 20) (FAX) Japan: (FAX) Mexico (52 55) (52 55) (FAX) Australia: (FAX) Asia-Pacific: (FAX) Brazil (55 11) (55 11) (FAX) Agilent 86038A Optical Dispersion Analyzer, Third Edition

5 Contents Getting Started 9 Introduction 10 General Safety Considerations 11 Setting Up the Optical Dispersion Analyzer 16 Performance Verification 20 Navigating the Front Panel Functions 26 Quick Setup Procedure 30 Measurement Concepts 31 Introduction 32 Understanding the Attributes Being Measured 33 Description of the 86038A 41 Making Measurements 59 Introduction 60 Quick Setup Measurement Process 61 Flexible Measurement Process 62 Setup Parameters and What They Do 63 Choosing Setup Parameters for Your Device 65 Narrowband Filter Measurement 72 Fiber Measurement 77 Function Reference 87 Introduction 88 File Menu 89 View Menu 90 System Menu 91 Agilent 86038A Optical Dispersion Analyzer, Third Edition 5

6 Setup Menu 97 Measure Menu 107 Display Menu 111 Navigating the Front Panel 121 Toolbar Functions 122 Remote Operation 125 Overview 126 Recommended Control Sequence 130 Front Panel Maps 147 Example 1: Simple Application for Controlling the ODA 154 Example 3: Control from LabView 185 Example 4: Complete application - RepeatMeas 186 Programming Commands 191 ODA Remote Programming 192 Server to Client Events 193 Client to Server Commands 198 Base Commands 201 Troubleshooting and Upgrades 253 Introduction 254 Troubleshooting Startup Problems 255 Troubleshooting GPIB Communications Problems 257 Troubleshooting Problems with Remote Programming 261 Troubleshooting Sweep and Normalization Problems 262 Troubleshooting Incorrect Data 263 Troubleshooting the TLS 265 Solving Measurement Problems 266 Software Upgrade Procedure 270 Hard Drive Backup and Recovery Agilent 86038A Optical Dispersion Analyzer, Third Edition

7 Cleaning Connections for Accurate Measurements 272 Returning the Instrument for Service 282 Specifications and Regulatory Information 283 Introduction 284 Angled Connector Specifications 285 Specifications 286 Regulatory Information 290 Declaration of Conformity 291 Glossary 293 Dispersion Terminology 294 Index 301 Agilent 86038A Optical Dispersion Analyzer, Third Edition 7

8 8 Agilent 86038A Optical Dispersion Analyzer, Third Edition

9 1 Getting Started Introduction General Safety Considerations Setting Up the Optical Dispersion Analyzer Agilent 86038A Front and Rear Panels Performance Verification Navigating the Front Panel Functions Defining Traces Quick Setup Procedure Agilent 86038A Optical Dispersion Analyzer, Third Edition 9

10 Getting Started Introduction Introduction The 86038A optical dispersion analyzer (ODA) is designed to take you into the future of optical dispersion measurements. It is designed specifically for the development of a wide range of devices including DWDM components, dispersion compensating gratings, optical fiber, amplifiers, and systems. Key benefits are: Simultaneous PMD, CD, GD, PDL, and IL measurements with a single connection and single setup reduces measurement time and test uncertainness. Excellent group delay repeatability, differential group delay accuracy, gain/loss accuracy, and wavelength accuracy. Refer to Chapter 8, Specifications and Regulatory Information. Extremely high speed swept measurements: CD and IL measurements of 1601 wavelength points can be obtained in less than 10 seconds. CD measurements are automatically corrected for PMD artifacts. Two port DUT testing allows simultaneous testing of two devices, two ports of the same DUT, or simultaneous transmission and reflection measurements that increase throughput. Wider operating wavelength range: 1260 to 1640 nm (O to L band) Specified operation: 1510 to 1620 nm Dynamic drift reduction provides excellent stability and accuracy when the environmental conditions of the room or the test device are gradually changing. Automatic modulation frequency selection saves measurement time by automatically choosing the best modulation frequency and avoiding phase wrap errors for fiber test. External CDRW drive allows you to easily store data. NOTE To get the most performance out of your ODA, it is recommended that you read Chapter 2, Measurement Concepts, Chapter 3, Making Measurements, and Chapter 4, Function Reference. These three chapters cover the linkages between the different measurements that can be made, specific devices being measured, and the setup parameters used to make the measurements. Proceed to Setting Up the Optical Dispersion Analyzer on page 16 for complete installation instructions. 10 Agilent 86038A Optical Dispersion Analyzer, Third Edition

11 General Safety Considerations Getting Started General Safety Considerations This product has been designed and tested in accordance with the standards listed on the Manufacturer s Declaration of Conformity, and has been supplied in a safe condition. The documentation contains information and warnings that must be followed by the user to ensure safe operation and to maintain the product in a safe condition. Safety Symbols CAUTION The caution sign denotes a hazard. It calls attention to a procedure which, if not correctly performed or adhered to, could result in damage to or destruction of the product. Do not proceed beyond a caution sign until the indicated conditions are fully understood and met. WARNING The warning sign denotes a hazard. It calls attention to a procedure which, if not correctly performed or adhered to, could result in injury or loss of life. Do not proceed beyond a warning sign until the indicated conditions are fully understood and met. Agilent 86038A Optical Dispersion Analyzer, Third Edition 11

12 Getting Started General Safety Considerations Instrument Markings The instruction manual symbol. The product is marked with this warning symbol when it is necessary for the user to refer to the instructions in the manual. The laser radiation symbol. This warning symbol is marked on products which have a laser output. The AC symbol is used to indicate the required nature of the line module input power. The ON symbols are used to mark the positions of the instrument power line switch. The OFF symbols are used to mark the positions of the instrument power line switch. The CE mark is a registered trademark of the European Community. The CSA mark is a registered trademark of the Canadian Standards Association. The C-Tick mark is a registered trademark of the Australian Spectrum Management Agency. ISM1-A This text denotes the instrument is an Industrial Scientific and Medical Group 1 Class A product. 12 Agilent 86038A Optical Dispersion Analyzer, Third Edition

13 General Safety Considerations Getting Started WARNING If this product is not used as specified, the protection provided by the equipment could be impaired. This product must be used in a normal condition (in which all means for protection are intact) only. WARNING No operator serviceable parts inside. Refer servicing to qualified service personnel. To prevent electrical shock do not remove covers. WARNING This is a Safety Class 1 Product (provided with protective earth). The mains plug shall only be inserted in a socket outlet provided with a protective earth contact. Any interruption of the protective conductor inside or outside of the instrument is likely to make the instrument dangerous. Intentional interruption is prohibited. WARNING To prevent electrical shock, disconnect the instrument from mains before cleaning. Use a dry cloth or one slightly dampened with water to clean the external case parts. Do not attempt to clean internally. CAUTION This product complies with overvoltage Category II and Pollution Degree 2. CAUTION Do not use too much liquid in cleaning the Optical Spectrum Analyzer. Water can enter the front-panel keyboard, damaging sensitive electronic components. Agilent 86038A Optical Dispersion Analyzer, Third Edition 13

14 Getting Started General Safety Considerations CAUTION VENTILATION REQUIREMENTS: When installing the product in a cabinet, the convection into and out of the product must not be restricted. The ambient temperature (outside the cabinet) must be less than the maximum operating temperature of the product by 4 C for every 100 watts dissipated in the cabinet. If the total power dissipated in the cabinet is greater than 800 watts, then forced convection must be used. CAUTION Install the instrument so that the detachable power cord is readily identifiable and is easily reached by the operator. The detachable power cord is the instrument disconnecting device. It disconnects the mains circuit from the mains supply before other parts of the instrument. The front panel switch is only a standby switch and is not a LINE switch. Alternatively, an externally installed switch or circuit breaker (which is readily identifiable and is easily reached by the operator) may be used as a disconnecting device. CAUTION Always use the three-prong AC power cord supplied with this instrument. Failure to ensure adequate earth grounding by not using this cord may cause instrument damage. CAUTION This instrument has autoranging line voltage input. Be sure the supply voltage is within the specified range. CAUTION Use of controls or adjustment or performance of procedures other than those specified herein may result in hazardous radiation exposure. 14 Agilent 86038A Optical Dispersion Analyzer, Third Edition

15 General Safety Considerations Getting Started Laser Safety Considerations NOTE Refer to the Tunable Laser Modules User s Guide for complete laser safety information. WARNING Do NOT, under any circumstances, look into the optical output or any fiber/device attached to the TLS output while the laser is in operation. This system should be serviced only by authorized personnel. Do not enable the laser unless fiber or an equivalent device is attached to the optical output connector. CAUTION Use of controls or adjustments or performance of procedures other than those specified herein can result in hazardous radiation exposure. Agilent 86038A Optical Dispersion Analyzer, Third Edition 15

16 Getting Started Setting Up the Optical Dispersion Analyzer Setting Up the Optical Dispersion Analyzer Depending on the options ordered, the 86038A ODA will be shipped in either four or five boxes. The contents of each box is: Fiberglass Case: Performance Network Analyzer/Test Set One BNC cable One GPIB cable (two, if system includes a wavelength meter) One 2-meter insulated fiber patchcord One 40-cm insulated fiber patchcord One parallel cable User s Guide System CD-ROM Accessories Box: Keyboard Mouse CDRW USB hub IVF reel TLS front cover TLS Mainframe Box TLS Module Box Wavelength Meter Box (optional) 1 Unpack your shipment. Inspect the shipping containers for damage. Inspect the instruments. Verify that you received the options and accessories that you ordered. Keep the shipping containers and cushioning material until you have inspected the contents of the shipment form completeness and have checked the ODA mechanically and electrically. If anything is missing or defective, contact your nearest Agilent Technologies sales office. If the shipment was damaged, contact the carrier, then contact the nearest Agilent Technologies sales office. Keep the shipping materials for repair of replacement. 16 Agilent 86038A Optical Dispersion Analyzer, Third Edition

17 Setting Up the Optical Dispersion Analyzer Getting Started CAUTION Fiber-Optic connectors are easily damaged when connected to dirty or damaged cables and accessories. When you use improper cleaning and handling techniques, you risk expensive instrument repairs, damaged cables, and compromised measurements. Before you connect any fiber-optic cable to the ODA, refer to Cleaning Connections for Accurate Measurements on page Install the TLS module into the mainframe by sliding the module in from the rear of the mainframe and tightening the four thumb screws on the rear panel. 3 Install the TLS front cover. CAUTION The PNA and test set are assembled as one unit.the combined weight of the performance network analyzer and test set is 35 kg (76 lbs). The removal of these instruments requires two persons using proper lifting techniques. 4 Place the performance network analyzer (PNA) and test set on top of the TLS mainframe. 5 On the rear panel, connect the cables as shown in Figure 2. 6 Connect the USB hub to the USB port. Connect the mouse and keyboard to the USB hub. (Alternately, you can connect either the keyboard or mouse to the USB port on the front panel.) 7 On the front panel, connect the 40 cm insulated patchcord between TLS Output 2 and the TLS Input as shown in Figure 1. 8 Turn on the PNA and TLS and allow the instruments to warm up for 90 minutes. For the Wavelength Meter Option Only 9 Place the 86122A multi-wavelength meter on top of the PNA. 10 Connect a GPIB cable from the 86122A to the GPIB port on either the PNA or TLS mainframe. 11 On the 86122A, press Setup > GPIB Setup and set the address to Connect a patchcord from the 86122A Optical Input to TLS Output Continue with Performance Verification on page 20. Agilent 86038A Optical Dispersion Analyzer, Third Edition 17

18 Getting Started Setting Up the Optical Dispersion Analyzer Agilent 86038A Front and Rear Panels Figure 1 Front Panel 18 Agilent 86038A Optical Dispersion Analyzer, Third Edition

19 Setting Up the Optical Dispersion Analyzer Getting Started Figure 2 Rear Panel Agilent 86038A Optical Dispersion Analyzer, Third Edition 19

20 Getting Started Performance Verification Performance Verification Purpose By performing the verification procedure upon delivery of the 86038A, you may have confidence that: The ODA is correctly connected The ODA was received in working order without damage due to shipment Additionally, you may perform this procedure periodically to verify that the system is still in good operating condition. By recording the results of this procedure, and tracking these results over time, you will be able to detect any changes that may affect the measurement results of the ODA. Methodology The verification device under test (DUT) is a 10 km spool of dispersionshifted fiber. It has an approximately quadratic group delay curve, which when differentiated gives a linear chromatic dispersion curve. Using a quadratic curve fit for the measured group delay, the 86038A estimates the wavelength for which the chromatic dispersion curve passes through zero or, zero-dispersion wavelength. The instrument setup used is meant to duplicate settings used by NIST to measure fiber verification spools. After completion of the on-site verification procedure, the results are compared against the data recorded at the factory. Specific parameters are specified to prove the relative group delay accuracy of the ODA. The measurement procedure requires 81600B-160 or 81600B-150 or 81600B-200 tunable laser installed. Things to Consider Dispersion measurements are very sensitive to temperature changes. Insure that the ODA has warmed up for at least 90 minutes. The verification DUT must also be allowed to reach ambient temperature for at least 60 minutes prior to measurement. Dirty connections will cause poor measurement quality. Be sure to clean all fiber ends, connectors, and test ports before making connections. Refer to Clean ing Connections for Accurate Measurements on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

21 Performance Verification Getting Started This procedure will take approximately 3 hours to complete (including the required 90 minute warm-up time). Allow enough time to fully complete the procedure. If you need assistance on navigating the front panel functions, refer to Navi gating a Setup Panel on page 27. Procedure On the front panel of the ODA, press Preset. Port 1 Stepped GD and Length Measurements 1 Load the setup file corresponding to the Port 1 Stepped measurement: a b c Press Recall. Browse to D:\ODA and click the file named IVF_PORT1_STEPPED.ODA. Click Recall. This will set the instrument to the following conditions: PDA enabled Table 1 Parameter Setting Path Dispersion Measurement Type GD/CD Stepped Setup > CD/PMD > Dispersion Measurement Type > GD/CD Stepped Length Mode Measure Setup > Length > Length Mode > Measure Index of Refraction n = Setup > Length > Length Mode > Index of refraction Measurement Port Port 1 Setup > Ports > Active Ports > Port 1 Start 1515 nm Setup > Meas Range > Start Stop 1580 nm Setup > Meas Range > Stop Normalization Settings Use Measurement Settings Setup > Norm Range > Use measurement settings Increment 1 nm Setup > Sens/Res > Resolution > Increment Modulation Frequency 2000 MHz Setup > Sens/Res > Resolution > RF Mod Freq IF Bandwidth 30 Hz Setup > Sens/Res > Sensitivity > IF Bandwidth Samples/Point 51 Setup > Sens/Res > Sensitivity > Samples/Point 2 Connect the ODA Source Output Port to ODA Optical Input Port 1 via the insulated 2-meter patch cord that shipped with your ODA. Agilent 86038A Optical Dispersion Analyzer, Third Edition 21

22 Getting Started Performance Verification 3 Normalize (about 17 minutes): a b Press Begin Norm. Ensure that the PDA check box is checked. c Ensure the active port is selected as Port 1. d Click Normalize to start the normalization. 4 Close the Normalization panel when normalization is complete. 5 Connect the verification DUT: a Disconnect the 2-meter patch cord from ODA Optical Input Port 1 b Insert the verification DUT by connecting one end to the 2-meter patch cord used during normalization using an FC/PC barrel adaptor (p/n ). c Connect the other end of the verification DUT to ODA Optical Input Port 1. 6 Measure the length of the verification DUT (about 7 minutes): a b Just above the Length Setup title bar, select Length-Port 1 from the dropdown list. Press Begin Length. The length will be shown as Length-1: nnnnn m where nnnnn is the verification DUT length in meters. c Compare the length measurement with the length measured at the factory. The measurement should match within ±5% of the factory measured value. Please note that this is not a specified measurement, but provided for your reference. 7 Measure the relative group delay of the verification DUT (about 3 minutes): Press Begin Meas. 8 Compare the Lambda-Zero to the value provided by the factory: a b c d Press Next Trace until the left measurement window is selected. Press Curve Fit to display the curve fit setup panel. The Algorithm field should be set to Quadratic. The Minimum Point number in the Equation window is the stepped Lambda- Zero. Compare this number to the result measured at the factory. The result should match within ±0.375 nm of the factory measured value. 9 Compare the Dispersion slope at Lambda-Zero to the value provided by the factory: a b c d Press Next Trace until the right measurement window is selected. Press Curve Fit to display the curve fit setup panel. The Algorithm field should be set to Sellmeier-5. The f (min) number in the Equation window is the stepped Dispersion Slope at Lambda-Zero. Compare this number to the result measured at the factory. The result should match within ±0.075 ps/nm 2 of the factory measured value. 22 Agilent 86038A Optical Dispersion Analyzer, Third Edition

23 Performance Verification Getting Started Port 1 Swept GD Measurement 1 On the front panel of the ODA, press Preset. 2 Press Recall and recall the state file D:\ODA\IVF_PORT1_SWEPT.ODA. This will set the instrument to the following conditions: 3 Connect the normalization patch cord: Table 2 Parameter Setting Path Dispersion Measurement Type GD/CD Swept Setup > CD/PMD > Dispersion Measurement Type > GD/CD Swept Measurement Port Port 1 Setup > Ports > Active Ports > Port 1 Start 1515 nm Setup > Meas Range > Start Stop 1580 nm Setup > Meas Range > Stop Normalization Settings Use Measurement Settings Setup > Norm Range > Use measurement settings Trace Points 1601 Setup > Sens/Res > Resolution > Trace Points Modulation Frequency 2000 MHz Setup > Sens/Res > Resolution > RF Mod Freq IF Bandwidth 30 Hz Setup > Sens/Res > Sensitivity > IF Bandwidth 4 Connect the ODA Source Output Port to ODA Optical Input Port 1 via the insulated 2-meter patch cord that shipped with your ODA. 5 Perform Normalization (about 1 minute). Ensure that the PDA Correction box is cleared. 6 Close the Normalization panel when normalization is complete. 7 Connect the verification DUT: a Disconnect the 2-meter patch cord at Optical Input Port 1. b Insert the verification DUT as done for the Port 1 Stepped measurement. 8 Press Begin Meas (about 1 minute). 9 Compare the Lambda-Zero to the value provided by the factory: The result should match within ±0.625 nm of the factory measured value. a b c d Press Next Trace until the left measurement window is selected. Press Curve Fit to display the curve fit setup panel. The Algorithm field should be set to Quadratic. The Minimum Point number in the Equation window is the swept Lambda- Zero. Compare this number to the result measured at the factory. 10 Compare the Dispersion slope at Lambda-Zero to the value provided by the factory: a Press Next Trace until the right measurement window is selected. Agilent 86038A Optical Dispersion Analyzer, Third Edition 23

24 Getting Started Performance Verification b c d Press Curve Fit to display the curve fit setup panel. The Algorithm field should be set to Sellmeier-5. The f (min) number in the Equation window is the swept Dispersion Slope at Lambda-Zero. Compare this number to the result measured at the factory. The result should match within ±0.125 ps/nm 2 of the factory measured value. Port 2 Stepped GD and Length Measurements 1 Press Recall to recall the state file D:\ODA\IVF_PORT2_STEPPED.ODA. 2 Repeat the Port 1 Stepped GD and Length Measurements procedure above, substituting Optical Input Port 2 where appropriate. Port 2 Swept GD Measurement 1 Press Recall to recall the state file D:\ODA\IVF_PORT2_SWEPT.ODA. 2 Repeat the Port 1 Swept GD Measurement procedure above, substituting Optical Input Port 2 where appropriate. Corrections Lambda-Zero The zero-dispersion wavelength of dispersion-shifted single-mode fiber has a temperature coefficient of approximately nm/ C. The fiber temperature at which the Factory Data measurements were performed is listed on the factory-provided data sheet. If the On-Site Verification is performed at a different temperature, use the following formula to adjust the post-installation results for comparison with the Factory Data. All temperatures are in degrees C. λ 0 (adjusted)= λ 0 (measured On-Site) 0.03 nm x (Temp: On-Site Temp: Factory) Dispersion Slope at Lambda-Zero The dispersion slope at the zero-dispersion wavelength, expressed in ps/nm 2, is approximately constant with temperature. Thus no temperature correction is necessary. 24 Agilent 86038A Optical Dispersion Analyzer, Third Edition

25 Navigating the Front Panel Functions Getting Started Navigating the Front Panel Functions There are two different ways to access the instrument settings: from the front panel keys or from the menu bar. The front panel keys are separated into groupings by a group name which corresponds to the display menu bar names. For example, the Setup group of front panel keys has the exact same functions as the Setup menu on the menu bar. Either access method can be used alone or in combination for any measurement. Agilent 86038A Optical Dispersion Analyzer, Third Edition 25

26 Getting Started Navigating the Front Panel Functions Figure A User Interface 26 Agilent 86038A Optical Dispersion Analyzer, Third Edition

27 Navigating the Front Panel Functions Getting Started Defining Traces The Define Trace function assigns a measurement on a specified port to a specific trace on the graph. Up to two measurement traces can be assigned to each of the four graphs. The following example will show you how to assign the CD trace and the DGD trace for Port 2. 1 From the Navigation area, press Change View until all four graphs are shown on the display. 2 From the Navigation area, press Next Trace until the desired graph and trace tab are highlighted (that is, shown in white). 3 From the Display area, press Define Trace. 4 In the Define Trace setup panel, select Port 2 and CD as the Measurement type. 5 From the Navigation area, press Next Trace to highlight the second trace tab on the graph. 6 In the Define Trace setup panel, select Port 2 and DGD as the measurement type. 7 Press Close to save the trace definitions. For each trace you can specify either Port 1 or Port 2 measurement traces and one of five measurement types. GD (Group Delay) CD (Chromatic Dispersion) DGD (Differential Group Delay) PDL (Polarization Dependant Loss) Gain Loss Select Active Trace From the Navigation area, press Next Trace until the desired graph and trace tab are highlighted (that is, shown in white). Toggling Between Graph Views From the Navigation area, press Change View until all four graphs are shown on the display. Navigating a Setup Panel Most front panel keys access a setup panel where additional parameters can be defined. Use the navigation keys (arrow keys) to move from field to field. When a text box is highlighted, you can enter a new value using the RPG knob or the numeric key pad. Agilent 86038A Optical Dispersion Analyzer, Third Edition 27

28 Getting Started Navigating the Front Panel Functions When a check box is highlighted, use the Select navigation key to toggle between states. When a drop-down list box is highlighted, press Select to open the list. Then, us the navigation keys to select the value. Press Select to choose the function. Tip: The Select navigation key works the same way as a mouse click. 28 Agilent 86038A Optical Dispersion Analyzer, Third Edition

29 Quick Setup Procedure Getting Started Quick Setup Procedure For your convenience, a quick setup feature has been included on the ODA. The Quick Setup key accesses a series of control panels that help you specify the basic settings needed for making a measurement. A measurement time estimation is provided so that you can trade off measurement time versus the measurement settings. The following procedure outlines the steps to make a precisely defined measurement. NOTE For experienced users, a detailed process can be used which provides more flexibility than the Quick Setup procedure. Refer to Flexible Measurement Process on page 62. To get the most performance out of your ODA, it is recommended that you read Chapter 2, Measurement Concepts, Chapter 3, Making Measurements, and Chapter 4, Function Reference. These three chapters cover the linkages between the different measurement that can be made, specific devices being measured, and the setup parameters used to make the measurements. Setup the Normalization Connect the patch cord for the normalization. Check the connections with the Real Time Port Monitor. Refer to Real-Time Port Monitor on page 94. Quick Setup Process On the front panel, press Quick Setup. Select DUT configuration and input ports. Choose which attributes to measure. Select stepped or swept mode. Set the measurement wavelength range. Set the resolution slider (lowest to highest resolution). Begin the Normalization Measurement Process Connect the DUT. Begin the Measurement. View the data and manipulate the display and markers. Smooth or curve fit the data as desired. Save the measurement and/or export the data. Agilent 86038A Optical Dispersion Analyzer, Third Edition 29

30 Getting Started Quick Setup Procedure 30 Agilent 86038A Optical Dispersion Analyzer, Third Edition

31 2 Measurement Concepts Introduction Understanding the Attributes Being Measured Gain/Loss Group Delay/Chromatic Dispersion Polarization Mode Dispersion/Differential Group Delay Polarization Dependent Loss (PDL) Fiber length Description of the 86038A Measurement Method Choosing Setup Parameters DUT Setup Configurations Normalization and Test Swept and Stepped Measurement Modes Agilent 86038A Optical Dispersion Analyzer, Third Edition 31

32 Measurement Concepts Introduction Introduction NOTE To get the most performance out of your ODA, it is recommended that you read Chapter 2, Measurement Concepts, Chapter 3, Making Measurements, and Chapter 4, Function Reference. These three chapters cover the linkages between the different measurements that can be made, specific devices being measured, and the setup parameters used to make the measurements. 32 Agilent 86038A Optical Dispersion Analyzer, Third Edition

33 Understanding the Attributes Being Measured Measurement Concepts Understanding the Attributes Being Measured The 86038A optical dispersion analyzer allows you to measure the following attributes: Gain/Loss Group Delay (GD) Chromatic Dispersion (CD) Differential Group Delay (DGD) Polarization Dependant Loss (PDL) Length This section will define each of these measurement attributes and provide some information of the mechanism that produce the effects. Agilent 86038A Optical Dispersion Analyzer, Third Edition 33

34 Measurement Concepts Understanding the Attributes Being Measured Gain/Loss Insertion Loss Insertion loss is a measure of the attenuation of the optical signal level with transmission through a two-port device. It is defined as 10 log (power in/power out) and is always a positive number. The mechanisms that produce insertion loss include simple absorptive effects as well as scattering and reflective effects. Tips on Measuring Insertion Loss (IL) For the most accurate IL measurements, normalize with the polarization scan ner running (GD/CD + DGD/PDL Stepped), using a 30 Hz IF bandwidth. This allows any DGD and PDL effects to be removed from the normalization. Refer to CD/PMD on page 97 and to Sensitivity/Resolution on page 101. When measuring ripple effects in either GD or IL, the step size and modulation frequency are each important. If the step size is too coarse, there is the risk of aliasing the ripple rate to appear at a longer period. Even when the step size is sufficiently small to avoid aliasing, the modulation frequency could be large enough to reduce the apparent peak-to-peak amplitude of the ripple. Gain Gain is a measure of the increase of optical signal level with transmission through the test device. It is defined as 10 log (power out/power in) and is always a positive number. In the field of lightwave telecommunications, gain is produced by technologies including doped fiber, semiconductor and Raman. The 86038A displays loss and gain within a single trace by representing loss with a positive sign and gain with a negative sign. This convention was selected because historically, the majority of the measurement applications have involved passive devices and fibers. 34 Agilent 86038A Optical Dispersion Analyzer, Third Edition

35 Understanding the Attributes Being Measured Measurement Concepts Group Delay/Chromatic Dispersion Mathematically, the group delay of a component, fiber or network is the derivative of optical phase of the transmitted signal with respect to optical frequency. More intuitively, group delay is the time required for information in a signal (that is, any specific point on the modulation waveform) to travel the length of the optical path. By contrast, the phase delay is the time required for a point on the unmodulated optical carrier wave to travel the length of the optical path. The 86038A measures the group delay, not the phase delay. The group delay of most optical fiber and devices varies with wavelength, a phenomenon referred to as chromatic dispersion. Mathematically, the chromatic dispersion is the second derivative of the optical phase with respect to optical frequency. In conventional terms, the chromatic dispersion at a given wavelength is simply the local slope of the curve of group delay versus wavelength, expressed in picoseconds per nanometer (ps/nm). In a non-dispersive medium the group delay curve is independent of wavelength and the group and phase delays are equal. The chromatic dispersion coefficient at a given wavelength is defined as the chromatic dispersion at that wavelength divided by the length of the fiber, expressed in ps/(nm x km). The zero-dispersion wavelength (usually called lambda zero) is the wavelength at which the slope of the group delay versus wavelength curve equals zero. The dispersion slope at lambda zero is in turn the slope of the dispersion curve at that wavelength. The slope at lambda zero is used by system designers to estimate the dispersion at wavelengths away from lambda zero. Tips on Measuring Group Delay (GD) In the swept mode, over-sampling the GD shape offers the possibility of using smoothing to reduce the noise. If sampling is marginal, then smoothing sacrifices information. For the most accurate GD measurements, normalize with the polarization scan ner running (GD/CD + DGD/PDL Stepped), using a 30 Hz IF bandwidth. This al lows any DGD and PDL effects to be removed from the normalization. Refer to CD/PMD on page 97 and to Sensitivity/Resolution on page 101. When making precision GD measurements, use the Real Time Port Monitor to verify GD drift before normalizing or measuring. Fiber connectors are a frequent cause of GD drift and must be clean to a much higher standard than commonly needed for fiber optic measurements of insertion loss. Fibers require protection from normal room air currents. Fibers need to be secured and allowed time to settle after handling. Refer to Real-Time Port Monitor on page 94. Agilent 86038A Optical Dispersion Analyzer, Third Edition 35

36 Measurement Concepts Understanding the Attributes Being Measured When measuring ripple effects in either GD or IL, the step size and modulation frequency are each important. If the step size is too coarse, there is the risk of aliasing the ripple rate to appear at a longer period. Even when the step size is sufficiently small to avoid aliasing, the modulation frequency could be large enough to reduce the apparent peak-to-peak amplitude of the ripple. Tips on Measuring Chromatic Dispersion (CD) The combination of moderate smoothing of both the GD trace and the CD trace may lower the CD trace noise and preserve the CD wavelength resolution better than smoothing the CD trace alone. Refer to Smooth on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

37 Understanding the Attributes Being Measured Measurement Concepts Polarization Mode Dispersion/Differential Group Delay The phenomenon of PMD was first observed in optical fiber. The term PMD refers to the overall process in which a lightwave decomposes into two differently polarized waves that travel with slightly different group delays. The attribute called differential group delay (DGD) is defined as the maximum group delay variation over all polarization states and is usually expressed in picoseconds (ps). It is one of two fundamental attributes used to describe first-order PMD. For most optical components, the maximum and minimum group delays at any given wavelength occur at orthogonal (opposite or non-interfering) polarization states. These are the 'modes' of polarization mode dispersion, the second fundamental attribute of PMD. Additional attributes apply to the PMD of optical fiber. The PMD delay is the average value of the differential group delay over a wide wavelength range. In highly mode coupled fiber, the PMD coefficient is defined as the PMD delay divided by the square root of the fiber length, expressed in The causes of PMD are several. Even the simplest optical device usually exhibits a slight dependence of group delay on input polarization. The behavior may be produced by anisotropy of the index of refraction in directions perpendicular (transverse) to the direction of propagation. Differential group delay is also observed in devices in which the light is split into two paths according to polarization and later recombined. In this situation, any difference in the parallel path lengths produces a differential group delay. In optical integrated circuits a common cause of PMD is the asymmetry in the cross sectional profile of the waveguides. In optical fiber, the main cause of differential group delay is non-circularity of the optical core. The problem was extremely severe in some of the older installed fibers. Tips on Measuring Differential Group Delay (DGD) With respect to DGD testing, the group delay noise versus received power is measured during the normalization and later backed out statistically during computation of DUT DGD. The noise measurement is conducted at the center of the normalization range, so strictly speaking it is appropriate only to that set of conditions (TLS output, test set loss, receiver sensitivity, and so on). In other wavelength regions the noise correction may be less exact. Agilent 86038A Optical Dispersion Analyzer, Third Edition 37

38 Measurement Concepts Understanding the Attributes Being Measured When measuring DGD, any GD drift or disturbance of the DUT GD during the scan time of each measurement can bias the measurement point to higher DGD. This effect might be seen as a single measurement point spike if the DUT or fibers were bumped during the measurement. Note that DGD is far more sensitive to this than PDL. When making precision DGD measurements, use the Real Time Port Monitor to verify GD drift before normalizing or measuring. Fiber connectors are a frequent cause of GD drift and must be clean to a much higher standard than commonly needed for fiber optic measurements of insertion loss. Fibers require protection from normal room air currents. Fibers need to be secured and allowed time to settle after handling. Refer to Real-Time Port Monitor on page 94. When making PDL or DGD measurements, the polarization scanner runs at a fixed speed and produces PDL or DGD changes with the majority of spectral content around 8 Hz. This limits the minimum IF bandwidth when scanning to 70 Hz, which avoids attenuating the 8 Hz components. Using a wider IF bandwidth allows a faster measurement, but raises the noise in the measurement and may slightly bias DGD and PDL toward larger values. During PDA normalization, 70 Hz IF bandwidth is used to characterize noise components with the scanner off, for both GD and Magnitude. These noise measurements provide the best correction of DGD and PDL when measuring in a 70 Hz IF bandwidth. Refer to Phase Dynamic Accuracy on page 108. PDL and DGD may indicate negative values, which are clearly not possible. This results from noise in the measurement. Negative values are useful when smoothing across wavelength sample points to obtain an unbiased estimate of the average DGD or average PDL. 38 Agilent 86038A Optical Dispersion Analyzer, Third Edition

39 Understanding the Attributes Being Measured Measurement Concepts Polarization Dependent Loss (PDL) Polarization dependent loss (PDL) is the peak-to-peak variation in the loss of a test device over all polarization states. If the optical input level to the test device is constant over the measurement time, the PDL is also equal to the peak-to-peak variation of output power over all polarizations. The mechanisms that produce PDL include material absorption, oblique optical reflections, fiber bends and various aspects of optical circuit design. In cases of passive components exhibiting pure PDL, the polarization states corresponding to maximum and minimum loss are diametrically opposite one another on the Poincare sphere. Higher-order device attributes such as center wavelength and bandwidth of narrowband filters are also polarization dependent. However, it is not always possible to extract the polarization dependence of these attributes from measurements of the PDL at a series of wavelengths; the polarization state that produces the minimum loss at one wavelength may not produce the minimum at all other wavelengths. For this reason, measurement of the polarization dependence of such higher order attributes may require multiple measurements of the device response across its wavelength range, with each complete measurement performed using a different fixed input state of polarization. This produces a set of, for example, 64 device responses at 64 randomly selected states of polarization. The center wavelength and bandwidth are computed for each case, and the peak-topeak variation in each of these attributes expresses their polarization dependence. The 86038A does not provide a function for measuring these higher order polarization dependencies. Tips on Measuring Polarization Dependent Loss (PDL) When making PDL or DGD measurements, the polarization scanner runs at a fixed speed and produces PDL or DGD changes with the majority of spectral content around 8 Hz. This limits the minimum IF bandwidth when scanning to 70 Hz, which avoids attenuating the 8 Hz components. Using a wider IF bandwidth allows a faster measurement, but raises the noise in the measurement and may slightly bias DGD and PDL toward larger values. During PDA normalization, 70 Hz IF bandwidth is used to characterize noise components with the scanner off, for both GD and Magnitude. These noise measurements provide the best correction of DGD and PDL when measuring in a 70 Hz IF bandwidth. Refer to Phase Dynamic Accuracy on page 108. PDL and DGD may indicate negative values, which are clearly not possible. This results from noise in the measurement. Negative values are useful when smoothing across wavelength sample points to obtain an unbiased estimate of the average DGD or average PDL. Agilent 86038A Optical Dispersion Analyzer, Third Edition 39

40 Measurement Concepts Understanding the Attributes Being Measured Fiber length This measurement applies to any test device but is usually applied to optical fiber. The fiber length is derived from measurement of the variation of RF modulation phase with RF frequency, at a user defined wavelength. The optical length measurement uncertainty is below 5x10-5 for fibre lenghts >15km. The calculation requires the user to enter the value of the index of refraction; any error in the index of refraction directly impacts the length measurement. 40 Agilent 86038A Optical Dispersion Analyzer, Third Edition

41 Description of the 86038A Measurement Concepts Description of the 86038A The Agilent 86038A employs the modulation phase shift (MPS) method for all of its measurements. A block diagram of the system is shown in Figure 4. Light from the tunable laser is amplitude modulated by passing the light through a balanced Lithium Niobate Mach-Zehnder modulator that is driven by an RF source. The signal passes through the test device to an optical receiver for recovery of the modulation envelope. The performance network analyzer (PNA) measures the amplitude and phase of the envelope. For measurements of polarization dependence, the polarization is scanned by a four-stage, fiber coil (mouse ear) polarization controller that directly follows the modulator. In summary, two stimuli are provided by the system: wavelength and state of polarization (SOP). From the resulting information, the various measurement attributes are evaluated. Dual receivers allow simultaneous transmission/reflection testing, or testing of two test device output ports simultaneously, or comparison of a test device with a reference device. Some of these setups require an external coupler or circulator. Figure A Block Diagram Agilent 86038A Optical Dispersion Analyzer, Third Edition 41

42 Measurement Concepts Description of the 86038A Measurement Method In the group delay/chromatic dispersion measurement, the wavelength is stepped or swept and the change in recovered RF modulation phase is recorded. The change of phase is converted to an equivalent change in the group delay according to the formula shown in Equation 1. The derivative of group delay with respect to wavelength gives chromatic dispersion. See Equation 2. The loss or gain measurement proceeds in the same way, but the measurement is based on the amplitude of the recovered modulation envelope. Both the group delay and the loss/gain measurement require an initial normalization measurement of a through path. After normalization, the test devices is inserted in the through path and the group delay and loss/gain is measured in comparison with the normalization data. PDL and PMD measurements are performed in the step mode with the polarization scanner running. At each wavelength the polarization is scanned for a few seconds. The DGD at each wavelength is calculated using the minimum to maximum phase change in the same formula used to calculate group delay, but in this case the stimulus is polarization rather than wavelength. The PDL information is obtained from the minimum to maximum variation in amplitude of the recovered modulation envelope, where the stimulus is polarization. The fiber length measurement is based on the variation of modulation phase as the RF modulation frequency is changed. Intuitively, the length of the test device can be expressed in terms of an equivalent number of modulation periods. At sufficiently low modulation frequencies, even the longest test device is less than a single RF cycle in length. As the RF modulation frequency is increased, the test device becomes more and more RF cycles in length. This increase is more rapid when the test device is long. This is the basis for the length measurement performed by the 86038A. The wavelength is fixed and the stimulus is the RF modulation frequency. 42 Agilent 86038A Optical Dispersion Analyzer, Third Edition

43 Description of the 86038A Measurement Concepts Choosing Setup Parameters This section presents the mathematical relationships on which the group delay and dispersion measurements are based. You will see how wavelength resolution and measurement sensitivity depend on the instrument setup parameters. This knowledge will help you to effectively resolve group delay ripple, avoid phases wrapping errors, avoid aliasing errors, and improve the repeatability (reduce the noise) of chromatic dispersion and relative group delay measurements. Background The Agilent 86038A employs the modulation phase shift method. Light is intensity modulated with an RF tone and applied to the device under test. The transmitted (or reflected) signal is detected to recover the modulation envelope, and the envelope phase is measured relative to the RF source. Any change in the group delay τ of the test device produces a corresponding change in the modulation phase. In practice, the wavelength is stepped or swept and the change in the group delay τ for each wavelength increment is calculated from the measured change in phase according to: φ 1 τ ( λ) = f m Equation 1 where φ is the phase change in degrees produced by a small wavelength step, fm is the modulation frequency in Hz, and the subscript λ indicates that the change in group delay being measured was produced in response to an incremental change in wavelength. The first term on the right side of Equation 1 is the fraction of cycles of modulation phase shift produced by the wavelength change. The second term is the time period of a single RF cycle (1/freq = period). The product of the two terms has units of time. The attribute called dispersion is defined by: τ D = λ Equation 2 where τ is the change in group delay in seconds corresponding to a change in wavelength λ in meters. In practice, the dispersion is expressed in units of picoseconds per nanometer (ps/nm), where 1ps=10-12 seconds. The dispersion coefficient expresses the relationship of dispersion to fiber length and is used to specify optical fiber. It is obtained by dividing the dispersion value by the length of the fiber: Agilent 86038A Optical Dispersion Analyzer, Third Edition 43

44 Measurement Concepts Description of the 86038A 1 τ D coeff = L λ Equation 3 where L is the length of the fiber. The dispersion coefficient is usually expressed in ps/nm km. Combining Equation 1 and Equation 2, we obtain: φ = 360 D f m λ Equation 4 Equation 4 shows that the amount of phase change measured in response to a wavelength step is the product of device dispersion, modulation frequency and wavelength step. This equation provides several key insights into the capabilities of the modulation phase shift measurement method. Relationship of setup parameters to measurement noise Here we examine how the terms on the right hand side of Equation 4 influence measurement noise. This relationship is expressed by adding a phase noise term to Equation 4: φ total = ( 360 D f m λ) + φ noise Equation 5 Equation 5 shows that as the product of dispersion, modulation frequency and wavelength step grows smaller, the impact of phase noise increases. Three measurement applications sometimes require that wavelength increment and/or modulation frequency be reduced, possibly at the expense of increased noise. These are: Resolution of spectrally narrow group delay features Avoidance of phase wrapping when measuring highly dispersive devices. Avoidance of aliasing when measuring ripple. Equation 5 warns us not to reduce modulation frequency more than necessary. 44 Agilent 86038A Optical Dispersion Analyzer, Third Edition

45 Description of the 86038A Measurement Concepts Relationship of setup parameters to phase wrapping Equation 4 implies that the selection of modulation frequency and wavelength increment play a part in the potential problem of phase wrapping. The phase detectors used in the Agilent 86038A have a range of ±180-degrees. Exceeding the range of the phase detector causes a phase wrapping error. The wrap-free range is expressed by: φ = 360 D f m λ φ < ± 180 Equation 6 Consider this limitation in the context of the stepped mode of operation. After each wavelength step, the phase detector is automatically zeroed to make the entire ±180-degree range available for the next step. If the next wavelength step produces a phase change larger than ±180 degrees, the phase detector loses the history of the actual phase change and gives us only an apparent phase change. For example, if a wavelength step produces an actual phase change of positive 185 degrees, it will be interpreted by the phase detector as a change of negative 175 degrees. This is the phase wrapping error. The phase detector is zeroed mathematically, not physically, so there is no noise contribution, regardless of the wavelength step size. The user can avoid phase wrapping errors in the step mode in either of two ways. For fiber measurements, use the Automatic Modulation Frequency Selection feature, which adjusts the modulation frequency as the measurement proceeds to avoid phase wrapping (the wavelength step is not changed from the user selected value). Second, use Equation 6 to check your selections of wavelength increment step and modulation frequency, to assure that the ±180 degree limit is not exceeded. Phase wrapping errors can also occur in the swept mode, though they are less likely to occur when using small wavelength increments (large numbers of amplitude and phase samples across the measurement wavelength range). Diagnosing a phase wrapping error is not always easy, because the extent to which phase wrapping affects the shape of the measured relative group delay curve depends upon the details of both the test device and the measurement setup parameters. Be conservative in the use of Equation 6, as it is possible for phase wrapping errors to go entirely unnoticed. Agilent provides an Excel spreadsheet calculator for estimating the maximum allowable step size. It is called the Wavelength Step Calculator for Modulation Phase Shift CD Measurements and can be found in the Library section of the public Agilent product web page for the 86038A. Agilent 86038A Optical Dispersion Analyzer, Third Edition 45

46 Measurement Concepts Description of the 86038A Maximum RF Modulation Frequency (MHZ) The following table lists recommended modulation frequencies. Any modulation smaller than that listed will give correct results (that is, no phase wrapping). Smaller modulation frequencies will have more noise and better resolution. Table cells that have an arrow symbol ( ) indicate that you must decrease the wavelength increment to achieve the desired τ RGD. Table 3 Maximum RF Modulation Frequency (MHz) for <90 phase steps f 90 = 1 ( 4 τ λ) λ Wavelength Increment (nm) τ RGD (ns/nm) any any any any any any any any any any any any any any any any any any any any any Relationship of setup parameters to aliasing Since all measurements are sampled at discrete wavelengths, there is an implication of the performance between the sampled points. The wavelength increment and the RF modulation sideband separation must be small compared to the wavelength range over which the device under test has variations of interest. When a device has periodic variations across wavelength, such as a Fabry- Perot filter, an interleaver, amplitude ripple, or group delay ripple, the wavelength increment must be small enough to collect two or more samples per period. If the wavelength increment is so large that less than two samples per period are measured, the result will be aliased to an 46 Agilent 86038A Optical Dispersion Analyzer, Third Edition

47 Description of the 86038A Measurement Concepts incorrect representation. When the result is aliased, it appears at a false period, longer than the actual period. An aliased measurement often appears as an unusual shape, but can appear with the expected shape at a multiple of the expected period. To eliminate aliasing, use a smaller wavelength increment. If the RF modulation sideband separation is less than the wavelength increment, and the wavelength increment can be reduced without changing the period or shape of the measurement, then aliasing is not present. Relationship of setup parameters to resolution Two measurement parameters affect resolution: the wavelength increment and the RF modulation frequency. In most cases both are reduced to improve wavelength resolution or amplitude resolution. The RF modulation frequency may be constrained by phase wrapping, noise, imaging, or ripple amplitude accuracy. The wavelength increment may be constrained by aliasing, phase wrapping, ripple amplitude accuracy, or measurement speed. Since these have overlapping constraints, it may be necessary to compromise on acceptable settings. The three-dimensional graph in Figure 5 shows the selection of wavelength step and modulation frequency to achieve high wavelength resolution. Reduction of only modulation frequency may fail to achieve the desired resolution and simply raise the noise floor. Figure 5 Adjusting wavelength step and mod. freq. to achieve desired resolution Relationship of setup parameters to imaging Since we are using AM modulation, we are sampling at the two AM sidebands simultaneously and reporting the average result. Again there is an implication of the performance between the sampled points. Even if the wavelength increment is arbitrarily small, the RF modulation sideband separation must be small compared to the wavelength range over which Agilent 86038A Optical Dispersion Analyzer, Third Edition 47

48 Measurement Concepts Description of the 86038A the device under test has variations of interest. If the RF modulation sideband separation is more than the wavelength increment, these two different sample points can cause imaging. Consider an example of a narrow band-pass filter being measured with a very small wavelength increment and an RF modulation frequency so large that each sideband is stepped through the filter pass band while the other sideband is well rejected. For this example the pass band would appear at two wavelengths, each incorrect in wavelength by half the sideband separation, and each attenuated in amplitude. For an RF modulation frequency of 1000 MHz, the sideband separation is 2000 MHz, which gives an approximate sideband separation of 16 pm. The effects of imaging cannot be completely eliminated, but they can be reduced to acceptable levels by choosing a sufficiently small RF modulation frequency. To achieve a high-resolution measurement of group delay ripple, the modulation frequency should be low enough that the modulation sidebands track up and down the group delay ripple as a pair, as illustrated in Figure 6. Figure 6 Selecting the modulation frequency for measurement of GD ripple Relationship of setup parameters to ripple amplitude accuracy Assuming a sufficiently small wavelength increment has been chosen to reveal ripple across wavelength without aliasing, the peak-to-peak amplitude of the ripple for insertion loss or group delay will appear slightly less than the true amplitude. One attenuation effect is caused by not sampling the phenomena at its extremes. To reduce this effect, use a smaller wavelength increment. 48 Agilent 86038A Optical Dispersion Analyzer, Third Edition

49 Description of the 86038A Measurement Concepts Another attenuation effect is caused when the two AM sidebands produced by the RF modulation frequency stimulate the DUT at different wavelengths, which occur at different points with respect to the ripple phenomena. This error in ripple amplitude depends on the period of the ripple and the RF modulation frequency. Use smaller RF modulation frequency to reduce this error. Let us express the period of the ripple by its free spectral range (FSR), which is the optical frequency change across one period of the ripple. For example, ripple with a period of 80pm has a FSR of about 10 GHz. The case analyzed by Figure 7 is when the sidebands lie equally spaced on either side of a peak of a sinusoidal ripple shape. The % of ps curve shows the percent error for GD ripple versus the FSR of the ripple divided by the RF modulation frequency. For small values of amplitude ripple, a similar curve applies. For amplitude ripple of 6 db peak-to-peak, use the 6dB curve to determine the theoretical attenuation of the ripple amplitude. For example group delay ripple with 10 GHz FSR (80pm period), when measured with a 500 MHz RF modulation frequency, will appear to have a peak-to-peak amplitude with 5% error, or 95% of the true amplitude. If the RF modulation frequency is larger than one-fourth the FSR, strange effects can appear. For example when (2 x ModFreq)/(RippleFSR) = 0.5, 1.5, 2.5, and so on, the ripple may appear to vanish. However, it is interesting to note the ripple FSR will not be aliased to a false ripple rate in this condition (provided the wavelength increment is less than half the ripple period) Agilent 86038A Optical Dispersion Analyzer, Third Edition 49

50 Measurement Concepts Description of the 86038A Figure 7 Ripple Error Due to Sideband Separation The graph shown in Figure 8 is an aid to selecting the wavelength step and modulation frequency for measurement of fine group delay ripple. To use the chart, follow these steps: 8 Enter the x-axis at the estimated period of group delay ripple to be measured. 9 Draw a vertical line to the curve representing the desired number of measurement samples per period of the group delay ripple. 10 Draw a horizontal line to the left and right hand axes. Read the wavelength step and the modulation frequency from the left and right vertical axes, respectively. To balance the limiting effects of both parameters, the chart in Figure 8 assumes that the double-sided spectral width of the RF modulation spectrum is identical to the wavelength increment. Of course, in some measurement situations it may be appropriate to take smaller wavelength steps than the chart would suggest. For example, to over-sample, then post-smooth the data to reduce trace noise. The 86038A provides built-in smoothing functions for this purpose. 50 Agilent 86038A Optical Dispersion Analyzer, Third Edition

51 Description of the 86038A Measurement Concepts Figure 8 Selecting Wavelength Step and Modulation Frequency for GD Ripple Agilent 86038A Optical Dispersion Analyzer, Third Edition 51

52 Measurement Concepts Description of the 86038A Control of resolution and noise When measuring low-dispersion, narrowband devices at high resolution, we face the noise limit implied by Equation 5. Figure 9 provides an intuitive guide to the management of this noise. The brick walls represent limits. The left-right axis of the figure represents the trace noise of the group delay measurement. The upper half of the figure shows the modulation frequency. We reduce into achieve better resolution (movement to the right in the figure), but eventually the trace becomes noisier. Figure 9 Managing noise in high-resolution measurements The bottom half of Figure 9 shows three setup parameters that can be adjusted to push our measurement back toward the low noise, high repeatability side of the figure. We can increase the number of samples taken at each wavelength (in the stepped mode), achieving a phase noise reduction through the averaging of all of these phase samples. We can also decrease the IF bandwidth. Finally, in extreme cases, we may elect to repeat the measurements and average the traces to reduce noise. These three noise control approaches all lengthen the measurement time. Selecting setup conditions for a new type of narrowband device Identifying the best setup conditions is a process that should be performed once before testing a new class of device. Once the appropriate setup conditions are determined, they can be saved and used for all future measurements of devices that have similar characteristics. The simplest approach is to use the 86038A's Quick Setup feature, which provides two slider-type controls that in turn adjust a variety of setup parameters. Assuming stepped mode operation, you may wish to start by choosing a relatively small wavelength increment and setting the Quick Setup slider controls for less speed but more resolution and sensitivity. After viewing the measurement results, you may wish to speed up the 52 Agilent 86038A Optical Dispersion Analyzer, Third Edition

53 Description of the 86038A Measurement Concepts measurement by taking larger wavelength steps or by moving the slider controls. If phase wrapping occurs, you can identify it by the change in the shape of the group delay curve compared to the earlier conditions. A second approach to choosing appropriate setup parameters is to check your values using the equations and graphs presented earlier in this section. For example, if the device is expected to exhibit fine group delay ripple of a particular wavelength period, select a wavelength step and modulation frequency from Figure 8. Suggested reading: Fiber Optic Test and Measurement (Derickson Ed.) T.Niemi et al., Limitations of the phase shift method in measuring dense group delay ripple in fiber Bragg gratings", IEEE Photonics Technology Leltters, vol.13, no.12, p.1334, December Agilent 86038A Optical Dispersion Analyzer, Third Edition 53

54 Measurement Concepts Description of the 86038A DUT Setup Configurations The 86038A's dual receivers allow extra measurement flexibility. The number of inputs and outputs of the DUT are expressed in the form NxM, where N is the number of inputs and M the number of outputs. 1 DUT with single input and single output, measured in transmission. 2 This setup configuration includes 1x1 devices or a single input/output pair of an NxM device. Either receiver port may be used. 3 DUT with single input and single output, measured in transmission and reflection. 4 Both receiver ports are used in this configuration. The optical output of the test set is connected to a directional coupler or circulator. The 'reflected' port of the coupler or circulator is connected to one of the receiver ports, and the output of the DUT is connected to the other receiver port. 5 DUT with single input and dual outputs, measured in transmission. 6 This setup takes advantage of the dual receiver ports to simultaneously measure two outputs of a NxM device. 7 Two 1x1 DUT's with inputs measured in transmission. 8 This setup is useful for comparing a pair of DUT's, or for situations that require the operator to adjust one device to match the performance of a second device. 54 Agilent 86038A Optical Dispersion Analyzer, Third Edition

55 Description of the 86038A Measurement Concepts Normalization and Test Loss and Group Delay Normalization The measurement results of the 86038A are actually the results of two measurements, taken with and without the DUT inserted in the path. A 'normalization' measurement, taken without the DUT in the path, captures the loss and group delay characteristics of the measurement system and test path. The normalization measurement establishes a loss and group delay baseline for later measurements of the DUT itself. Optical Modulator Bias Adjust In actual operation, the normalization measurement is accompanied by one or more additional automatic performance optimizations, all under the broad heading of 'normalization'. The 86038A contains an automated modulator bias adjustment function that is implemented when PDA is enabled during a normalization, or by itself through the menu item Measure > Optimize Optical Modulator. Amplitude modulation in the 86038A is accomplished using a lithium niobate Mach Zehnder modulator. In this type of modulator, the light is split into two paths which experience different phase shifts in response to a co-propagating RF wave. The two light paths rejoin at the output, where interference between the differentially phase shifted lightwaves determines the instantaneous optical output level. The modulator is biased by an adjustable DC voltage in order to select the optimum operating point. The automatic bias adjustment routine fixes the wavelength and the modulation frequency, then measures the variation in modulated optical output while changing the modulator bias voltage. From the resulting curve of output level versus bias voltage, the optimum bias voltage is chosen. For more information, refer to Optimize Optical Modulator Bias on page 110. Phase Dynamic Accuracy A second optimization corrects for phase dynamic accuracy errors. This correction is optional but is recommended in cases where the DUT is expected to exhibit a significant variation of insertion loss or gain over the measurement wavelength range. Phase dynamic accuracy (PDA) is a performance attribute of the performance network analyzer (PNA) that describes the extent to which a change in the input RF power level causes an apparent (erroneous) change in RF phase. The PDA error is highest at very high and very low RF power levels. The 86038A reduces the impact of the PDA error by means of a user Agilent 86038A Optical Dispersion Analyzer, Third Edition 55

56 Measurement Concepts Description of the 86038A selectable calibration routine that runs as part of the normalization process. The routine sets the modulation frequency and the wavelength, then steps the TLS optical output level (using attenuation) in increments from low to full output. At each step, the RF phase is measured and associated with the RF input level. This data is used to correct future measurements. It is recommended that the PDA correction be performed at the same modulation frequency as the measurements it will be applied to. Length Normalization If a Length measurement is specified with the Measure mode, the Normalization path s length is measured so that it can be subtracted out. DUT Length = Total Length Normalized Path Length. Refer to Length on page 98 to setup a length measurement. Wavelength Accuracy Correction Using the optional 86122A multi-wavelength meter, wavelength correction is performed for stepped normalizations. That is, when Setup > CD/PMD > is set to one of the two stepped measurement modes. Wavelength correction is always performed if an 86122A is connected. Five wavelength points are measured and the average offset is applied. For more information, refer to Normalization Range on page 100 and to Begin Normalization on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

57 Description of the 86038A Measurement Concepts Swept and Stepped Measurement Modes The measurements performed by the 86038A involve tuning the laser source while observing changes in the recovered RF amplitude and phase. The wavelength can be changed in either a stepped or a swept mode. The stepped mode offers the best wavelength accuracy resolution and sensitivity, while the swept mode offers the highest measurement speed. For more information on measurement modes, refer to CD/PMD on page 97. Stepped mode In the stepped mode, the user enters values of start and stop wavelengths and wavelength increment (step). The system calculates a series of target wavelengths to which the laser is then tuned. The wavelength resolution of the resulting measurement is strongly influenced by the choice of wavelength increment but is also a function of the modulation frequency, discussed elsewhere. The stepped mode provides higher wavelength accuracy than the swept mode, because the dynamics of sweeping the TLS and keeping the amplitude/phase detection in unison are not required. The user may elect to use a wavelength meter to optimize wavelength accuracy. When enabled, this function checks the wavelength accuracy of the TLS at a series of wavelengths distributed across the user-selected measurement wavelength range. The observed wavelength errors are averaged to obtain a single wavelength correction offset value that is used to correct the wavelength scale of following measurements. The wavelength correction factor is determined during a normalization (if the 86122A wavelength meter was detected at startup) and this factor is automatically applied to future DUT measurements. This arrangement saves measurement time compared with measuring the wavelength before each measurement or measuring the wavelength on a point-by-point basis during the measurement itself. This economy is made possible by the extremely high wavelength stability, repeatability and linearity of the tunable laser. Agilent 86038A Optical Dispersion Analyzer, Third Edition 57

58 Measurement Concepts Description of the 86038A Swept mode In the swept mode, the user enters the start and stop wavelengths and the trace points. A sweep time is computed based on the operational limits of the TLS and the RF network analyzer. In operation, the TLS sweeps wavelength versus time while the RF network analyzer periodically samples the recovered RF amplitude and phase. Amplitude and phase samples are associated with wavelength values through the intermediate variable, time. Implicit in this process is a wavelength resolution associated with the wavelength increment between adjacent samples. As in the case of the stepped measurement, wavelength resolution is also affected by the modulation frequency, discussed elsewhere. 58 Agilent 86038A Optical Dispersion Analyzer, Third Edition

59 3 Making Measurements Quick Setup Measurement Process Flexible Measurement Process Setup Parameters and What They Do Choosing Setup Parameters for Your Device Narrowband Filter Measurement Fiber Measurement Agilent 86038A Optical Dispersion Analyzer, Third Edition 59

60 Making Measurements Introduction Introduction NOTE To get the most performance out of your ODA, it is recommended that you read Chapter 2, Measurement Concepts, Chapter 3, Making Measurements, and Chapter 4, Function Reference. These three chapters cover the linkages between the different measurements that can be made, specific devices being measured, and the setup parameters used to make the measurements. 60 Agilent 86038A Optical Dispersion Analyzer, Third Edition

61 Quick Setup Measurement Process Making Measurements Quick Setup Measurement Process Setup the Normalization Connect the patch cord for the normalization. Check the connections with the Real Time Port Monitor. Refer to Real-Time Port Monitor on page 94. Quick Setup Process On the front panel, press Quick Setup. Select DUT configuration and input ports. Choose which attributes to measure. Select stepped or swept mode. Set the measurement wavelength range. Set the resolution slider (lowest to highest resolution). Begin the Normalization Measurement Process Connect the DUT. Begin the Measurement. View the data and manipulate the display and markers. Smooth or curve fit the data as desired. Save the measurement and/or export the data. Agilent 86038A Optical Dispersion Analyzer, Third Edition 61

62 Making Measurements Flexible Measurement Process Flexible Measurement Process The following procedure outlines the steps to make a precisely defined measurement. For experienced users, this process provides more flexibility than the Quick Setup procedure. Setup the Normalization Connect the patch cords needed for the normalization. Check the connections with the Real Time Port Monitor. Refer to Real-Time Port Monitor on page 94. Normalization Process Select DUT configuration and input ports. Choose which attributes to measure. Select stepped or swept mode. Enable the Length measurement if needed Set the measurement wavelength range. Set the normalization wavelength range (if different from the measurement range). Set the Sensitivity, Resolution, and Dynamic Drift Reduction. Begin the Normalization Measurement Process Connect the DUT. Set Trigger to Single or Repeat Sweep. Begin the Measurement. View the data and manipulate the display and markers. Smooth or curve fit the data as desired. Save the measurement and/or export the data. 62 Agilent 86038A Optical Dispersion Analyzer, Third Edition

63 Setup Parameters and What They Do Making Measurements Setup Parameters and What They Do A family of setup parameters allow the user to optimize 86038A performance for a wide variety of measurement applications. Following is a brief description of the setup parameters. For a complete description of each parameter, refer to Function Reference on page 87. Wavelength range The range of wavelengths over which the measurements are taken, usually entered by means of start and stop wavelengths. Wavelength increment The wavelength separation of adjacent measurement samples. In the stepped mode, this is the wavelength range divided by the number of steps minus one. In the swept mode, it is the wavelength range divided by the number of trace points less one. Modulation frequency The frequency of the AM modulation impressed on the optical signal by the modulator inside the optical test set. The modulation frequency helps determine wavelength resolution and sensitivity. Samples/Point The number of times the recovered RF amplitude and phase are measured at each measurement wavelength (trace point). In the swept mode only a single sample is taken. In the stepped mode, the number of samples may be selected over a wide range. The samples are averaged to reduce the effect of instrumentation noise. During polarization dependent measurements (DGD and PDL), the number of samples are taken while the polarization state is being scanned. Approximately 201 samples should be taken to ensure that a statistically sufficient sampling of the polarization states has been obtained. Fewer samples will provide a faster measurement at the expense of larger variability (noise). If the operating environment is not controlled for temperature and vibration, too many samples/point can result in erroneously high values of DGD and PDL. Agilent 86038A Optical Dispersion Analyzer, Third Edition 63

64 Making Measurements Setup Parameters and What They Do IF Bandwidth This control sets the bandwidth of noise-reducing filter circuitry and algorithms in the RF network analyzer. A lower value of IF Bandwidth provides better noise rejection but also increases measurement time. For the same impact on measurement time, reducing IF bandwidth is more effective in suppressing noise than increasing the samples/point. TLS Power This control sets the TLS output power. The default value of 5 dbm is available from the 81600B tunable laser sources over the full operating wavelength range. For the 81600B-160 tunable laser source a power level of +5 dbm is available from 1520 nm to 1610 nm. For other tunable laser sources refer to the individual TLS specification. At higher TLS power levels, Amplitude Dynamic Range and Group Delay Noise is improved, but phase dynamic accuracy (PDA) effects are more pronounced. After changing the TLS power, normalization (without PDA) is required. 64 Agilent 86038A Optical Dispersion Analyzer, Third Edition

65 Choosing Setup Parameters for Your Device Making Measurements Choosing Setup Parameters for Your Device A list of characteristics, suggestions and relationships are provided for a variety of device types. For more information on the measurements that you can make, refer to Measurement Concepts on page 31. For more information on the instrument functions, refer to Function Reference on page 87. Transmission Fiber (All Types) Characteristics Large range of dispersion values across the wavelength range Broadband device Smoothly changing group delay with relatively little fine structure Group delay is easy to curve fit using conventional model curves Differential group delay (DGD) may exhibit multiple peaks and valleys Approximately 0.25 db/km attenuation The relatively smooth and analytic behavior of the group delay of this device makes it possible to use larger wavelength increments and lower modulation frequency without loss of wavelength resolution. The following discussion provides setup parameter information specific to each device. Agilent 86038A Optical Dispersion Analyzer, Third Edition 65

66 Making Measurements Choosing Setup Parameters for Your Device Fiber Dispersion Compensating Module (DCM) Characteristics High dispersion (steep change in group delay versus wavelength). Broadband device Significant loss The zero dispersion wavelength falls far outside the 1500 nm window. Measurement Tips For higher loss fibers, improve signal-to-noise by using a narrower IF bandwidth and a larger number of samples. When measuring in step mode, use the automatic modulation frequency selection feature or manually select a modulation frequency and wavelength step appropriate to the expected level of dispersion. Both strategies will eliminate the possibility of RF phase wrap errors. Manual selection of the modulation frequency allows the use of the Phase Dynamic Accuracy (PDA) correction process in the step mode. The PDA correction feature is available only at the single modulation frequency at which the normalization was performed. PDA correction is available in the swept mode, as the swept mode always operates at a single, user-selected modulation frequency. When measuring high dispersion fibers in step mode with manual modulation frequency selection, the use of 2000 MHz modulation frequency may require the selection of a low wavelength increment to avoid aliasing. This increases test time. To reduce test time, lower the modulation frequency and increase the wavelength increment. 66 Agilent 86038A Optical Dispersion Analyzer, Third Edition

67 Choosing Setup Parameters for Your Device Making Measurements Fiber Bragg Grating Dispersion Compensators Characteristics High dispersion (steep change in group delay versus wavelength) Group delay ripple (fine structure in the group delay curve) Measurement Tips If the group delay ripple is to be measured, it is necessary to select a small enough modulation frequency and wavelength interval to resolve the ripple. The swept mode offers very small wavelength intervals and high measurement speed. The step mode may take an unacceptable amount of time if the wavelength step is very small and the wavelength range is large. When measuring in step mode in cases where the group delay ripple is not required, manually select a modulation frequency and wavelength step appropriate to the maximum expected level of dispersion. Automatic modulation frequency selection may not be reliable in cases of high group delay ripple. Manual selection of the modulation frequency allows the use of the Phase Dynamic Accuracy (PDA) correction process in the step mode. The PDA correction feature is available only at the single modulation frequency at which the normalization was performed. PDA correction is available in the swept mode, as the swept mode always operates at a single, user-selected modulation frequency. Of the built-in curve fits, only the linear fit is likely to be useful in this application. Use it when the entire trace is to be fitted and the group delay ripple is required. Export the data to a spreadsheet and subtract the fitted straight line from the measurement data to obtain the group delay ripple. Agilent 86038A Optical Dispersion Analyzer, Third Edition 67

68 Making Measurements Choosing Setup Parameters for Your Device Erbium Doped Fiber (Unpumped) Characteristics High loss (up to 10 s of db s) Low dispersion (very slight change in group delay over wavelength) Broadband device Little if any fine group delay structure Measurement Tips The high loss of this device degrades the signal to noise, making it necessary to combat the noise with various setup conditions. For best signal to noise, select 2000 MHz modulation frequency. Improve signal to noise by using a narrower IF bandwidth (70 Hz or even 30 Hz) and a larger number of samples. Reduce trace noise by means of the built-in smoothing functions. Swept mode gathers a large number of points to smooth, taking advantage of the smoothing function. However, the step mode allows taking and averaging a large number of samples at each wavelength, also reducing the noise. Try both modes to find the best trade-off of accuracy and measurement speed. 68 Agilent 86038A Optical Dispersion Analyzer, Third Edition

69 Choosing Setup Parameters for Your Device Making Measurements Erbium Doped Fiber (Pumped) Characteristics High gain (20 to 30 db) High power output (>20 dbm) Amplified spontaneous emission (ASE) noise Often a broadband device Low dispersion (very slight change in group delay over wavelength) Measurement Tips Insert attenuation following the EDFA to avoid overdriving the input of the 86038A. Refer to Specifications and Regulatory Information on page 283 for input power limitations. Improve signal to noise by using a narrower IF bandwidth (70 Hz or even 30 Hz). To get even a lower noise, the number of samples can also be increased. Reduce trace noise by means of the built-in smoothing functions. Swept mode gathers a large number of points to smooth, taking advantage of the smoothing function. However, the step mode allows taking and averaging a large number of samples at each wavelength, also reducing the noise. Try both modes to find the best trade-off of accuracy and measurement speed. Agilent 86038A Optical Dispersion Analyzer, Third Edition 69

70 Making Measurements Choosing Setup Parameters for Your Device Narrowband Filter or DWDM Wavelength Routing Device Characteristics Very narrow band Low dispersion, DGD, PDL with possible exception of band edges Fine in-band structure to some attributes, possible including group delay ripple. Steep filter slopes High rejection outside the passband Measurement Tips The combination of narrow passband, fine group delay structure, and low dispersion calls for a special strategy Swept mode rapidly gathers a large number of points to smooth, taking advantage of the smoothing function. The step mode can take and average a large number of samples at each wavelength, reducing the noise but increasing measurement time over the swept case. Start by measuring group delay and loss in the swept mode. This measurement is fast and will usually reveal the fine loss and group delay structure quite well. Use a low enough modulation frequency to reveal the fine structure. In swept mode group delay measurements, reduce trace noise by means of the built-in smoothing functions. Use a smoothing interval wide enough to reduce noise but not so wide as to smooth away the group delay features of the device. In stepped mode, manually select the modulation frequency. The automatic modulation frequency selection feature is intended only for transmission fiber. Always select the Phase Dynamic Accuracy (PDA) correction when performing a swept or stepped normalization for filter testing. This correction reduces the degree to which the large variations in device loss with wavelength are translated into small errors in group delay through RF amplitude-to-phase effects in the performance network analyzer (PNA). To measure DGD, select the stepped mode. Set the IF bandwidth to 70 Hz to filter out noise while not filtering out the group delay variations caused by polarization scanning. Select 201 samples to allow a sufficiently long polarization scanning time. Set the modulation frequency to 2000 MHz to achieve best signal to noise at the expense of wavelength resolution. Experiment with lower modulation frequency values and correspondingly smaller wavelength increments to reveal fine structure in the DGD response. 70 Agilent 86038A Optical Dispersion Analyzer, Third Edition

71 Choosing Setup Parameters for Your Device Making Measurements Broadband Component (Isolator, Circulator, Coupler, Attenuator and so on) Characteristics Very wide wavelength measurement range Low dispersion and DGD Loss relatively independent of wavelength Measurement Tips The broadband nature of these devices allows you to trade off wavelength resolution for faster measurement speed. Set the modulation frequency in manual mode to 2000 MHz. In either swept or stepped mode, optimize measurement speed by setting the wavelength increment just small enough to resolve the wavelength dependencies of the attributes being measured. If you use the smoothing function to reduce trace noise, you may need to increase the number of trace points. (for example, reduce the wavelength increment) to avoid loss of resolution. Agilent 86038A Optical Dispersion Analyzer, Third Edition 71

72 Making Measurements Narrowband Filter Measurement Narrowband Filter Measurement This measurement example uses a narrow bandpass filter with a center wavelength of 1558 nm and a 3 db bandwidth of 3 nm. This measurement procedure will include both a swept and a stepped measurment. Stepped measurements take more time to run, but provide you with the highest measurement accuracy. Some measurement settings apply to both swept and stepped measurements, but some are set specific for a stepped or a swept measurement. In the following procedure, we will start with a swept measurement, then continue with the stepped measurement. The stepped measurement process will only call out the settings that are different for the two measurement types. There are two different ways to access the instrument settings: from the front panel keys or from the menu bar. The front panel keys are separated into groupings by a group name which corresponds to the display menu bar names. For example, the Setup group of front panel keys has the exact same functions as the Setup menu on the menu bar. Either access method can be used alone or in combination for any measurement. CAUTION Before connecting any patchcords, you must clean the optical connections on the cable, device under test (DUT), and the ODA. Use cotton swabs and alcohol to clean the connectors, and then blow the connector surface dry with compressed air. For more information, refer to Cleaning Connections for Accurate Measurements on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

73 Narrowband Filter Measurement Making Measurements Swept Measurement 9 On the analyzer press Preset to set the instrument to a known state. 10 From the Setup menu, press CD/PMD and select GD/CD Swept. 11 Tip: Settings in a panel are saved when another menu item or front panel key is selected. It is not necessary to press close on each setup panel. 12 From the Setup menu, press Ports and select Port From the Setup menu, press Meas Range and set the Start wavelength to 1553 nm and the Stop wavelength to 1563 nm. This will set a 10 nm span around the center wavelength of the filter. 14 From the Setup menu, press Sens/Res. In the Sens/Res setup panel, a Set Trace Points to 1601 b c Set RF Mod Freq to 500 MHz Select an IF Bandwidth of 300 Hz Lower values of IF bandwidth reduce the noise but increase the measurement time. Agilent 86038A Optical Dispersion Analyzer, Third Edition 73

74 Making Measurements Narrowband Filter Measurement 15 Connect the normalization fiber from the test set Optical Output to Port From the Measurement menu, press Begin Norm. From the Normalization Viewer, a b select Port 1 as the Active Port select Phase Dynamic Accuracy Phase Dynamic Accuracy corrects for amplitude-to-phase conversion effects in the network analyzer, in which the loss or gain changes with wavelength. c select Normalize The normalization will take approximately 8 minutes. The majority of this time is used for the phase dynamic accuracy correction. While normalization is running, data is plotted to the Normalization Viewer graphs. The completed normalization is shown below. 74 Agilent 86038A Optical Dispersion Analyzer, Third Edition

75 Narrowband Filter Measurement Making Measurements 17 When the normalization is complete, select Close on the Normalization Viewer. Tip: First-time users may want to verify the normalization process by performing a measurement of the normalization path. To do this, press Begin Meas. The Loss trace should be very close to 0 db and the group delay variation should be small. 18 Insert the filter into the normalized test path. It is best practice to include the normalized fiber in the path with the test device, as its small dispersion contribution was captured in the normalization data. Agilent 86038A Optical Dispersion Analyzer, Third Edition 75

76 Making Measurements Narrowband Filter Measurement 19 From the Measurement menu, press Begin Meas to start the measurement process. When the measurement is complete, a trace is displayed for Port 1 GD (group delay), Port 1 Gain/Loss, and Port 1 CD (chromatic dispersion). 76 Agilent 86038A Optical Dispersion Analyzer, Third Edition

77 Fiber Measurement Making Measurements Fiber Measurement This measurement example uses a spool of fiber with a zero dispersion wavelength of approximately 1575 nm. This measurement procedure will include both a swept and a stepped measurment. Stepped measurements take more time to run, but provide you with the highest measurement accuracy. Some measurement settings apply to both swept and stepped measurements, but some are set specific for a stepped or a swept measurement. In the following procedure, we will start with a swept measurement, then continue with the stepped measurement. The stepped measurement process will only call out the settings that are different for the two measurement types. There are two different ways to access the instrument settings: from the front panel keys or from the menu bar. The front panel keys are separated into groupings by a group name which corresponds to the display menu bar names. For example, the Setup group of front panel keys has the exact same functions as the Setup menu on the menu bar. Either access method can be used alone or in combination for any measurement. CAUTION Before connecting any patchcords, you must clean the optical connections on the cable, device under test (DUT), and the ODA. Use cotton swabs and alcohol to clean the connectors, and then blow the connector surface dry with compressed air. For more information, refer to Cleaning Connections for Accurate Measurements on page 272. Swept Measurement 1 On the analyzer press Preset to set the instrument to a known state. 2 From the Setup menu, press CD/PMD and select GD/CD Swept. Agilent 86038A Optical Dispersion Analyzer, Third Edition 77

78 Making Measurements Fiber Measurement Tip: Settings in a panel are saved when another menu item or front panel key is selected. It is not necessary to press close on each setup panel. 3 From the Setup menu, press Ports and select Port 1. 4 From the Setup menu, press Meas Range and set the Start wavelength to 1510 nm and the Stop wavelength to 1640 nm. 5 From the Setup menu, press Sens/Res. In the Sens/Res setup panel, a Set Trace Points to 1601 b Set RF Mod Freq to 100 MHz The Auto Mod Freq selection is not available for Swept measurements. Therefore, it is best to start will a low modulation frequency to avoid RF phase shift abiguity in the case of a high dispersion fiber. c Select an IF Bandwidth of 300 Hz Lower values of IF bandwidth reduce the noise but increase the measurement time. 6 From the Display menu, press Auto Scale and set the Offset GD trace to zero at: option to Minimum Point. 78 Agilent 86038A Optical Dispersion Analyzer, Third Edition

79 Fiber Measurement Making Measurements 7 Connect the normalization fiber from the test set Optical Output to Port 1. 8 From the Measurement menu, press Begin Norm. From the Normalization Viewer, a b select Port 1 as the Active Port select Phase Dynamic Accuracy Phase Dynamic Accuracy corrects for amplitude-to-phase conversion effects in the network analyzer, in which the loss or gain changes with wavelength. Although fiber does not exhibit extreme loss changes over frequency range, a best practice is to correct for phase dynamic accuracy. c select Normalize The normalization will take approximately 8 minutes. The majority of this time is used for the phase dynamic accuracy correction. While normalization is running, data is plotted to the Normalization Viewer graphs. The completed normalization is shown below. Agilent 86038A Optical Dispersion Analyzer, Third Edition 79

80 Making Measurements Fiber Measurement 9 When the normalization is complete, select Close on the Normalization Viewer. Tip: First-time users may want to verify the normalization process by performing a measurement of the normalization path. To do this, press Begin Meas. The Loss trace should be very close to 0 db and the group delay variation should be small. 10 Insert the filter into the normalized test path. It is best practice to include the normalized fiber in the path with the test device, as its small dispersion contribution was captured in the normalization data. 80 Agilent 86038A Optical Dispersion Analyzer, Third Edition

81 Fiber Measurement Making Measurements 11 From the Measurement menu, press Begin Meas to start the measurement process. When the measurement is complete, a trace is displayed for Port 1 GD (group delay), Port 1 Loss, and Port 1 CD (chromatic dispersion). Agilent 86038A Optical Dispersion Analyzer, Third Edition 81

82 Making Measurements Fiber Measurement Stepped Measurement 1 From the Setup menu, press CD/PMD and select GD/CD Stepped. 2 From the Setup menu, press Norm Range. In the Normalization setup panel, a select Customize b set the Increment to 2 nm 3 From the Setup menu, press Sens/Res. In the Sens/Res setup panel, a b Select Auto Modulation Frequency Select Dynamic Drift Reduction Dynamic drift reduction should be used when the temperature is gradually changing. A best practice is to use dynamic drift reduction for all fiber mea surements. 82 Agilent 86038A Optical Dispersion Analyzer, Third Edition

83 Fiber Measurement Making Measurements 4 Connect the normalization fiber from the test set Optical Output to Port 1. 5 From the Measurement menu, press Begin Norm. From the Normalization Viewer, a b select Port 1 as the Active Port select Normalize The normalization will take approximately 8 minutes. The majority of this time is used for the phase dynamic accuracy correction. While normalization is running, data is plotted to the Normalization Viewer graphs. The completed normalization is shown below. 6 When the normalization is complete, select Close on the Normalization Viewer. 7 Insert the filter into the normalized test path. Agilent 86038A Optical Dispersion Analyzer, Third Edition 83

84 Making Measurements Fiber Measurement 8 From the Measurement menu, press Begin Meas to start the measurement process. When the measurement is complete, a trace is displayed for Port 1 GD (group delay), Port 1 Loss, and Port 1 CD (chromatic dispersion). 84 Agilent 86038A Optical Dispersion Analyzer, Third Edition

85 Fiber Measurement Making Measurements Apply Smoothing to Remove Noise Refer to Smooth on page 118 for more information. 1 Make the group delay trace the active trace. 2 From the Display menu, press Smooth. From the Smoothing setup panel, a b c Select Enable Smoothing Select Boxcar for the algorithm Adjust the Window slide bar to optimize smoothing of the GD trace You will want to add enough smoothing to remove the noise from the trace but not too much as to distort the response shape of the filter. Agilent 86038A Optical Dispersion Analyzer, Third Edition 85

86 Making Measurements Fiber Measurement 86 Agilent 86038A Optical Dispersion Analyzer, Third Edition

87 4 Function Reference Introduction File Menu View Menu System Menu Setup Menu Measure Menu Display Menu Navigating the Front Panel Toolbar Functions Agilent 86038A Optical Dispersion Analyzer, Third Edition 87

88 Function Reference Introduction Introduction The following section provides descriptions of each software function. The functions are listed in the order that they appear in the Instrument s menu bar. The same functions are accessible from the front panel. Refer to Making Measurements on page 59 for complete information on how to make timely, accurate measurements on your device under test (DUT). This section assumes that you have a working knowledge of an MS Windows -based computer and its operating conventions. It also assumes you know how to open, save, and close files. For help with any of these techniques, please see your MS Windows documentation. NOTE To get the most performance out of your ODA, it is recommended that you read Chapter 2, Measurement Concepts, Chapter 3, Making Measurements, and Chapter 4, Function Reference. These three chapters cover the linkages between the different measurements that can be made, specific devices being measured, and the setup parameters used to make the measurements. 88 Agilent 86038A Optical Dispersion Analyzer, Third Edition

89 File Menu Function Reference File Menu The File menu is used to save, recall, and print data. Recall Retrieves all previously saved instrument state, trace data, and normalization data. Save Saves the current instrument settings, trace data points, and normalization data. The file is saved with a.oda extension. When this file is recalled using File >Recall, all the setup parameters will be set to the saved conditions. Export Saves a file for use with external applications. There are four supported export file formats:.csv.jpg.bmp.tif ASCII text file of comma separated values. This type of files includes measurement results and settings in a format that can be viewed easily with a spreadsheet or analysis packages such as Excel or MatLab. Image file format that contains a screen capture of the ODA application. The benefit of this format is that the file size is small, however the image quality is reduced. Image file format that contains a screen capture of the ODA application. The benefit of this format is that the image quality is high, however the file size is very large. Image file format that contains a screen capture of the ODA application. The benefit of this format is that the file size is small and the image quality is high. This format is not supported by some applications. Agilent 86038A Optical Dispersion Analyzer, Third Edition 89

90 Function Reference View Menu Print Prints a copy of the graphical display and pertinent instrument settings. Use the parallel port on the rear panel of the PNA to connect to your printer. Exit Exits the ODA application. To log on to the ODA, you will need to enter the following user name and password. User Name: ODA_User Password: agilentoda View Menu The View menu is used to access the desktop screen. Minimize Application Minimizes the ODA application window. 90 Agilent 86038A Optical Dispersion Analyzer, Third Edition

91 System Menu Function Reference System Menu Laser Off Turns the laser off at the TLS output. The laser will turn back on when a measurement is started (Begin Meas, Begin Norm, Begin Mod Bias, or Begin Length). Laser On Turns the laser on at the TLS output. Local Returns local front-panel control. Remote programming can prevent the ODA from responding to front-panel key presses. Pressing Local will reestablish front-panel control. Agilent 86038A Optical Dispersion Analyzer, Third Edition 91

92 Function Reference System Menu Preset Cancels any current operations and sets the instrument to defined setup conditions (state). Table 4 Default values Function Preset Value Function Preset Value Dispersion Measurement Type GD/CD Swept X-Axis Scale, Minimum a 1493 nm Active Ports Port1 X-Axis Scale, Maximum a 1640 nm Measurement Start Wavelength a 1493 nm X-Axis Scale, Center a 1575 nm Measurement Stop Wavelength a 1640 nm X-Axis Scale, Span a 130 nm Normalization Range Use Measurement Settings Y-Axis Scale, Reference Level b 0 ps Resolution, Trace Points 1601 Y-Axis Scale, Units/Division b 1000 ps Resolution, Increment a nm Y-Axis Scale, Ref. Level Position 5 RF Modulation Frequency 2000 MHz Auto Scale During Measurement On Auto Modulation Frequency Off Smoothing Off Sensitivity, IF Bandwidth 300 Hz Curve Fit Off Sensitivity, Samples/Point 1 TLS Power 5 dbm Dynamic Drift Reduction Off Markers Off a for 81600B-160 TLS: depends on TLS type b Varies by trace type. Preset Display Properties Resets all the settings contained in the Display menu to their default values. It differs from a normal preset in that measurement settings and trace data are preserved. Wavelength Meter Uses the 86122A multi-wavelength meter to determine a wavelength offset correction for the TLS during the Normalization process. To use this function, the Low SSE output of the TLS must be connected to the 86122A during normalization. The wavelength meter is used only during normalization and not before or during actual measurements. 92 Agilent 86038A Optical Dispersion Analyzer, Third Edition

93 System Menu Function Reference Status Log Opens the Status Log window and displays a history of all instrument errors and messages with the time the event occurred. Clear removes the messages from the status log. Close closes the Status Log window. Configuration The status of the internal thermal regulator is displayed in the lower right of the display with a thermometer icon. State Red indicates the regulator is out of regulation because the environment is too hot or too cold. State Yellow indicates internal temperature is waiting for a timed delay to reach GD stability, or temperature change is large in the past 2.5 minutes. State Green indicates stable temperature, ready for normalization or measurement. When the ODA power is cycled, the internal thermal regulator will automatically come on, choose an initial temperature set point, and provide the state Yellow timed delay for 80 minutes to reach state Green. (When calibrated measurements are possible.) If the environment has a significant temperature change over the past 2.5 minutes, state Yellow will be displayed. When the environment becomes stable again, state Green will be displayed without delay. New Heater Set Point If the environment changes more than ± 6 C, from the turn-on state, the icon may turn Red indicating thermal regulation is no longer possible. To reset the thermal regulator to the present environment, right click on the thermometer icon and left click on the prompt box. After resetting the thermal regulator, the icon will show state Yellow for 40 to 80 minutes as the system comes back to thermal equilibrium. Tip: Hover the mouse cursor over the icon for a thermal regulator status report. Show Low Power Warnings When enabled, the instrument will place warning messages in the status log when the detected power is too low. This is helpful for fiber manufactures but is not ideal for filter manufactures. Agilent 86038A Optical Dispersion Analyzer, Third Edition 93

94 Function Reference System Menu Real-Time Port Monitor Displays on a horizontally scrolling graph the real-time gain/loss and group delay measurements enabled for Port 1 and Port 2. The monitor operates in repeat sweep mode at the center wavelength of the measurement range and uses a 2 GHz Mod Frequency and 30 Hz IF Bandwidth. The real-time monitor can be used to check the stability of the test system, test device, and interconnecting cables before performing an actual measurement. This is especially useful when measuring small group delay values approaching or below 50 fs. When a frequency selective test device is in the measurement path, the center wavelength should be set using Setup > Meas Range start and stop settings to a center wavelength that provides a low insertion loss point. After using the Real-Time Port Monitor to verify that the DUT connections are good and test environment is stable, the setup is ready for a measurement. The stability of the setup could appear different for the DUT than for the normalization due to actual temperature changes, longer fiber lengths, insertion loss, mechanical movements, air currents, and so on. For less demanding applications, such as ±250 fs of RGD accuracy, usual good practice in making optical connections provides adequate results without using the Real-Time Port Monitor. Clear Plots resets the measurements and clears the graph data. 94 Agilent 86038A Optical Dispersion Analyzer, Third Edition

95 System Menu Function Reference Figure 10 Example of Fiber Movement Agilent 86038A Optical Dispersion Analyzer, Third Edition 95

96 Function Reference System Menu Figure 11 Example of a Dirty Connector 96 Agilent 86038A Optical Dispersion Analyzer, Third Edition

97 Setup Menu Function Reference Setup Menu Quick Setup Accesses a series of control panels that help you specify the basic settings needed for making a measurement. A measurement time estimation is provided so that you can trade off measurement time versus the measurement settings. CD/PMD Allows you to specify the measurements and measurement mode (swept or stepped). GD/CD Swept GD/CD Stepped GD/CD + DGD/PDL Stepped In Stepped mode, a number of phase and amplitude measurements are performed at each wavelength. The wavelength resolution is set by the wavelength step size and the modulation frequency. See Measurement Range and Sensitivity/Resolution on page 101. In Swept mode, the phase and amplitude are sampled periodically as the wavelength is continuously swept. This yields a single sample of both phase and amplitude at a series of wavelength increments. The density of samples is set by the combination of wavelength span (stop wavelength minus start wavelength) and the number of samples. Swept mode can dramatically reduce measurement time when the ultimate accuracy is not required. Swept mode cannot provide any polarization dependent measurements (that is, DGD or PDL). NOTE In swept mode testing of a very long fiber (that is, thousands of km), there is a possibility of a wavelength offset caused by the delay through the fiber. Tips on Measurement Modes: For a GD/CD +DGD/PDL stepped measurement the most accurate results are obtained with 70 Hz IF Bandwidth and 201 samples per point. A smaller IF Bandwidth will give PDL and DGD values that are too low. A higher IF Bandwidth will give more noise. Fewer samples will also give more noise. Refer to Sensitivi ty/resolution on page 101 for more information on these settings. Agilent 86038A Optical Dispersion Analyzer, Third Edition 97

98 Function Reference Setup Menu Step mode offers higher measurement accuracy and repeatability. Swept mode is faster In the swept mode, over-sampling the GD shape offers the possibility of using smoothing to reduce the noise. If sampling is marginal, then smoothing sacrifices information. Step mode can greatly improve signal to noise by allowing the averaging of multiple samples at each measurement wavelength. Swept mode is limited to a single sample at each wavelength. For more information on measurement types, refer to Swept and Stepped Measurement Modes on page 57. Length Length Mode Measure Calculates the length of the test device based on specialized group delay measurements and a user-entered refractive index value. Index values of 1 to 10 can be chosen. This feature is intended for fiber and cable test applications. Specify Specifies the length of the fiber-optic cable in kilometers. You can specify Port 1 and Port 2 Length which will also be used in computing CD and PMD coefficients. Ports Specifies the input receiver ports used for measurement: Port 1, Port 2 or Both Ports. Measurement Range The start and stop wavelength settings define the x-axis limits for both stepped and swept measurement. Tip: For best curve fitting accuracy, measure over as wide a wavelength range as possible. The zero dispersion wavelength is most accurately measured when it falls near the middle of the measurement wavelength range. Accuracy is slightly degraded if it falls near the edge of the wavelength range, and is significantly degraded if it falls far outside, for example, in the 1300 nm window. 98 Agilent 86038A Optical Dispersion Analyzer, Third Edition

99 Setup Menu Function Reference Start (nm) Sets the start wavelength. This setting is independent of the settings specified for the X Scale Display which affect the viewable range only. Stop (nm) Sets the stop wavelength. This setting is independent of the settings specified for the X Scale Display which affect the viewable range only. Copy From Selected Graph Sets the start and stop wavelength to the displayed endpoints of the selected graph. Agilent 86038A Optical Dispersion Analyzer, Third Edition 99

100 Function Reference Setup Menu Normalization Range Specifies the wavelength range and the wavelength increment for the normalization precess. Tip: Choose a normalized wavelength range that is equal to or greater than the measurement wavelength range. Use Measurement Settings Uses the measurement settings specified for start and stop wavelength, in the Meas Range setup panel, and Trace Points and Increment settings specified in the Sensitivity/Resolution setup panel. Customize Allows you to specify Start and Stop Wavelength, Trace Points, and Increment independent from the settings specified for the measurement. Begin Normalization shortcut accesses the Begin Normalization panel. For more information on performing a normalization, refer to Begin Normalization on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

101 Setup Menu Function Reference Sensitivity/Resolution Resolution Area Trace Points For Stepped measurement modes Sets the number of measurement wavelengths including the start and stop wavelengths. The greater the number of trace points the greater the measurement accuracy. However, the measurement time also increases. For Swept measurement mode Sets the number of trace points to either 801 or Increment Specifies the separation between adjacent measurement wavelengths. In stepped measurements, it specifies the TLS wavelength step. In swept measurements, it represents (wavelength range)/ (number of trace points minus one). Tip: Select a wavelength increment just small enough to reveal the shape of the group delay curve. RF Mod Freq Specifies the RF modulation frequency used to modulate the optical signal in the ODA test set. In general, a high modulation frequency minimizes instrumentation noise and a low modulation frequency maximizes wavelength resolution. Tips on the Modulation Frequency Selection If selecting modulation frequency manually, use the selection charts to choose a combination of wavelength increment and modulation frequency that will avoid phase wrapping errors and aliasing errors. For example, when measuring high dispersion fibers in step mode with manual modulation frequency selection, the use of 2000 MHz modulation frequency may require the selection of a low wavelength increment to avoid aliasing. This increases test time. To reduce test time, lower the modulation frequency and increase the wavelength increment. Changing the modulation frequency between normalization and device measurements causes a loss/gain offset due to the frequency response details of the optical receiver and the network analyzer RF circuitry. This point is true even when PDA correction is not selected. Agilent 86038A Optical Dispersion Analyzer, Third Edition 101

102 Function Reference Setup Menu The shape of the PDA error changes significantly for different modulation frequencies, so, if the modulation frequency is changed, a normalization with PDA should be performed. For more information on PDA, refer to Phase Dynamic Accuracy on page 108. A good rule of thumb is to use a modulation frequency that is less than 1/20 of the free spectral range of the ripple effect. For example, a 500 MHz modulation frequency could be used to explore ripple with 10 GHz FSR (or about an 80 pm period) with an attenuation of about 5% of the ripple peak-to-peak value. 102 Agilent 86038A Optical Dispersion Analyzer, Third Edition

103 Setup Menu Function Reference Maximum RF Modulation Frequency (MHZ) The following table lists recommended modulation frequencies. Any modulation smaller than that listed will give correct results (that is, no phase wrapping). Smaller modulation frequencies will have more noise and better resolution. Table cells that have an arrow symbol ( ) indicate that you must decrease the wavelength increment to achieve the desired τrgd. Table 5 Maximum RF Modulation Frequency (MHz) for <90 phase steps f 90 = 1 ( 4 τ λ) λ Wavelength Increment (nm) τrgd (ns/nm) any any any any any any any any any any any any any any any any any any any any any Auto Modulation Frequency For Stepped mode measurements only! Automatically selects the modulation frequency to avoid RF phase wrapping. The amount of RF phase change that is generated in response to a wavelength increment is determined by the product of the wavelength increment, the modulation frequency, and the dispersion of the test device. Automatic adjustment of the modulation frequency ensures that the perwavelength-step phase change is always less than ±180 degrees on port 1 only. Tip: Use auto mode if the approximate group delay/dispersion characteristics are not known in advance. Agilent 86038A Optical Dispersion Analyzer, Third Edition 103

104 Function Reference Setup Menu Tip: When using both ports and auto modulation frequency, connect the device with the largest dispersion to port 1. Sensitivity Area IF Bandwidth Sets the bandwidth of the filtering process that trades off measurement noise floor (sensitivity) against measurement speed. A lower IF bandwidth value means lower noise (high sensitivity) and a longer measurement time. Reduce the IF bandwidth as needed to control trace noise. This is particularly important when measuring a high insertion loss device. See Smooth. Tips on IF Bandwidth Selection For higher loss (typically longer) fibers, improve signal to noise by using a narrower IF bandwidth. Expect to trade-off measurement speed. When making PDL or DGD measurements, the polarization scanner runs at a fixed speed and produces PDL or DGD changes with the majority of spectral content around 8 Hz. This limits the minimum IF bandwidth when scanning to 70 Hz, which avoids attenuating the 8 Hz components. Using a wider IF bandwidth allows a faster measurement, but raises the noise in the measurement and may slightly bias DGD and PLDL toward larger values. During PDA normalization, 70 Hz IF bandwidth is used to characterize noise components with the scanner off, for both GD and Magnitude. These noise measurements provide the best correction to DGD and PDL when measuring 70 Hz IF bandwidth. For more information on PDA, refer to Phase Dynamic Accuracy on page 108. Samples/Point Determines the number of amplitude and phase measurements (samples) that are taken at each measurement wavelength (trace point). In the Swept measurement mode the samples per point is always 1. In Stepped measurement modes, you select how many samples to take at each measurement wavelength. The multiple samples are averaged to generate a single trace point. A larger number of points means more averaging, suitable for reducing trace noise in cases of high insertion loss test devices. Large number of points improves the polarization mode coverage to provide more accurate DGD and PDL. Note that a large number of samples increases susceptibility to drift. Tips on Number of Samples In stepped mode, use a larger number of samples to improve signal to noise. Ex- 104 Agilent 86038A Optical Dispersion Analyzer, Third Edition

105 Setup Menu Function Reference pect to trade-off measurement speed. 201 samples per point is a good compromise of polarization scan coverage, collecting enough data to average out noise, and keeping the measurement time short enough to avoid drift effects. In many applications, 401 samples may not improve the measurement accuracy due to drift effects. Dynamic Drift Reduction For stepped mode measurements only This system function reduces measurement error contributed by gradual, continuous temperature changes in the test path or the measurement system itself. It is appropriate for use when the temperature of the room is gradually rising or falling, or when the test device gradually transitions from one temperature to another. This function is not suited to rapid or stepped temperature changes. The movement of air over the test path can generate rapid, small group delay changes. Reduce this type of error by covering the test path to block air currents. Laser Setup TLS Power This control sets the TLS output power. The default value of 5 dbm is available from the 81600B TLS over the full wavelength range. For the 81600B-160 TLS a power level of +5 dbm is available from 1520 nm to 1610 nm. For other tunable laser sources please refer to the individual TLS specification. At higher TLS power levels, Amplitude Dynamic Range and Group Delay Noise is improved, but phase dynamic accuracy (PDA) effects are more pronounced. After changing the TLS power, normalization (without PDA) is required. The TLS power level can be lowered to eliminate artifacts of Gain Stage Switching (possibly 200 fs, typically 50 fs, discontinuities in group delay). These may occur when the power level at the receiver is comparable to a 0 db insertion loss DUT with about 9 dbm TLS power, and again at a power level 9 db higher. Gain Stage switching only occurs at these two power levels. Port 1 and Port 2 may switch at slightly different levels. Alternatively, the TLS power can be increased to move the artifacts away from the region of interest. Refer to If you see errors in Group Delay measurements but no error is visible in Gain/Loss on page 268 for an example. Agilent 86038A Optical Dispersion Analyzer, Third Edition 105

106 Function Reference Setup Menu If the requested power is larger than available, no indication is given at the ODA user interface. While sweeping, the excess power condition is annunciated at the upper left of the TLS display with the flag: 'Exp'. This can be viewed by removing the TLS cover and pressing the "local" softkey on the TLS. There is slightly more TLS power available in step mode than in swept mode. Refer to the TLS specifications for maximum power level in various spans. Settle TLS Now Initiates the TLS settle (Lambda Zero) process on the tunable laser source. The ODA relies on the tunable laser to provide high resolution and dynamic range. The laser has a mechanically tuned cavity that is sensitive to temperature change, requiring the laser to track the internal temperature and occasionally perform a realignment. A status message, Estimated Time Until Next TLS Settling, indicates the time before a TLS Settling is required. Under normal temperature conditions, the status message may show 120 minutes as the estimate. This status message is updated every minute. A TLS settle can be performed in two ways: When the estimated time turns from a green to yellow background, then initiating a Settle TLS Now will start the TLS settle process. Note that a TLS Settling can be initiated by the user at anytime. When the estimated time turns from a yellow to red background, a TLS settle will automatically be performed in approximately 4 minutes. In Swept mode, the current measurement will finish before the TLS Settling is initiated. In Stepped mode, the measurement will pause after the current step is measured and restart with the next step once the TLS Settling is complete. We recommend that once the icon turns from green to yellow, that you start a TLS Settling immediately before beginning a new measurement. Tip: A TLS settle indicator is also displayed as a Lambda symbol at the bottom right of the display. The color of the Lambda symbol changes in the same way as described above. A TLS Settling can be initiated by right clicking the icon and selecting Settle TLS Now. Trigger Mode Single Sweep In swept measurement mode, this function initiates one sweep of the measurement range. 106 Agilent 86038A Optical Dispersion Analyzer, Third Edition

107 Measure Menu Function Reference Repeat Sweep Continuously sweeps until the measurement is canceled or the instrument is set to Single Sweep. Tip: Fast access to the Trigger Mode setting is from the icon on the toolbar. Measure Menu Begin Measurement Starts the measurement process as specified in the Setup menu. A measurement progress indicator is shown at the bottom left of the display. The indicator only appears during a measurement. Begin Normalization Accesses the Normalization setup panel. Normalization is used to measure the loss and group delay of the test path. Later this data is subtracted from the DUT measurement to generate measurement results. Refer to Normalization Range on page 100 to specify custom normalization settings. A normalization can optionally run the following tests: Length If a Length measurement is specified with the Measure mode, the Normalization path s length is measured so that it can be subtracted out. DUT Length = Total Length - Normalized Path Length. Refer to Length on page 98 to setup a length measurement. Wavelength Correction Using the optional 86122A multi-wavelength meter, wavelength correction is performed for stepped normalizations. That is, when Setup > CD/PMD > is set to one of the two stepped measurement modes. Wavelength correction is always performed if an 86122A is connected. Five wavelength points are measured and the average offset is applied. Agilent 86038A Optical Dispersion Analyzer, Third Edition 107

108 Function Reference Measure Menu Optimize Optical Modulator Bias routine If Phase Dynamic Accuracy is selected, normalization also runs an Optimize Optical Modulator Bias routine. Once the normalization has begun, a Measurement in Progress message appears at the bottom of the display and the status bar will show the estimated time of each test process. For more information on the normalization process, refer to Normalization and Test on page 55. Phase Dynamic Accuracy Corrects for amplitude-to-phase conversion effects in the network analyzer. If your test device exhibits no loss variation across the wavelength range, then clear this selection to speed up the normalization time. Tips on Phase Dynamic Accuracy Correction PDA calibration is an optional normalization step that reduces the amplitude to phase conversion in the network analyzer. If the PDA is performed, both swept and stepped measurements will automatically apply it so long as the modulation frequency is unchanged. The use of PDA correction is recommended for all measurements but may be omitted in cases where the loss variation of the test device over wavelength is small and when the dispersion being measured is very high. Some fiber measurements fit this description. The PDA effect varies with modulation frequency, and for this reason the phase dynamic accuracy correction is valid only at the modulation frequency at which the PDA calibration was performed. There is some advantage in attenuating the power level seen at the receiver. The region of 10 to 25 db of DUT insertion loss has a smaller PDA effect, so for experiments changing the modulation frequency without recalling the proper normalization, this region might simulate 86037C behavior. There may be cases where the accuracy needed for the measurement does not require PDA corrections, in which case they would be optional. But, turning off the PDA corrections would seldom improve the accuracy of the measurement. For example, one of the higher slope regions of PDA at 2 GHz modulation frequency can cause GD errors of 380 fs/db when PDA corrections are off. Similarly, PDA at 10 MHz modulation frequency can cause GD errors of 18 ps/db when PDA corrections are off. Ports Port 1 measures Port 1 only. Port 2 measures Port 2 only. All Ports Simultaneously measures Port 1 and Port 2 at the same time. 108 Agilent 86038A Optical Dispersion Analyzer, Third Edition

109 Measure Menu Function Reference Clear accesses a panel to clear the normalization data. You can choose to clear the modulator bias value, phase dynamic accuracy data, or GD and Gain/Loss offsets. Cancel aborts the normalization process. Normalize starts the normalization process. Close exits the Normalization Viewer. Table 6 Operation Optimize Optical Modulator Gain/GD Normalization PDA Normalization Length Normalization WL Accuracy Normalization Install new SW version 3.0 V* blank* blank* blank* blank* Cycle power/load ODA application last used + last used* last user* last used + last used + Preset last used last used last used last used last used Recall State recalled recalled recalled recalled recalled Normalize with PDA, length, 86122A measured measured measured measured measured Normalize without PDA, with length and 86122A last used measured last used + measured measured Normalize without length, with PDA and 86122A measured measured measured last used measured Normalize without 86122A, with PDA and length measured measured measured measured last used Change number of ports last used last used last used last used last used Change swept, stepped, scanned last used last used + last used last used last used Change wavelength range last used last + extended ends* last used + last used + last used + Change RF Mod. Freq. last used + last used * last used * last used last used Change IF bandwidth last used last used + last used last used last used TLS Settling last used last used + last used last used last used + Agilent 86038A Optical Dispersion Analyzer, Third Edition 109

110 Function Reference Measure Menu Operations Affecting Normalization Below is a table of operations affecting the ODA normalization state. The indications of none, +, a minor source of measurement error, or *, a significant source of measurement error, for the operation being changed are only a rough guide. In particular, when using preset, the assumption is that other items on the list are not being changed, or will be set back to the state used for normalization. Similarly, when changing number of ports, it is assumed the change is to a configuration with a valid normalization. Begin Length Accesses the Begin Length setup panel and starts the specialized group delay measurement of a fiber-optic cable. See Length for information on setting up a length measurement. Optimize Optical Modulator Bias Performs an auto bias on the modulator in the test set. A mod bias is also performed each time Phase Dynamic Accuracy is run during a Normalization. For more information on the modulator bias routine, refer to Begin Normalization on page 107 and to Optical Modulator Bias Adjust on page 55. Cancel Operation Stops the measurement, normalization, or length measurement whichever one is currently in progress. 110 Agilent 86038A Optical Dispersion Analyzer, Third Edition

111 Display Menu Function Reference Display Menu X Scale Minimum Specifies the start wavelength to be viewed on the graphs. This setting is independent of the measurement wavelength range set in the Meas Range setup panel. Maximum Specifies the stop wavelength to be viewed on the graphs. This setting is independent of the measurement wavelength range set in the Meas Range Setup panel. Center Specifies the center wavelength to be viewed on the graphs. This setting is independent of the measurement wavelength range set in the Meas Range setup panel. Span Specifies the wavelength span to be viewed on the graphs. This setting is independent of the measurement wavelength range set in the Meas Range setup panel. View Full Width Sets the graph s start and stop wavelength range to the same values specified for the Meas Range setup panel. Synchronize All Graphs Sets all four graphs to the same X scale settings of the currently active graph. Snap Enabled When selected, the mouse pan and zoom functions are snapped to a rounded value of wavelength units. This is useful when you want to keep the units in an easy to calculate form. Clear Snap Enable when you need precision tuning of a portion of the graph where the exact units are important. Agilent 86038A Optical Dispersion Analyzer, Third Edition 111

112 Function Reference Display Menu Y Scale Ref Level Specifies the reference level value, the maximum expected value to be measure, at the reference level position. The Y-scale units depend on the type of measurement. DGD and GD measurements are specified in ps. Gain/Loss and PDL measurements are specified in db. CD measurements are specified in ps/nm. Units/Division Specifies the units per division of the vertical scale. The Y-scale units depend on the type of measurement. DGD and GD measurements are specified in ps. Gain/Loss and PDL measurements are specified in db. CD measurements are specified in ps/nm. Ref. Level Position Determines the position of the reference level on the display graticule. View Full Range Ensures that the highest and lowest Y-value is visible on the trace. Snap Enabled When selected, the mouse pan and zoom functions are snapped to a rounded value of amplitude units. This is useful when you want to keep the units in an easy to calculate form. Clear Snap Enable when you need precision tuning of a portion of the graph where the exact units are important. Auto Scale Centers the graph around the response. This function is useful after using the zoom functions. Selected Trace Performs an auto scale for the selected trace on the selected graph only. Selected Graph Performs an auto scale for the selected graph only. 112 Agilent 86038A Optical Dispersion Analyzer, Third Edition

113 Display Menu Function Reference All Graphs Performs an auto scale on all graphs. Offset GD trace to zero at: Group delay traces are relative measurements. Depending on the device, you can set the zero point to one of the following options. Center Point Minimum Point Maximum Point No Offset Autoscale During Measurement For Swept measurements, an auto scale is performed on all graphs at the end of a measurement. For Stepped measurements, an autoscale on all graphs is performed at the end of each wavelength increment as specified in the Sens/Res setup panel. Agilent 86038A Optical Dispersion Analyzer, Third Edition 113

114 Function Reference Display Menu Marker Setup Show Markers Turns the marker functions on or off. Tip: Toggle the markers off, then on to reposition the markers near the center of the viewable range. Marker Position Allows you to enter in a specific wavelength for both marker 1 and marker 2. Tip: If markers are turned on, the curve fit function will only apply to the region of the trace that is between the markers. Refer to Curve Fit on page 120 for more information. Marker Search Shortcut accesses the Marker Search panel. This is useful when using a mouse to navigate the functions. Marker Function Shortcut accesses the Marker Function panel. Marker Search Allows you to move the active marker to either the peaks or pits of the trace. Far Left places the marker on the last peak or pit on the left side of the trace. Next Left places the marker on the next peak or pit left of the current marker posi tion. Next Right places the marker on the next peak or pit right of the current marker po sition. Far Right places the marker on the last peak or pit on the right side of the trace. Lowest places the marker on the lowest peak or pit amplitude on the trace. Next Down places the marker on the next lowest peak or pit amplitude of the cur rent marker position Next Up places the marker on the next highest peak or pit amplitude of the current marker position. Highest places the marker on the highest peak or pit amplitude on the trace. 114 Agilent 86038A Optical Dispersion Analyzer, Third Edition

115 Display Menu Function Reference Search Criteria Search Type Specifies the active marker as either a peak or pit marker. Peak places the active marker on a peak of the active trace which meets the excursion criteria. Use the marker search toolbar to navigate to the desired peak of the trace. Pit places the active marker on a pit of the active trace which meets the excursion criteria. Use the marker search toolbar to navigate to the desired pit of the trace. Active Marker Specifies which marker is currently active, marker 1 or marker 2. Excursion Sets the peak or pit excursion value for the marker search functions. It is used to determine which on screen responses are accepted as discrete spectral responses. To be accepted, each trace peak/pit must rise, and then fall by at least the excursion value about a given spectral component. Setting the value too high will result in failure to include the smaller responses. Setting the value too low will cause all spectral components to be accepted. Marker Function Shortcut accesses the Marker Function panel. Marker Search Shortcut accesses the Marker Search panel. Agilent 86038A Optical Dispersion Analyzer, Third Edition 115

116 Function Reference Display Menu Marker Functions Active Trace Displays the currently active trace. Use the Next Trace key in the Navigation area to change the active trace. Active Marker Displays and allows you to specify the active marker. Before using Marker Search and Marker Functions, the Active Marker must first be identified. To Center Moves the currently active marker to the center of the viewable range. To Reference Position Moves the currently active marker to the reference level position on the active trace. Zero GD Trace (Applies only to GD Trace) Group delay is a relative measurement. Use this function to offset the GD trace at the selected marker to a y-value of zero. Also see Offset GD trace to zero at: on page 113. Marker Setup Shortcut accesses the Marker Setup panel. Marker Function Shortcut accesses the Marker Function panel. 116 Agilent 86038A Optical Dispersion Analyzer, Third Edition

117 Display Menu Function Reference Define Trace Assigns a measurement on a specified port to a specific trace on the graph. Up to two measurement traces can be assigned to each of the four graphs. GD Options Area The following example will show you how to assign the CD trace and the DGD trace for Port 2. 1 From the Navigation area, press Change View until all four traces are shown on the display. 2 From the Navigation area, press Next Trace until the desired graph and trace tab are highlighted (that is, shown in white). 3 From the Display area, press Define Trace. 4 In the Define Trace setup panel, select Port 2 and CD as the Measurement type. 5 From the Navigation area, press Next Trace to highlight the second trace tab on the graph. 6 In the Define Trace setup panel, select Port 2 and DGD as the measurement type. 7 Press Close to save the trace definitions. For each trace you can specify either Port 1 or Port 2 measurement traces and one of five measurement types. GD (Group Delay) CD (Chromatic Dispersion) DGD (Differential Group Delay) PDL (Polarization Dependant Loss) Gain Loss Show DGD Contribution Displays error bars on the group delay trace to show how much the GD varied do to polarization scanning. This option only applies when DGD data exists. See CD/PMD. GD Source By default, the CD trace is calculated using the slope of the actual GD trace. If a GD trace has been smoothed or curve fitted, selecting that trace as the GD Source may provide a lower noise CD trace. Agilent 86038A Optical Dispersion Analyzer, Third Edition 117

118 Function Reference Display Menu CD Options Area Dispersion coefficient can be displayed if the device length has been measured or specified (See Length ). If this option is enabled, each value in the CD trace is divided by the device length (km) to yield the CD coefficient. Smooth Smoothing controls (averages) the noise without losing too much detail. The smoothed trace takes over the current trace color and the unsmoothed (raw) trace is preserved in gray. Enable Smoothing When selected, smoothing is turned on. Algorithm Boxcar calculates a moving average using an odd number of consecutive data points centered on each element in the original trace. Exponential smoothing is applied forward and backward to eliminate a bias. The traces obtained from each pass are averaged to obtain the result. Gaussian takes a value for sigma (standard deviation) and applies a point centered gaussian smooth. Hanning performs a weighted average smooth where the weights are 25%, 50%, 25% for a 3-point window. Tips on the Smooth Function Be cautious when using smoothing functions, as severe smoothing can affect the accuracy of the curve fitting process. The fact that direct differentiation of the group delay data emphasizes the noise suggests applying smoothing to the group delay curve before differentiation. The combination of moderate smoothing of both the GD trace and the CD trace may lower the CD trace noise and preserve the CD wavelength resolution better than smoothing the CD trace alone. Refer to Apply Smoothing to Remove Noise on page 85 for more information. 118 Agilent 86038A Optical Dispersion Analyzer, Third Edition

119 Display Menu Function Reference Window Use the slide bar to select the number of consecutive trace points that are processed to yield one smoothed point (at the center of the Window). The smoothing process is repeated centered on each trace point. Hide Original Trace Removes the original trace from the graph so that only the smoothed trace is visible. Agilent 86038A Optical Dispersion Analyzer, Third Edition 119

120 Function Reference Display Menu Curve Fit The precision of chromatic dispersion measurements is greatly improved by fitting an appropriate model equation to the measured relative group delay data. Because direct differentiation of the raw group delay data tends to amplify the effect of noise, the values λ 0, S 0 and D (λ), the value of dispersion at any particular wavelength, are calculated from the fitted curve. The model equation should be chosen according to the type of device being measured. Enable Curve Fit When selected, applies the specified curve fitting algorithm to the trace. Algorithm Linear calculates single parameter least squares fit. The equation is the form: y = mx + b. It is commonly used for dispersion-shifted fiber, in which waveguide dispersion is dominant. Quadratic curve is a least squares fit to the equation a good approximation to any parabolic shape.. This is 3rd Order Sellmeier curve fit is commonly used for dispersion-unshifted fiber, in which material dispersion is dominant. 5th Order Sellmeier curve fit, although more affected by noise and instabilities in the measurement path, provides more general purpose curve fitting. The fiveterm Sellmeier fit can yield multiple zero-dispersion wavelengths. All the values and their associated slopes are shown in the graphs. The system searches for dispersion zeros in a wavelength range equaling approximately five times the measurement span (2.5 times each side of the center wavelength). This allows identification of zero-dispersion wavelengths which fall outside of the measurement range. In some cases, due to the peculiarity of the five-term Sellmeier fit, zero-dispersion wavelengths found outside of the measurement range may not correspond to actual zero-dispersion wavelengths of the device under test. Equation Area Displays the general form of the selected equation and additional information specific to the selected curve fit. Hide Original Trace y = Ax 2 + Bx + C Removes the original trace from the graph so that only the curve fit trace is visible. 120 Agilent 86038A Optical Dispersion Analyzer, Third Edition

121 Navigating the Front Panel Function Reference Navigating the Front Panel Change View Displays one, two, or four graphs sequentially as Change View is pressed. Multiple graph views allow you to view both port 1 and port 2 measurement traces at the same time. Refer to Define Trace on page 117 to define each graph with specific measurement traces. To make a particular graph full screen, activate the desired trace using the Next Trace key and then press Change View until just that one graph is displayed. Next Trace Activates each graph trace in a sequential manner each time the Next Trace key is pressed. If one graph is displayed, repeated key presses selects one trace and then the other. If two or more graphs are displayed, repeated key presses with select all traces in a sequential order. Use Next Trace to make any changes to the Display area functions. That is, X Scale, Y Scale, Auto Scale, Marker Setup, Marker Search, Define Trace, Smoothing, or Curve Fit. These functions are defined specifically for each trace. Agilent 86038A Optical Dispersion Analyzer, Third Edition 121

122 Function Reference Toolbar Functions Toolbar Functions The Zoom functions in the toolbar are only available with a mouse. The Measurement Control functions are also available from the Measure menu and the Measure area on the front panel. Zoom Functions Auto Scale Returns the x-axis scale that is shared by both traces to the measurement range of the current data. Sets the y-axis scale for the selected trace to values that ensure that the entire trace is visible. Auto Scale Selected Trace Performs an auto scale for the selected trace on the selected graph only. Auto Scale Selected Graph Performs an auto scale for the selected graph only. Auto Scale All Graphs Performs an auto scale on all graphs. Auto Scale During Measurement For Swept measurements, an auto scale is performed on all graphs at the end of a measurement. For Stepped measurements, an autoscale on all graphs is performed at the end of each wavelength increment as specified in the Sens/Res setup panel. Object Select Turns off the currently active zoom or pan function and allows you to select and move markers, if markers are turned on. 122 Agilent 86038A Optical Dispersion Analyzer, Third Edition

123 Toolbar Functions Function Reference Full Zoom Reduces both the x axis and the y axis on the active graph. Therefore, the zoomed-in area expands to fill the entire graph. To zoom in on a portion of the trace, click the toolbar s Full Zoom icon. Next, click and drag to draw a rectangle on the desired portion of the trace. If you make an error while zooming in, click the Auto Scale icon to restore full view. Horizontal Zoom Reduces the wavelength span on the active graph. Therefore, the zoomedin wavelength area expands to fill the entire display. To zoom in on a portion of the trace, click the toolbar s Horizontal Zoom icon. Next, click and drag to draw a rectangle on the desired wavelength portion of the trace. If you make an error while zooming in, click the Auto Scale icon to restore full view. Once you are viewing the minimum possible span, attempting to zoom further will attempt to center the viewable range on the center of the area dragged on with the mouse, but the span will remain the same. Vertical Zoom Reduces the y axis span on the active graph. Therefore, the zoomed-in area expands to fill the entire graph. To zoom in on a portion of the trace, click the toolbar s Vertical Zoom icon. Next, click and drag to draw a rectangle on the desired vertical portion of the trace. If you make an error while zooming in, click the Auto Scale icon to restore full view. Pan Moves the entire trace on the active graph with the motion of the mouse pointer. Click the Pan icon and then click on the graph. This function is useful when you zoom in on a portion of the trace, and need to quickly view another portion. Agilent 86038A Optical Dispersion Analyzer, Third Edition 123

124 Function Reference Toolbar Functions Measure Control Functions Begin Measurement Starts the measurement process as specified in the Setup menu. A measurement progress indicator is shown at the bottom left of the display. The indicator only appears during a measurement. Cancel Measurement Stops the measurement, normalization, mod bias, or length measurement whichever one is currently in progress. Trigger Mode (Toggle Continuous Sweep) Switches between continuous sweep mode and single sweep mode each time this icon is pressed. 124 Agilent 86038A Optical Dispersion Analyzer, Third Edition

125 5 Remote Operation Overview Recommended Control Sequence How to Configure the ODA for Networking How to Connect the ODA to Your Network How to Change Network Settings Install the Remote Client Program Structure: events vs. sequential Front Panel Functions with No Remote Equivalent Enumerations Event Table Troubleshooting Front Panel Maps Example 1: Simple Application for Controlling the ODA 154 Example 2: Control from Excel Example 3: Control from LabView Example 4: Complete application - RepeatMeas Agilent 86038A Optical Dispersion Analyzer, Third Edition 125

126 Remote Operation Overview Overview This chapter will help you control an ODA from your own computer. The chapter covers how to write your own applications, and how to control the ODA from existing applications such as Excel and LabView. The ODA is a remoting enabled, Microsoft.NET instrument that can be controlled across any LAN that can serve an http web page. The provided remote control client has an Active X interface and a.net interface, so you can control the ODA from many established applications such as Visual Basic 6.0 and VBA, as well as from.net enabled applications such as C#. The ODA uses.net remoting as the foundation for its external communications. Remoting is the process of programs or components interacting across different processes or machines. This technology provides the foundation for distributed applications and it replaces DCOM. In.NET remoting, the server program publishes an object on a network channel and the client program subscribes to that channel when loading or connecting to that object. In the case of the ODA, a RemoteServices object is published to an http channel and the subscribing client program is the RemoteClient. A Remoting server (RemoteServer) is embedded in the ODA user interface as a Serve Activated Object. (That is, the user interface starts the Remoting Server when the application starts and is running when a client connects.) The RemoteClient is a layer of abstraction, which provides customers with an easy to use interface that provides events and methods to control the ODA and retrieve measurement data. 126 Agilent 86038A Optical Dispersion Analyzer, Third Edition

127 Overview Remote Operation This section assumes that you are familiar with the front panel operation of the ODA. If you are unfamiliar with the instrument, refer to Chapter 1, Getting Started for an introduction to the front panel, and Chapter 3, Making Measurements for good measurement techniques. While this chapter assumes you are familiar with your programming environment, it does not assume familiarity with controlling remote objects from within that environment. Detailed examples are provided for VB 6.0, VB.NET and C#, the most common environments for controlling the ODA. These examples start from a blank project allowing you to see all the steps required. Agilent Technologies does not recommend controlling the ODA from C or C++ because of the difficulty of interfacing with COM objects that return safe arrays. This chapter also includes examples that pull data directly from the ODA into both Excel and LabView. These are very useful if you are setting up measurements manually, but want to analyze the results on your own computer. Agilent 86038A Optical Dispersion Analyzer, Third Edition 127

128 Remote Operation Overview How to Use This Chapter Depending on your familiarity with programming client/server models, you will want to use this chapter differently. If the subject is new to you, read the background material in this chapter and then go through Example 1 step-by-step for a complete introduction to creating a client application. If the client/server model is familiar, you may wish to start with Complete Source Code on page 179, then review the Recommended Control Sequence on page 130. You will find the Front Panel Maps on page 147 very useful for identifying specific commands. Note that Example 1: Simple Application for Controlling the ODA consists of the same simple program implemented three times: once in VB 6.0, VB.NET and C# respectively. Choose the version for the language you are most likely to use. Example 1 is presented in a series of steps, meant to be manually typed in (or pasted from the electronic version of this manual). The example shows you how to create a project and all the steps it takes to interface with the ODA. Example 2 demonstrates how to transfer data directly into Microsoft Excel, using Excel 2000 or later. Example 2 uses a VBA macro which is very similar to VB 6.0. Example 3 provides a set of LabView vi s allowing you to easily control the ODA from LabView. Example 4 is a complete application for taking ODA measurements at specific intervals over a period of time. It demonstrates proper error handling and includes considerably more safety checking than the other examples do. NOTE A VC++ remote programming example has not been provided because:.net passes its arrays to COM as Safe Arrays. This is easily handled by VB 6.0 but VC++ takes a lot of extra work. The Class Wizard cannot handle them all. Programmatically it takes a bit of code to do this on the VC++ side (but according to the documentation it can be done). This primarily affects the retrieval of the raw data array. VC++ has difficulty dealing with two DLLs that have interdependencies. The RemoteClient DLL uses data types in the InstrumentObjects DLL. One example used the Class Wizard and converted all the data types to basic data types, for example, int, double, and long. The InstrumentObjects data types are much easier to use. Events may not be threadsafe in VC++. Internally in the RemoteClient, code has been added to pass the events to the clients GUI thread. This may not work in VC++ and the client may have to do this. 128 Agilent 86038A Optical Dispersion Analyzer, Third Edition

129 Overview Remote Operation Tip: The electronic version of the user s guide is available from the ODA Help menu and on the CD that was supplied with the instrument. Because this manual is also distributed electronically, the formatting of code segments has been left to line-break where it needs to. This allows you to use the text selector tool to grab the code and paste it into your program. This means that the word-processor may occasionally insert a dash on the text as it appears on the screen that is not there when you copy the text. If you are manually typing the lines, you have to watch for and remove those dashes. Agilent 86038A Optical Dispersion Analyzer, Third Edition 129

130 Remote Operation Recommended Control Sequence Recommended Control Sequence This section provides a detailed discussion of the steps required to control the ODA. This section does not discuss language-specific considerations, even though the example code is in VB 6.0. Refer to Example 1: Simple Application for Controlling the ODA on page 154 to experiment with these concepts. Example 1 has versions specific to VB 6.0, VB.NET and C# that show you how to start with a blank project through working with the ODA system. How to Configure the ODA for Networking Remote programming of the ODA is only possible if the ODA is connected to a local area network (LAN) via the built-in LAN connector. When the ODA is connected to a network, it is also possible to connect it to network printers and remote servers, with access to shared folders and files. How to Connect the ODA to Your Network The ODA comes configured for DHCP networking, and has a default machine name. In many cases, connecting the ODA to your LAN is simply a case of registering the machine name with your IT department. NOTE Do not connect the ODA to a network that is configured to automatically install software on network devices. Installing or overwriting files on the ODA computer system may impact the operation of the instrument. Please contact your network administrator or IT department to find out if you have this type of network. NOTE The ODA LAN connector supports 10 Base-T and 100 Base-T Ethernet networks using TCP/IP and other Microsoft supported networking protocols. The ODA uses Microsoft Windows To connect to your LAN, power-down your instrument, connect an active LAN cable, then power-up your instrument. 130 Agilent 86038A Optical Dispersion Analyzer, Third Edition

131 Recommended Control Sequence Remote Operation How to Change Network Settings You can change the ODA network settings as needed so that it connects properly to your specific network. NOTE Because your network settings are unique to your IT infrastructure, Agilent Technologies will not be able to assist you with connecting your instrument to your network. Please contact your network administrator or IT department for assistance. For more information, refer to the MS Windows resource kit (available from Microsoft) that is appropriate for your computer system. You can also refer to the online Help for Windows 2000 (Start > Help). NOTE By default, as the instrument starts up, you are logged on as an administrator with the logon name ODA_User. Agilent only recommends using the ODA application while you are logged on as an administrator. You can change network settings by using the standard Microsoft Windows 2000 functions. To access these functions, you must exit the ODA application. You can do this by clicking Exit on the File menu. Enter the password agilentoda, and then click Yes. To view or change the computer machine name NOTE If you only wish to view the machine name, you can do this while the ODA application is running. On the Help menu, click About. The machine name is displayed near the middle of the dialog box. 1 On the File menu, click Exit. Enter the password agilentoda, and then click Yes. 2 Click Start, point to Settings, and then click Control Panel. 3 Double-click the System icon and click on the Network Identification tab. From here you can view or change the machine name. 4 When you have finished making changes, restart the instrument. Agilent 86038A Optical Dispersion Analyzer, Third Edition 131

132 Remote Operation Recommended Control Sequence To configure TCP/IP to use DNS or WINS NOTE If using a protocol other than TCP/IP, please contact your IT department for assistance. NOTE Editing your instrument s protocols and file access permissions can result in unwanted behaviors that are difficult to reverse. Ensure that your changes are valid! NOTE Please consult with your network administrator concerning advanced TCP/IP and multi-protocol configuration settings to support your network. NOTE Please contact your network administrator or IT department if you have any problems connecting the ODA to your network. 1 On the File menu, click Exit. Enter the password agilentoda, and then click Yes. 2 Click Start, point to Settings, and then click Network and Dial-up Connections. 3 Right-click the network connection that you want to configure, and then click Properties. 4 On the General tab (for a local area connection) or the Networking tab (all other connections), click Internet Protocol (TCP/IP), and then click Properties. From here, you can make all desired changes. 5 When you have finished making changes, restart the instrument. NOTE For more information, click Start > Help > Index, and search for DNS or WINS or static or dynamic. To configure TCP/IP for static or dynamic addressing To get started, follow the same steps listed above. 132 Agilent 86038A Optical Dispersion Analyzer, Third Edition

133 Recommended Control Sequence Remote Operation Install the Remote Client 1 Install the.net framework from Microsoft. Go to and search for How to get the Microsoft.NET framework. Be sure to get the framework and all the service packs. Make sure that you get the framework, not the SDK (software development kit.) 2 The 86038A CD shipped with the ODA contains the Remote Client Installation to install the ODA specific DLL s and the programming examples. Insert the CD into the CD drive, use Windows Explorer to find ODA Remote Client Installer Folder. NOTE If you scan the GPIB, or change the hardware selection, you will need to start a new measurement (including the setting of the measurement parameters, and the making of a reference measurement) before you can make further measurements. 3 Instantiate odaclient Before you can interface with the ODA, you have to declare the client object. The client object is an object written by Agilent and provided to you as part of the ODA Remote Client install. This object goes out over the LAN to interface with the ODA, and provides a defined interface for you to use. To provide better compatibility, the ODA actually has two remote clients - an Active X component for use with Visual Basic 6.0 and applications such as Excel, Matlab and LabView, and a.net interface for use with languages such as VB.NET and C#. There are three things you typically have to do to instantiate a client: Add the reference For the Active X interface, you need to reference InstrumentObjects.tlb and RemoteClient.tlb. For.NET, you need to reference the DLL s directly: InstrumentObjects.dll and RemoteClient.dll. These files are by default installed in C:\Program Files\Agilent\Agilent ODA Remote Control. In Visual Studio, you add references from the Project > Add Reference menu. Declare the object. In Visual Studio, you typically declare the object separately from instantiating it. For Visual Basic 6.0: Private WithEvents odaclient As RemoteClient.Communicator Instantiate the object. Use the keyword new to instantiate the object. For Visual Basic 6.0: Set odaclient = New RemoteClient.Communicator Agilent 86038A Optical Dispersion Analyzer, Third Edition 133

134 Remote Operation Recommended Control Sequence 4 Establish Connection to the ODA The first thing you have to do with your odaclient is to establish a connection to the particular ODA you want to talk to. You need to know the network name of the ODA. Once the ODA is on the LAN, you can get the network name from the front panel by select Help > About. The network name is displayed near the middle of the panel. Call odaclient.connectivity.connect(<insert oda name>) Once you have made the connection request, wait for the connection to complete (approximately 5 seconds). The ODA will send you an event when the connection is valid, or you can query odaclient.connectivity.isconnected. For every call to Connect() there has to be a call to Disconnect() because the ODA tracks how many remote users are connected. You can connect and disconnect as many times as you like if you want to turn control over to another program or to the front panel. At the very end of your program execution you should also terminate your session to clean up the connection. (odaclient.connectivity.terminatesession) 5 Set Measurement Type, Range and Port(s) Next, the ODA needs to be configured for the measurement that you want to make. Set up the measurement before doing the normalization so that the normalization will cover the measurement conditions. If you have several measurements to make, you may wish to manually configure the normalization wavelength range to cover all of the measurements. In this case, you would defer this step until after normalization. A sample configuration setting up for a swept CD and Gain measurement from 1535 to 1545 nm on Port 1 might look like: odaclient.measurementrange.xstart = 1535 odaclient.measurementrange.xstop = 1545 odaclient.dispersionmode = edispersionmode_cd_swept odaclient.ports = eportsenabled_port_1_enabled The start and stop wavelength is set in nm. Since a swept mode was chosen, you may want to specify the number of trace points: odaclient.resolution.swept.tracepoints = etracepointssweptmode_step801 There are three different measurement modes, the same choices you get on the CD/PMD front panel setup menu: 134 Agilent 86038A Optical Dispersion Analyzer, Third Edition

135 Recommended Control Sequence Remote Operation Table 7 Measurement Modes edispersionmode_cd_swept edispersionmode_cd_stepped edispersionmode_cd_pmd_stepped Measure Gain, Relative Group Delay, and Chromatic Dispersion with the tunable laser sweeping across the specified wavelengths. Measure Gain, Relative Group Delay, and Chromatic Dispersion with the tunable laser stepping across the specified wavelengths. Measure Gain, Relative Group Delay, Differential Group Delay, Chromatic Dispersion, and Polarization Dependant Loss with the tunable laser stepping across the specified wavelengths. If a stepped mode has been chosen, you may want to specify the wavelength step size. This indirectly sets the number of points in the trace: odaclient.resolution.stepped.increment = 0.02 The above example sets a step of 0.02 nm. This would set 501 trace points for the requested 10 nm sweep (1535 to 1545 nm). You can activate port 1, port 2, or both: eportsenabled_port_1_enabled eportsenabled_port_2_enabled eportsenabled_all_ports_enabled 6 Normalize With the system configured for the measurement, the next step is to normalize. This consists of prompting the user to make the connections, starting the normalization and waiting for it to finish. In this example the trigger status is polled until the normalization has been completed. Refer to Program Structure: events vs. sequential on page 138 for a more detail discussion about how to synchronize your program with the ODA. Use measurement range and port for normalization odaclient.normalizationrange.usecustomnormalization = False Have user make connection MsgBox ("Connect ODA for normalization") Start the normalization odaclient.actions.normalize (False) Give it time to get started before checking flags Sleep 1000 Wait for TriggerComplete, but no longer than 30 minutes Dim elapsedtime As Double elapsedtime = 0 Do DoEvents Sleep 100 elapsedtime = elapsedtime If elapsedtime / 1000 / 60 > 30 Then Exit Do Loop Until odaclient.status.triggercomplete = True Agilent 86038A Optical Dispersion Analyzer, Third Edition 135

136 Remote Operation Recommended Control Sequence Tip: The normalization will be performed on the enabled port(s). If both ports are enabled, both ports will be normalized in one sweep, which requires an external coupler. If you do not want the coupler to be included in the normalization, you can temporarily enable port 1, normalize, then enable port 2, normalize, and then enable both ports for measurement. The sleep statement is used above to slow the loop down - you do not want to query the ODA hundreds of times a second. To use the sleep command, you need to declare it at the top of your module: Private Declare Sub Sleep Lib "Kernel32" (ByVal dwmilliseconds As Long) Phase dynamic accuracy (PDA) is used to correct for amplitude-to-phase conversion effects in the measurement receiver. If your test device exhibits no loss variation across the wavelength range, then do not run PDA, as it adds approximately 7 minutes to the normalization time. The command to enable it: odaclient.normalizationrange.pdaenabled = True 7 Measure Trigger the measurement, then wait for the sweep to complete. This looks very much like normalization: ' Make sure not connected for normalization MsgBox ("Connect ODA for measurement") ' Start the sweep odaclient.actions.measure ' Let sweep get started before polling Sleep 1000 Dim elapsedtime As Double elapsedtime = 0 ' Poll the ODA waiting for the sweep to complete ' NOTE: 30 minutes may not be long enough! Do DoEvents Sleep (100) elapsedtime = elapsedtime If elapsedtime / 1000 / 60 > 30 Then Exit Do Loop Until odaclient.status.triggercomplete = True 8 Transfer Data Now that there is valid data in the ODA, you will want to transfer it out. To determine the wavelength axis, read the start and stop wavelengths and the number of points (You can determine the number of points in the returned arrays.) then calculate the wavelength for each point as part of your application. 136 Agilent 86038A Optical Dispersion Analyzer, Third Edition

137 Recommended Control Sequence Remote Operation NOTE When the ODA takes the derivative of group delay to calculate chromatic dispersion, the effective wavelength axis shifts one-half of a point spacing upwards (and there is one less point.) So, the wavelength queries force you to specify the measurement type, so you can query the correct wavelengths. Gain, Group Delay, DGD, and PLDL share the same wavelengths, CD is the only measurement with offset wavelengths. This example queries the gain: Dim gaindata() As Double ' Get the data and figure out the wavelength axis gaindata = odaclient.results.ydata(emeasurementtype_gain, eodaport_one) npoin = UBound(gainData) - LBound(gainData)+1 xstart = odaclient.results.xstart(emeasurementtype_gain) xstop = odaclient.results.xstop(emeasurementtype_gain) xstep = (xstop - xstart) / (npoin - 1) See Table 8, ODA Enumerations, on page 141 for the other possible values of the emeasurementtype enumeration. When this code snippet finishes, the gain data will be in gaindata, and you can calculate the wavelength of any point from the xstart and xstep variables. 9 Disconnect from the ODA The ODA keeps track of who is connected to it. If one of the connections quits responding, the ODA will go through a time-consuming clean-up process to remove references to the dead connection. To avoid this, and to avoid Visual Studio getting confused, it is very important to issue a disconnect statement for every connect statement, even when debugging. If you are debugging and decide to halt program execution, you should either manually run the following statement, or run a function (such as Form_Close) that executes it: odaclient.connectivity.disconnect In addition, it is necessary to terminate the session when your program is closing down to allow clean up on both sides: odaclient.connectivity.terminatesession Agilent 86038A Optical Dispersion Analyzer, Third Edition 137

138 Remote Operation Recommended Control Sequence Program Structure: events vs. sequential A traditional remote control application consists of a list of actions that you send to the instrument, expecting it to execute them in that order and to tell you when it is done. This makes programming easy - you can do your whole measurement in a single function or sub-routine. Because everything always happens serially in the same order, this style of programming is often called sequential or functional programming. A more advanced approach is to take advantage of multitasking to overlap different instruments and pre and post calculations done in the computer. This is more complex to program, but can have significant execution time advantages. In this scenario, the base of your application becomes a state machine that launches the appropriate activities, then wakes up when the activities complete and determines what to do next. The state machine wakes up when it receives events, such as a thread completing a calculation or an instrument completing a sweep. Because of this use of events, this style of programming is often called event based. The ODA is configured as an event based remote client because you can make an event based client behave sequentially, but it is difficult to make a sequential client efficiently multi task. For a specific example, consider a typical sequence programming GPIB using SCPI (which you cannot do with the ODA.) Taking a sweep may look like: writeoda(oda, STAR 1520 nm ) writeoda(oda, STOP 1535 nm ) writeoda(oda, INIT:IMM; *OPC? ) value = readoda(oda) // block on sweep complete This example tells the instrument the sweep parameters, triggers the sweep and then blocks until the OPC? returns a 1, indicating the sweep is complete. To do the same thing in the ODA, you send the commands and then wait for the ODA to indicate that it has completed the sweep: odaclient.measurementrange.xstart = 1520 odaclient.measurementrange.xstop = 1535 odaclient.actions.measure sleep(1000) loop sleep(100) elapsedtime += 100 while elapsedtime < MAX_TIME and odaclient.status.triggercomplete!= TRUE Notice that the loop has a sleep statement, which stops the program for 100 ms, letting other programs run, and a timeout if nothing happens for too long. You cannot query a TriggerComplete flag too soon after requesting a sweep because the flag is not clear until the sweep actually starts. 138 Agilent 86038A Optical Dispersion Analyzer, Third Edition

139 Recommended Control Sequence Remote Operation This same loop will work for a sweep or a normalization. You will also have to wait for the initial connect to the ODA. It typically takes about five seconds for the connection to be fully established, you can either check for connectivity each time you start a block of activity with the ODA (which is a good idea) or you can have a similar wait loop. To check for connectivity: if odaclient.connectivity.connected == FALSE Then messagetouser( Lost connection to ODA, unable to proceed ) return end if To open the session and wait for a valid connection: odaclient.connectivity.connect() sleep(5000) \\ wait 5 seconds loop sleep(100) elapsedtime += 100 while elapsedtime < MAX_TIME and odaclient.connectivity.connected!= TRUE Agilent 86038A Optical Dispersion Analyzer, Third Edition 139

140 Remote Operation Recommended Control Sequence Front Panel Functions with No Remote Equivalent This section lists front panel functions that do not have an equivalent remote command. In general, functions that are used only rarely and functions that are better implemented on your computer (for example, markers) have no remote control equivalent. X Scale Y Scale Auto Scale Marker Setup Marker Search Marker Function Smoothing Wavemeter Config Optical Test Set Heater Set Point Navigation 140 Agilent 86038A Optical Dispersion Analyzer, Third Edition

141 Recommended Control Sequence Remote Operation Enumerations Many communications with the ODA will involve enumerated types - where there is a finite number of possible values, each with a unique spelling. Because the ODA exports both an Active X (for example, VB 6.0) and a.net interface, there are two slightly different versions of all the enumerations. The.NET version takes the form object.name, whereas the Active X interface uses object_name. When you use VB 6.0, the enumerations are automatically qualified for you by the function that is passing or returning them, so you only need to know the spelling below. In.NET, you must enter the complete object path to the enumeration. Fortunately, in most cases IntelliSense will offer you a list of options so you will not have to type the complete object path. In.NET, the enumerations all come off the following root, unless otherwise specified: Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon In VB 6.0, the enumerations all come off of the InstrumentObjects interface, although you will not need to know this. Table 8 ODA Enumerations Enumeration Values in VB 6 Values in.net edispersionmode odaclient.dispersionmode eeventlogtype Event: NewStatus egdoffsetmode odaclient.display.gdoffsetmode edispersionmode_cd_pmd_stepped edispersionmode_cd_stepped edispersionmode_cd_swept eeventlogtype_eventerror eeventlogtype_information eeventlogtype_warning egdoffsetmode_centerpoint egdoffsetmode_maximumpoint egdoffsetmode_minimumpoint egdoffsetmode_no_offset edispersionmode.cd_pmd_stepped edispersionmode.cd_stepped edispersionmode.cd_swept eeventlogtype.eventerror eeventlogtype.information eeventlogtype.warning ODASensitivity.eGDOffsetMode: 1.CenterPoint.MaximumPoint.MinimumPoint.No_Offset Agilent 86038A Optical Dispersion Analyzer, Third Edition 141

142 Remote Operation Recommended Control Sequence Table 8 ODA Enumerations Enumeration Values in VB 6 Values in.net eifbandwidth odaclient.sensitivity.ifbandwidth einstrumentstatus odaclient.status.instrumentstate elayoutmode odaclient.display.togglemode elengthmode odaclient.length.mode emeasnormdatatype odaclient.results.fiberlength emeasurementtype Used in defining traces and reading data back. enumacquisitionmode event: NewDataUpdate eifbandwidth_ifbw_30hz eifbandwidth_ifbw_70hz eifbandwidth_ifbw_100hz eifbandwidth_ifbw_200hz eifbandwidth_ifbw_300hz eifbandwidth_ifbw_1000hz eifbandwidth_ifbw_2000hz eifbandwidth_ifbw_40000hz einstrumentstatus_aborting einstrumentstatus_idle einstrumentstatus_initializing einstrumentstatus_tlssettling einstrumentstatus_measuring elayoutmode_quad_graph elayoutmode_dual_graph elayoutmode_single_graph elengthmode_measure elengthmode_specify emeasnormdatatype_measurement emeasnormdatatype_normalization emeasurementtype_cd emeasurementtype_gain emeasurementtype_gd emeasurementtype_length emeasurementtype_none emeasurementtype_pdl emeasurementtype_pmd enumacquisitionmode_edriftmonitor enumacquisitionmode_elength enumacquisitionmode_emeasurement enumacquisitionmode_emodbias enumacquisitionmode_enormalization ODASensitivity.eIFBandwidth: 1.IFBW_30Hz.IFBW_70Hz.IFBW_100Hz.IFBW_200Hz.IFBW_300Hz.IFBW_1000Hz.IFBW_2000Hz.IFBW_40000Hz einstrumentstatus.aborting einstrumentstatus.idle einstrumentstatus.initializing einsturmentstatus.tlssettling einstrumentstatus.measuring elayoutmode.quad_graph elayoutmode.dual_graph elayoutmode.single_graph ODALength.eLengthMode: 1.Measure.Specify emeasnormdatatype.measurement emeasnormdatatype.normalization emeasurementtype.cd emeasurementtype.gain emeasurementtype.gd emeasurementtype.length emeasurementtype.none emeasurementtype.pdl emeasurementtype.pmd enumacquisitionmode.edriftmonitor enumacquisitionmode.elength enumacquisitionmode.emeasurement enumacquisitionmode.emodbias enumacquisitionmode.enormalization 142 Agilent 86038A Optical Dispersion Analyzer, Third Edition

143 Recommended Control Sequence Remote Operation Table 8 ODA Enumerations Enumeration Values in VB 6 Values in.net enumlasermode event: NewDataUpdate enumonoff Used many places. enumstatus Used to indicate progress, such as trigger or sweep progress. enumtesttype enumtlssettlingprobability Event: TLSSettlingProbability eodaport Used several places to refer to ports. eportsenabled odaclient.ports etraceletter odaclient.display.definetrace etracepointssweptmode For normalization and measurement trace point setting. etriggertype odaclient.triggermodeparams enumlasermode_estepped enumlasermode_eswept enumonoff_eoff enumonoff_eon enumstatus_aborted enumstatus_complete enumstatus_start enumtesttype_driftmonitor enumtesttype_gd_cd_pmd enumtesttype_gd_cd_stepped enumtesttype_gd_cd_swept enumtesttype_length enumtesttype_modbias enumtesttype_pda enumtesttype_wavelengthcorrection enumtlssettlingprobability_ehigh enumtlssettlingprobability_elow enumtlssettlingprobability_emedium eodaport_one eodaport_two eportsenabled_all_ports_enabled eportsenabled_port_1_enabled eportsenabled_port_2_enabled etraceletter_tracea etraceletter_traceb etracepointssweptmode_step1601 etracepointssweptmode_step801 etriggertype_triggercontinuous etriggertype_triggersingle enumlasermode.estepped enumlasermode.eswept enumonoff.eoff enumonoff.eon enumstatus.aborted enumstatus.complete enumstatus.start enumtesttype.driftmonitor enumtesttype.gd_cd_pmd enumtesttype.gd_cd_stepped enumtesttype.gd_cd_swept enumtesttype.length enumtesttype.modbias enumtesttype.pda enumtesttype.wavelengthcorrection enumtlssettlingprobability.ehigh enumtlssettlingprobability.elow enumtlssettlingprobability.emedium eodaport.one eodaport.two eportsenabled.all_ports_enabled eportsenabled.port_1_enabled eportsenabled.port_2_enabled etraceletter.tracea etraceletter.traceb ODAResolution.eTracePointsSweptMode: 1.Step1601.Step801 etriggertype.triggercontinuous etriggertype.triggersingle 1 This command comes off the root: Agilent.LWD.Ag86038x.InstrumentObjects. Agilent 86038A Optical Dispersion Analyzer, Third Edition 143

144 Remote Operation Recommended Control Sequence Event Table As mentioned in other sections, the ODA lends itself very well to event based programming. Events are very easy to use in Visual Basic. In C#, you have to know the name of the event and the delegate. The table below lists the available events on the odaclient, along with the associated status property if you prefer to query rather than wait for events. The C# delegates all come off of ODARemoting, as in ODARemoting.ConnectedDelegate. Table 9 ODA Events Description Event Equivalent Status Property C# Delegate Connected EstimatedTestTime NewDataUpdate This event occurs whenever a remote client connects to or disconnects from the ODA. A boolean pass parameter is set true on connection. odaclient.connectivity.isconnected() ConnectedDelegate An estimate of how long the current test is going to take is sent at the beginning of each test. The first parameter is the name as a string, the second is the test time estimate in seconds. (Not available by query) EstimatedTestTimeDelegate Indicates when new measurement data is available. Can indicate a partial trace update in stepped mode; swept mode is always a complete trace. Use odaclient.status.triggercomplete to detect end of sweep. NewStatus NewDataUpdateDelegate This event occurs whenever a new status message is presented to the user on the front panel of the ODA. The pass parameters include the message itself and the severity of the message. odaclient.status.errorflag, odaclient.status.lasterror PresetProgress NewStatusDelegate This event occurs when the ODA begins and completes an instrument preset. The pass parameter indicates whether it is the beginning or, end. odaclient.status.presetcomplete ProgressDelegate 144 Agilent 86038A Optical Dispersion Analyzer, Third Edition

145 Recommended Control Sequence Remote Operation Table 9 ODA Events Description Event Equivalent Status Property C# Delegate Remoting This event occurs when the user presses the local key on the ODA front panel and begins controlling the ODA manually even though a remote process is connected. force with odaclient.display.toggleremoteindicator SweepProgress RemotingDelegate This event occurs when a sweep is begun, when it is complete, and if it is aborted. The pass parameter indicates which of the three states occurred. Use odaclient.status.triggercomplete to detect end of sweep. TLSSettlingProbability SweepProgressDelegate This event occurs when the ODA queries the latest temperature reading from the tunable laser. The ODA calculates the estimated number of minutes until a Laser Settling is required, and reports it as a pass parameter. odaclient.status.estimatedtimetotlssettling TLSSettlingProgress TLSSettlingProbabilityDelegate This event occurs when the ODA starts, or completes the process of settling the tunable laser after temperature has drifted. The ODA will not make measurements while the settling is in progress. Status.TLSSettling TriggerProgress ProgressDelegate This event occurs at the start and finish of most ODA actions such as sweeping or normalization. The pass parameters indicate what the current activity is and whether it has started, completed, or aborted. Status.TriggerComplete TriggerProgressDelegate Agilent 86038A Optical Dispersion Analyzer, Third Edition 145

146 Remote Operation Recommended Control Sequence Troubleshooting As you develop your application, sooner or later you may lose synchronization with the ODA. This is indicated by errors that talk about the http connection or Automation error. If you get this type of error, the best thing to do is save and exit Visual Studio, then reopen the project. Visual Studio usually puts your projects in the Documents list on the Start menu, making it easy to open the project. When you rerun the project, your computer will resynchronize with the ODA, and usually the problem goes away at that point. If the problem is severe, the ODA will post a message and undergo a clean-up for a lost connection, this will take approximately one minute. If you are getting this problem frequently, make sure that you always execute a disconnect() for every connect(), even when debugging. Executing a TerminateSession() just before your application exits will help keep the ODA synchronized. If Automation errors persist, go into Project > References and clear the ODA objects, and then close the dialog. Reopen the dialog and reselect the references. Refer to Example 1: Simple Application for Controlling the ODA on page 154 for a step-by-step procedure of adding references. 146 Agilent 86038A Optical Dispersion Analyzer, Third Edition

147 Front Panel Maps Remote Operation Front Panel Maps Figure 12 Front Panel Related Commands Agilent 86038A Optical Dispersion Analyzer, Third Edition 147

148 Remote Operation Front Panel Maps Figure 13 Measurement Type Related Commands 148 Agilent 86038A Optical Dispersion Analyzer, Third Edition

149 Front Panel Maps Remote Operation Figure 14 Length Measurement Related Commands Agilent 86038A Optical Dispersion Analyzer, Third Edition 149

150 Remote Operation Front Panel Maps Figure 15 Measurement Range Related Commands 150 Agilent 86038A Optical Dispersion Analyzer, Third Edition

151 Front Panel Maps Remote Operation Figure 16 Port Selection Related Commands Agilent 86038A Optical Dispersion Analyzer, Third Edition 151

152 Remote Operation Front Panel Maps Figure 17 Normalization Range Related Commands 152 Agilent 86038A Optical Dispersion Analyzer, Third Edition

153 Front Panel Maps Remote Operation Figure 18 Sensitivity and Resolution Related Commands Agilent 86038A Optical Dispersion Analyzer, Third Edition 153

154 Remote Operation Example 1: Simple Application for Controlling the ODA Example 1: Simple Application for Controlling the ODA This example demonstrates a simple visual application to control the ODA. Refer to Recommended Control Sequence on page 130 for the full recommended sequence. For simplicity, this application omits normalization, but covers the rest of the steps. This example is presented in three different languages: VB6.0, VB.NET and C#. Go through the version for the language you are most likely to use. The source code is included with the Remote Control Installation. Navigate down to C:\Program Files\Agilent\Agilent ODA Remote Control\Examples 154 Agilent 86038A Optical Dispersion Analyzer, Third Edition

155 Example 1: Simple Application for Controlling the ODA Remote Operation Starting a VB 6.0 ODA Application Install Software Refer to Recommended Control Sequence on page 130. Application Shell The following steps show you how to build a simple shell to connect to the ODA. 1 Run Visual Basic Double click on Standard Exe to open a new project. Use the default name, Project1. This creates a project with a blank frame. To the left of the window is a tool bar with all the different controls you can put on the frame. Hovering the mouse over the icon will give a short description. 3 Click the Label icon (icon with capital A ), then click and drag to create a box in the upper left of Form 1. On the right side of the window, there should be a dialog titled Properties. (If not, click View > Properties Window.) In the Properties dialog, scroll down to choose Caption and then type ODA Name. Press Enter and notice that ODA Name appears on Form 1. 4 From the tool bar, click the Text Box icon, then click and drag to create a box in the upper right of Form 1. In the Properties dialog, click Name and type tbodaname. Click on Text and type the network name of your ODA as the default text. (Refer to the ODA Help > About to find your ODA network name.) 5 Click Project > References. This brings up a dialog that shows the selected DLL's that you can use in this project. Two DLL's are used to enable communication with the ODA. 6 Click Browse, then navigate to C:\Program Files\Agilent\Agilent ODA Remote Control. Click on InstrumentObjects.tlb to add InstrumentObjects to the list, then click Open. 7 Click Browse again and navigate to RemoteClient.tlb in the same directory. 8 Select Open, which takes you back to the References dialog. Note that the name of the Remote Client might appear as a long string "This is the RemoteClient for the Optical Dispersion Analyzer." Click OK to close the References dialog. Agilent 86038A Optical Dispersion Analyzer, Third Edition 155

156 Remote Operation Example 1: Simple Application for Controlling the ODA 9 Right click on the Form and select View Code. This brings up a simple Form.vb Code window, which is probably empty except for Option Explicit. Add the odaclient object as a member right after that line: Private WithEvents odaclient As RemoteClient.Communicator The odaclient will host all the interaction with the ODA. Before you can use it, though, you need to 'new' the object. Go back to the Form view, and double click on an unused area of the form. This takes you to the Form1_Load routine, where you can insert the following line directly above End Sub: Set odaclient = New RemoteClient.Communicator 10 Before you can talk to the ODA, you have to establish a link to it. From the tool bar, place a Button on the form. From the Properties dialog, Name the button pbconnect with Caption Connect. Double click the button to edit the source code. This will place you at pbconnect_click. The connection to the ODA is established here. Place the following lines above the final End Sub: Call odaclient.connectivity.connect(tbodaname.text) pbconnect.enabled = False You need to implement a disconnect method. This avoids a timeconsuming clean up when a connection goes stale and has to be cleaned out of the ODA interface. The second line grays out the Connect button so you do not forget and connect twice. 11 Go to the code window, and click the drop down list box at the upper left corner of the Code window. It probably says pbconnect, since you were just editing the connect method. Change it to Form. Now the list box at the upper right corner lists the various events you can write code for. It probably says Load. Click on the selections, and choose Unload. This will take you to Form_Unload, where you can insert the following lines: odaclient.connectivity.disconnect odaclient.connectivity.terminatesession 156 Agilent 86038A Optical Dispersion Analyzer, Third Edition

157 Example 1: Simple Application for Controlling the ODA Remote Operation The first line disconnects from the ODA itself, the second line cleans up the odaclient. Make sure that TerminateSession is the last thing you do before exiting this routine. 12 Click the Start button from the tool bar located at the top of the Visual Basic application (or Run > Start) to compile the application. If there are errors, fix them before continuing. Once the compile is successful, the application window will appear. Click the Connect button, and watch the ODA front panel. A green banner will appear on the ODA, announcing Remote User Connected. If this does not appear, it is most likely because the ODA Name is incorrect, or the ODA itself is not properly configured for networking (check your LAN connection). Go to the ODA front panel and select Help >About. The name is on the About panel. When you exit the program, it will disconnect from the ODA, leaving it free for front panel or other remote use. Event Handling Event handling is added to monitor the ODA events. A very useful event is a new status message. The status message is shown on the bottom of the ODA display. It announces when a sweep has begun, finished, and so on. By reflecting those messages on the remote application, you provide invaluable feedback to the user, particularly if they cannot see the ODA display. When an event like a new status message occurs, the ODA informs you by calling a method on your object. The Visual Basic editor knows what events you can receive, and handles all the interaction with the ODA itself. Visual Basic presents a list of available events in the function list. When you select the event, it creates the function to hold your event handling code. In Step 9 above, the odaclient declared used the keyword WithEvents. This instructs Visual Basic to find the events and make them available to you. Go into the code window and click on the selector in the upper left corner (it probably says Form). It presents a list of objects you have available. Select the odaclient. Now click on the selector in the upper right corner (it probably says SweepProgress.) You get a list of events you can choose to receive and write code for. If the event is in light gray, this indicates that you have not implemented it yet. If it is in bold type face, there is code for it. You do not need to implement all the events, just the ones you find useful. Agilent 86038A Optical Dispersion Analyzer, Third Edition 157

158 Remote Operation Example 1: Simple Application for Controlling the ODA The steps below walk through adding an event handler for NewStatus. 1 Add a display line to show user status messages. Add a text label as wide as the form, and call it lblstatus. Default the caption to "ODA Status." 2 Create the event function. Go to the code window. Click the object selector in the upper left corner of the window, and select odaclient. Now click the event method selector in the upper right corner of the display, and select NewStatus. This will take you to a function called odaclient_newstatus, that will be called when a new status message is displayed on the ODA. The first pass parameter is the message itself, the second pass parameter is an enumerated type telling you if the message was an error, informational, or a warning. To display the status, insert the following line inside odaclient_newstatus: lblstatus.caption = Message 3 Click the Run button, and connect to the ODA. The first message you will see is the Client connected message. Press Local on the ODA and take a sweep. You will see the progress messages appearing on the application as the measurement progresses. When you exit the application, it will release the ODA. All of the ODA events follow a similar pattern. The most useful events are TriggerProgress, which tells you when a measurement or normalization is complete, and TLSSettlingProbability, which warns you how long until the laser needs to perform a temperature settling. Take Sweep and Transfer Data In this exercise, you will trigger a sweep from your application, and when the sweep completes, transfer the data across and save it in a file. This consists of adding a button to trigger the sweep, and adding an event handler for the TriggerProgress event, to detect when the sweep is finished and save the data in C:\mydata.txt. 158 Agilent 86038A Optical Dispersion Analyzer, Third Edition

159 Example 1: Simple Application for Controlling the ODA Remote Operation 1 Add a button to the UI and Name it pbsweep, Caption Take Sweep. 2 Double click the button to go to the pbsweep_click function, and insert the following lines to make sure you are connected before actually taking a measurement: ' Don't do anything if not connected to ODA If odaclient.connectivity.isconnected = False Then MsgBox ("Can't take a measurement yet - not connected.") Exit Sub End If odaclient.measure 3 Run the software, click Connect and wait for the connection to complete. Then click Take Sweep, and watch the sweep progress on both the ODA and on the application message bar. 4 Add an event routine for TriggerProgress. The TriggerProgress event has two pass parameters - enumstatus and enumacquisitionmode. This indicates the status and progress of the current activity. This function checks the enumacquisitionmode to determine the type of trigger event (that is, measurement, normalization, TLS settling and so on) and then checks the enumstatus to see if the event is finished, indicating data is available. If so, call senddatatofile(). In the Source Code window, select odaclient in the Object Selector in the upper left hand corner of the window, then select TriggerProgress in the Method Selector in the upper right hand corner. This takes you to the sub odaclient_triggerprogress, with two pass parameters already declared. Progress is an enumerated type which tells you whether you are at the begin or end, and etriggermode, which tells you whether the current activity is a measurement or a normalization. Click on the next line after the sub declaration, and type: If etriggermode = When you type the '=' (equals sign), the Visual Basic editor will Intellisense all the possible values of the enumeration, and present you a list. In this case you want emeasurement. Intellisense makes dealing with events and enumerated types much easier in Visual Basic. Agilent 86038A Optical Dispersion Analyzer, Third Edition 159

160 Remote Operation Example 1: Simple Application for Controlling the ODA Fill out the function so it looks like: If etriggermode = enumacquisitionmode_emeasurement Then If progress = enumstatus_complete Then senddatatofile ("c:\mydata.txt") End If End If 5 Add the senddatatofile function. This is a very simple implementation using text streams. Insert this function immediately after odaclient_triggerprogress: Private Sub senddatatofile(byval filename As String) Dim gaindata() As Double Dim xstart As Double Dim xstop As Double Dim xstep As Double Dim npoin As Integer Dim cnt As Integer Dim idx As Integer Dim buf As String ' Get the data and figure out the wavelength axis gaindata = odaclient.results.ydata _ (emeasurementtype_gain,eodaport_one) npoin = UBound(gainData) - LBound(gainData)+1 xstart = odaclient.results.xstart(emeasurementtype_gain) xstop = odaclient.results.xstop(emeasurementtype_gain) xstep = (xstop - xstart) / (npoin - 1) ' Open the file and write the data Dim outputfilenum As Integer outputfilenum = 123 Open filename For Output As outputfilenum Write #outputfilenum, "Sample ODA File written from VB 6.0" Write #outputfilenum, Now Write #outputfilenum, "Wavelength (nm)", "Gain (db)" idx = 0 For cnt = LBound(gainData) To UBound(gainData) buf = CStr(xStart + xstep * idx) + "," + CStr(gainData(cnt)) Write #outputfilenum, xstart + xstep * idx, gaindata(cnt) idx = idx + 1 Next Close #outputfilenum End Sub 160 Agilent 86038A Optical Dispersion Analyzer, Third Edition

161 Example 1: Simple Application for Controlling the ODA Remote Operation 6 Run the software, connect and take a sweep. Then look for c:\mydata.txt. You can look at it with a text editor or import it into a spreadsheet. Tip: This program will grab data even if a sweep is triggered from the front panel. Run the software, and then connect. Go to the ODA front panel and click Local, then take a sweep. You will see the update messages appear on the application, and the application will detect end-of-sweep and transfer the data. 7 Exit the application when completed. Control Center Wavelength This section shows how to control a simple parameter on the ODA. This example will use the center wavelength. A text box is added for the user to enter the desired value, and then send that value to the ODA as part of the sweep. Changing a parameter consists of determining which property on which sub-object of odaclient to modify, then modifying it. 1 Add a text field, name it txtcenter, set default text to Then add a label that says "Center Wavelength, nm: ". 2 Modify the take sweep function to send the value to the ODA. Find the function pbsweep_click, and add the following lines to check the value and send it to the ODA. The ODA thinks in terms of start/stop wavelength, so the center wavelength must be converted to a start and stop wavelength. Find the pbsweep_click method, and insert the following code immediately before odaclient.measure: Dim centerwavel, startwavel, stopwavel, span, oldcenter As Double startwavel = odaclient.measurementrange.xstart stopwavel = odaclient.measurementrange.xstop span = stopwavel - startwavel centerwavel = CDbl(txtCenter.text) If centerwavel < 1400 Or centerwavel > 1700 Then MessageBox.Show("Wavelength out of range, defaulted to 1550") centerwavel = 1550 txtcenter.text = "1550" End If odaclient.measurementrange.xstart = centerwavel - span / 2 odaclient.measurementrange.xstop = centerwavel + span / 2 It works better if you first set the ODA to a relatively narrow sweep, such as 1530 to 1540 nm. Agilent 86038A Optical Dispersion Analyzer, Third Edition 161

162 Remote Operation Example 1: Simple Application for Controlling the ODA Complete source code Option Explicit ' Declare the odaclient. Private WithEvents odaclient As RemoteClient.Communicator Private Sub Form_Load() ' Instantiate the odaclient Set odaclient = New RemoteClient.Communicator End Sub Private Sub Form_Unload(Cancel As Integer) ' Disconnect from ODA and clean up on our side odaclient.connectivity.disconnect odaclient.connectivity.terminatesession End Sub Private Sub odaclient_newstatus(byval Message As String, ByVal MessageType As InstrumentObjects.eEventLogType) ' Let the user know something happened lblstatus.caption = Message End Sub Private Sub odaclient_triggerprogress(byval progress As InstrumentObjects.enumStatus, ByVal etriggermode As InstrumentObjects.enumAcquisitionMode) If etriggermode = enumacquisitionmode_emeasurement Then If progress = enumstatus_complete Then senddatatofile ("c:\mydata.txt") End If End If End Sub Private Sub senddatatofile(byval filename As String) Dim gaindata() As Double Dim xstart As Double Dim xstop As Double Dim xstep As Double Dim npoin As Integer Dim cnt As Integer Dim idx As Integer Dim buf As String ' Get the data and figure out the wavelength axis gaindata = odaclient.results.ydata _ (emeasurementtype_gain,eodaport_one) npoin = UBound(gainData) - LBound(gainData)+1 xstart = odaclient.results.xstart(emeasurementtype_gain) xstop = odaclient.results.xstop(emeasurementtype_gain) xstep = (xstop - xstart) / (npoin - 1) ' Open the file and write the data Dim outputfilenum As Integer outputfilenum = 123 Open filename For Output As outputfilenum Write #outputfilenum, "Sample ODA File written from VB 6.0" Write #outputfilenum, Now Write #outputfilenum, "Wavelength (nm)", "Gain (db)" idx = 0 For cnt = LBound(gainData) To UBound(gainData) buf = CStr(xStart + xstep * idx) + "," + CStr(gainData(cnt)) Write #outputfilenum, xstart + xstep * idx, gaindata(cnt) idx = idx Agilent 86038A Optical Dispersion Analyzer, Third Edition

163 Example 1: Simple Application for Controlling the ODA Remote Operation Next Close #outputfilenum End Sub Private Sub pbconnect_click() ' Connect to the ODA Call odaclient.connectivity.connect(tbodaname.text) ' Grey out the button so we don't double-connect pbconnect.enabled = False End Sub Private Sub pbsweep_click() ' Don't do anything if not connected to ODA If odaclient.connectivity.isconnected = False Then MsgBox ("Can't take a measurement yet - not connected.") Exit Sub End If ' Set the start wavelength Dim centerwavel, startwavel, stopwavel, span, oldcenter As Double startwavel = odaclient.measurementrange.xstart stopwavel = odaclient.measurementrange.xstop span = stopwavel - startwavel centerwavel = CDbl(txtCenter.Text) If centerwavel < 1400 Or centerwavel > 1700 Then MsgBox ("Wavelength out of range, defaulted to 1550") centerwavel = 1550 txtcenter.text = "1550" End If odaclient.measurementrange.xstart = centerwavel - span / 2 odaclient.measurementrange.xstop = centerwavel + span / 2 ' Trigger the measurement odaclient.measure End Sub Agilent 86038A Optical Dispersion Analyzer, Third Edition 163

164 Remote Operation Example 1: Simple Application for Controlling the ODA Starting a VB.NET ODA Application Install Software Refer to Recommended Control Sequence on page 130. Application Shell The following steps show you how to build a simple shell to connect to the ODA. 1 Run Visual Studio.NET. 2 Open a new project and save it to a local directory. Use the default file name of WindowsApplication1. This creates a project with a blank frame. To add controls to the frame, click View > Toolbox (or click the icon on the toolbar.) 3 From the toolbox, add a label with a Caption ODA Name: and a text box named tbodaname. In the Properties dialog, click on Text and type the network name of your ODA as the default text.(refer to ODA Help > About to find your ODA network name. 4 From the main menu, click Project > Add Reference. This brings up a dialog that defaults to the.net tab. You will be adding the.net incarnation of the ODA. 5 Select Browse, then navigate to C:\Program Files\Agilent\Agilent ODA Remote Control. 6 Click InstrumentObjects.dll, then ctrl-click on RemoteClient.dll (you can add both at once.) Select Open, which brings you back to the References dialog. You will see the two dll s in the Selected Components pane. Select OK, and InstrumentObjects and RemoteClient will appear in the Solution Explorer on the right side of the Visual Studio window. 7 Right click on the form and select View Code. This brings up a simple From1.vb code window. Find the line that reads: Inherits System.Windows.Forms.Form. and add right after that line the oda client object as a member: Private WithEvents odaclient As RemoteClient.Communicator The odaclient will host all the interaction with the ODA. Before you can use it, though, you have to new the object. Go back to the form view, and double click on an unused area of the form. This takes you to the Form1_Load routine, where you can insert the following line: odaclient = New RemoteClient.Communicator() 8 Before you can interface with the ODA, you need to establish a link to it. Place a Button on the form, name it pbconnect with text Connect. Double click the button to edit the source code. This will place you at pbconnect_click. To establish the connection to the ODA, place the following lines between the Private Sub... End Sub block: 164 Agilent 86038A Optical Dispersion Analyzer, Third Edition

165 Example 1: Simple Application for Controlling the ODA Remote Operation odaclient.connectivity.connect(tbodaname.text) pbconnect.enabled = False You need to implement a disconnect method, since whenever you connect, you need to disconnect when you are done. This avoids a time-consuming clean up when a connection goes stale and has to be cleaned out of the ODA interface. The second line grays out the Connect button so you do not forget and connect twice. 9 Go to the code window, and click the selector at the upper left corner of the code window. It probably says Form1. Change it to say (Base Class Events). Now the selector at the upper left corner lists the various events we can write code for. It probably says (Declarations). Click on the selections, and choose Closing. This will take you to Form1_Closing, where you can insert the following lines: odaclient.connectivity.disconnect() odaclient.connectivity.terminatesession() The first line disconnects from the ODA itself, the second line cleans up the odaclient. Make sure that TerminateSession is the last thing you do before exiting this routine. 10 Click the Run button to compile the application. If there are errors, fix them before continuing. Once the compile is successful, the application window will appear. Click the Connect button, and watch the ODA front panel. A green banner will appear on the ODA, announcing Remote User Connected. If this does not appear, it is most likely because the ODA Name is incorrect, or the ODA itself is not properly configured for networking (check the LAN connection). Go to the ODA front panel and select Help > About to verify the ODA Name. When the program is exited, the remote session will be disconnected from the ODA leaving it free for front panel or other remote use. Agilent 86038A Optical Dispersion Analyzer, Third Edition 165

166 Remote Operation Example 1: Simple Application for Controlling the ODA Event Handling Event handling is added to monitor the ODA events. A very useful event is a new status message. The status message is shown on the bottom of the ODA display, which indicates when a sweep has begun, sweep ended, and so on. By reflecting those messages on the remote application, you provide invaluable feedback to a user, particularly if they cannot see the ODA display. When an event like a new status message occurs, the ODA informs you by calling a method on your object. Visual Basic presents a list of available events in the function list. When you select the event, it creates the function to hold your event handling code. In Step 7 above, the odaclient was declared using the keyword WithEvents. This instructs Visual Basic to find the events and make them available to you. Go into the code window and click on the selector in the upper left corner (it probably says Form1 now.) It presents a list of objects you have available. Select the odaclient. Now click on the selector in the upper right corner (it probably says Declarations). It presents a list of events you can choose to receive and write code for. If the event is in light gray, you have not implemented it yet. If it is in bold type face, there is code for it. You do not have to implement all the events, just the ones you find useful. The steps below walk through adding an event handler for NewStatus. 1 Add a display line to show user status messages. Add a text label as wide as the form, and call it lblstatus. Default the text to ODA Status. 2 Create the event function. Go to the code window. Click the object selector in the upper left corner of the window, and select odaclient. Now click the event method selector in the upper right corner of the display, and click NewStatus. This will take you to a function called odaclient_newstatus, which will be called when a new status message is displayed on the ODA. The first pass parameter is the message itself, the second pass parameter is an enumerated type telling you if the message was an error, informational or a warning. To display the status, insert the following line inside: Private Sub odaclient_newstatus( ' Let the user know something happened lblstatus.text = Message End Sub 3 Click the Run button, and connect to the ODA. The first message you will see is the Connected message. Press Local on the ODA and take a sweep. You will see the progress messages appearing on the application as the measurement progresses. When you exit the application, it will release the ODA. All of the ODA events follow a similar pattern. The most useful events are TriggerProgress, which tells you when a measurement or normalization is complete, and TLSSettlingProbability, which warns you how long until the laser needs to perform a temperature settling. 166 Agilent 86038A Optical Dispersion Analyzer, Third Edition

167 Example 1: Simple Application for Controlling the ODA Remote Operation Take Sweep and Transfer Data In this exercise, we will trigger a sweep from our application, and when the sweep completes, we will transfer the data across and save it in a file. This consists of adding a button to trigger the sweep, and adding an event handler for the TriggerProgress event, so we can detect when the sweep is finished and save the data in C:\mydata.txt. 1 Add a button to the UI and name it pbsweep, with a caption of Take Sweep. 2 Double click the button to go to the pbsweep_click function, and insert the following lines to make sure you are connected before actually taking a measurement: ' Don't do anything if not connected to ODA If odaclient.connectivity.isconnected = False Then MessageBox.Show("Can't take a measurement yet - not connected.") Return End If odaclient.measure() 3 Run the software, click Connect and wait for the connection to complete. Click Take Sweep and watch the sweep progress on both the ODA and on the application message bar. 4 Add an event routine for TriggerProgress. The TriggerProgress event has two pass parameters enumstatus and enumacquisitionmode. This indicates the status and progress of the current activity. This function checks the enumacquisitionmode to determine the type of trigger event (that is, measurement, normalization, and so on) and then checks the enumstatus to see if the measurement is finished, indicating data is available. If so, call senddatatofile(). In the source code window, select odaclient in the Object Selector in the upper left corner of the window, then select TriggerProgress in the Method Selector in the upper right corner. This takes you to the sub odaclient_triggerprogress, with two pass parameters already declared. Progress is an enumerated type which tells you whether you are at the begin or end, and etriggermode, which tells you whether the current activity is a measurement or a normalization. 5 Click on the next line after the sub declaration, and type: If etriggermode = When you type the =, the Visual Basic editor will Intellisense all the possible values of the enumeration, and present you a list. In this case we want emeasurement. Intellisense makes dealing with events and enumerated types much easier in visual basic. Agilent 86038A Optical Dispersion Analyzer, Third Edition 167

168 Remote Operation Example 1: Simple Application for Controlling the ODA Fill out the function so it looks like: ' Only do something if this is a measurement If etriggermode = Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.enumAcquisitionMode.eMeasurement Then ' Only do something if the measurement is complete If progress = Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.enumStatus.COMPLETE Then ' Write the data to disk senddatatofile("c:\mydata.txt") End If End If 6 Add the senddatatofile function. This is a very simple implementation using text streams. Insert this function immediately after odaclient_triggerprogress: Private Sub senddatatofile(byval filename As String) Dim gaindata() As Double Dim xstart As Double Dim xstop As Double Dim xstep As Double Dim npoin As Integer Dim cnt As Integer Dim idx As Integer Dim buf As String ' Get the data and figure out the wavelength axis gaindata = odaclient.results.ydata _ (Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eMeasurement- Type.Gain, _ Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eODAPort.One) npoin = UBound(gainData) - LBound(gainData) xstart = odaclient.results.xstart _ (Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eMeasurement- Type.Gain) xstop = odaclient.results.xstop _ (Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eMeasurement- Type.Gain) xstep = (xstop - xstart) / (npoin - 1) ' Open the file and write the data Dim file As System.IO.StreamWriter file = New System.IO.StreamWriter(fileName) file.writeline _ ("Sample ODA File, written from Visual Basic.net") file.writeline("wavelength (nm), Gain (db)") idx = 0 For cnt = LBound(gainData) To UBound(gainData) buf = CStr(xStart + xstep * idx) + "," + CStr(gainData(cnt)) file.writeline(buf) idx = idx + 1 Next file.close() End Sub 7 Run the software, connect and take a sweep. Then look for c:\mydata.txt. You can look at it with a text editor or import it into a spreadsheet. This program will grab data even if a sweep is triggered from the front panel. Run the software, and then connect. Go to the ODA front panel and click Local, then 168 Agilent 86038A Optical Dispersion Analyzer, Third Edition

169 Example 1: Simple Application for Controlling the ODA Remote Operation take a sweep. You will see the update messages appear on our application, and the application will detect end-of-sweep and transfer the data. 8 Exit the application when you are done. Control Center Wavelength This section shows how to control the center wavelength on the ODA. First, a text box is added for the user to enter the desired value, and then the entered value will be sent to the ODA as part of the sweep. 1 Add a text field, name it txtcenter, set the default text to Add a label with the text, Center Wavelength, nm. 2 Modify the take sweep function to send the value to the ODA. Find the function pbsweep_click, and add the following lines to check the value and send it to the ODA. The ODA thinks in terms of start/stop, so the center wavelength must be converted to a start and stop wavelength. Find the pbsweep_click method, and insert the following code immediately before odaclient.measure: Dim centerwavel, startwavel, stopwavel, span, oldcenter As Double startwavel = odaclient.measurementrange.xstart stopwavel = odaclient.measurementrange.xstop span = stopwavel - startwavel centerwavel = CDbl(txtCenter.text) If centerwavel < 1400 Or centerwavel > 1700 Then MessageBox.Show("Wavelength out of range, defaulted to 1550") centerwavel = 1550 txtcenter.text = "1550" End If odaclient.measurementrange.xstart = centerwavel - span / 2 odaclient.measurementrange.xstop = centerwavel + span / 2 3 It works better if you first set the ODA to a relatively narrow sweep, such as 1530 to 1540 nm. Complete Source Code Public Class Form1 Inherits System.Windows.Forms.Form Private WithEvents odaclient As RemoteClient.Communicator Windows form generated code omitted Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load odaclient = New RemoteClient.Communicator() End Sub Private Sub pbconnect_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles pbconnect.click odaclient.connectivity.connect(tbodaname.text) pbconnect.enabled = False Agilent 86038A Optical Dispersion Analyzer, Third Edition 169

170 Remote Operation Example 1: Simple Application for Controlling the ODA End Sub Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing odaclient.connectivity.disconnect() odaclient.connectivity.terminatesession() End Sub Private Sub odaclient_newstatus(byval Message As String, ByVal MessageType As Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eEventLogType) Handles odaclient.newstatus ' Let the user know something happened lblstatus.text = Message End Sub Private Sub pbsweep_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles pbsweep.click ' Don't do anything if not connected to ODA If odaclient.connectivity.isconnected = False Then MessageBox.Show("Can't take a measurement yet - not connected.") Return End If ' Change the center wavelength. Read existing start and stop wavelength to get ' span, use new center to recalculate start and stop Dim centerwavel, startwavel, stopwavel, span, oldcenter As Double startwavel = odaclient.measurementrange.xstart stopwavel = odaclient.measurementrange.xstop span = stopwavel - startwavel 1550") centerwavel = CDbl(txtCenter.text) If centerwavel < 1400 Or centerwavel > 1700 Then MessageBox.Show("Wavelength out of range, defaulted to centerwavel = 1550 txtcenter.text = "1550" End If odaclient.measurementrange.xstart = centerwavel - span / 2 odaclient.measurementrange.xstop = centerwavel + span / 2 ' Now trigger the measurement odaclient.measure() End Sub Private Sub odaclient_triggerprogress(byval progress As Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.enumStatus, ByVal etriggermode As Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.enumAcquisitionMode) Handles odaclient.triggerprogress ' Only do something if this is a measurement If etriggermode = Agilent.LWD.Ag86038x.InstrumentObjects.ODA- Common.enumAcquisitionMode.eMeasurement Then ' Only do something if the measurement is complete If progress = Agilent.LWD.Ag86038x.InstrumentObjects.ODA- Common.enumStatus.COMPLETE Then ' Write the data to disk senddatatofile("c:\mydata.txt") End If End If End Sub Private Sub senddatatofile(byval filename As String) Dim gaindata() As Double Dim xstart As Double Dim xstop As Double 170 Agilent 86038A Optical Dispersion Analyzer, Third Edition

171 Example 1: Simple Application for Controlling the ODA Remote Operation Dim xstep As Double Dim npoin As Integer Dim cnt As Integer Dim idx As Integer Dim buf As String ' Get the data and figure out the wavelength axis gaindata = odaclient.results.ydata(agilent.lwd.ag86038x.instrumentobjects.odacommon.emeasurementtype.gain, _ Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eODAPort.One) npoin = UBound(gainData) - LBound(gainData) xstart = odaclient.results.xstart(agilent.lwd.ag86038x.instrumentobjects.odacommon.emeasurementtype.gain) xstop = odaclient.results.xstop(agilent.lwd.ag86038x.instrumentobjects.odacommon.emeasurementtype.gain) xstep = (xstop - xstart) / (npoin - 1) ' Open the file and write the data Dim file As System.IO.StreamWriter file = New System.IO.StreamWriter(fileName) file.writeline("sample ODA File, written from Visual Basic.net") file.writeline("wavelength (nm), Gain (db)") idx = 0 For cnt = LBound(gainData) To UBound(gainData) buf = CStr(xStart + xstep * idx) + "," + CStr(gainData(cnt)) file.writeline(buf) idx = idx + 1 Next file.close() End Sub End Class Agilent 86038A Optical Dispersion Analyzer, Third Edition 171

172 Remote Operation Example 1: Simple Application for Controlling the ODA Starting a C# ODA Application Install Software Refer to Recommended Control Sequence on page 130. Application Shell The following steps show you how to build a simple shell to connect to the ODA. 1 Run Visual Studio.NET. 2 Open a new C# project, a windows application. This creates a project with a blank frame. 3 To add controls to the frame, click View > Toolbox. 4 From the toolbox, add a label with a Caption ODA Name: and a text box named tbodaname. 5 In the Properties dialog, click on Text and type the network name of your ODA as the default text. (Refer to ODA Help > About to find the ODA network name.) 6 From the main menu, click Project > Add Reference. This brings up a dialog that defaults to the.net tab. You will be adding the.net incarnation of the ODA. Select Browse, then navigate to C:\Program Files\Agilent\Agilent ODA Remote Control. Click on InstrumentObjects.dll, then ctrl-click on RemoteClient.dll (you can add both at once.) Click Open, which brings you back to the References dialog. You will see the two dll s in the Selected Components pane. Click OK, and InstrumentObjects and RemoteClient will appear in the Solution Explorer on the right hand side of the Visual Studio window. 7 Controlling the ODA involves using lots of constants such as emeasurementtype. The using directive at the top of your C-sharp file lets you use the ODA specific constants without fully qualifying them. At the head of your C-sharp source file (right click on Form and select View Code), locate the block of using statements. Add these at the end of the block: using Agilent.LWD.Ag86038x.InstrumentObjects; using Agilent.LWD.Ag86038x; 8 In the same source file as above, locate the summary description for Form1: public class From1 Find the block of private declarations of the form components. There should be a Text Box and a Label. You are going to add the oda client object as a member. Insert the following line after the Text Box and Label declarations: // Declare a local object to communicate with the ODA private RemoteClient.Communicator odaclient; The odaclient will host all the interaction with the ODA. Before you can use it, 172 Agilent 86038A Optical Dispersion Analyzer, Third Edition

173 Example 1: Simple Application for Controlling the ODA Remote Operation though, you have to new the object. Go back to the Form view, and double click on an unused area of the form. This takes you to the Form1_Load routine, where you can insert the following line: odaclient = new RemoteClient.Communicator(); 9 Before you can talk to the ODA, you have to establish a link to it. Place a Button on the form and name it pbconnect with text Connect. Double click the button to edit the source code. This will place you at pbconnect_click. This is where the connection to the ODA is established. Place the following lines inside the curly braces: odaclient.connectivity.connect(tbodaname.text); pbconnect.enabled = false; You need to implement a disconnect method, since whenever you connect, you need to disconnect when you are done. This avoids a time-consuming clean up when a connection goes stale and has to be clean out of the ODA interface. The second line grays out the Connect button so we don t forget and connect twice. 10 Go to the Form display window, and click on a blank area of the form to select the form. Go to the Properties window, and select events (small yellow lightning bolt at top of form.) Find and double click on the closing event. This will take you to the Form1_Closing routine, where you can insert the following lines: odaclient.connectivity.disconnect(); odaclient.connectivity.terminatesession(); The first line disconnects from the ODA itself, the second line cleans up the odaclient. 11 Click the Run button to compile the application. If there are errors, fix them before continuing. Once the compile is successful, the application window will appear. Click the Connect button, and watch the ODA front panel. A green banner will appear on the ODA, announcing Remote User Connected. If this does not appear, it is most likely because the ODA Name is incorrect, or the ODA itself is not properly configured for networking (check the LAN connection). Go to the ODA front panel and select Help > About. The ODA name is on the About panel. When the program is exited, it will disconnect from the ODA, leaving it free for front panel or other remote use. Agilent 86038A Optical Dispersion Analyzer, Third Edition 173

174 Remote Operation Example 1: Simple Application for Controlling the ODA Event Handling Event handling is added to monitor the ODA events. A very useful event is a new status message. The status message is shown on the bottom of the ODA display, which indicates when a sweep has begun, ended, and so on. By reflecting those messages on the remote application, you provide invaluable feedback to a user, particularly if they cannot see the ODA display. When an event, like a new status message occurs, the ODA informs you by calling a method on your object. In fact, the ODA will call as many methods as you care to register it just keeps a list of functions to call, and runs through that list when the event occurs. Implementing events is a little more complicated because Microsoft chose to use the Delegate mechanism as an abstraction layer between the event source (the ODA) and the event consumer (your code.) So, instead of passing a reference to your function to the odaclient, you pass a reference to your function to a delegate, and then pass the delegate to the odaclient. To reiterate, you define in your object a function that you wish to be called when an event occurs. That function has to take the pass parameters defined by that event you don t get to choose. Call that function the event function. Once you have your event function, you instantiate a delegate for that function. The delegate you use depends on the pass parameters of the event function. If the event function takes the generic event pass parameters (an object reference and an EventArgs), you can use a generic delegate. In general, the event will have customized pass parameters and you must use the delegate class supplied with the event. When a class implements a delegate, Microsoft recommends appending Handler to the name. Some people find this confusing, since in the past what we have called here the event function (the function you write that gets called when the event occurs) has also been called the event handler. Now consider the specific example of a new status message. The odaclient has an event called NewStatus. The ODA promises to fire it when a new status message appears. To take advantage of this, l write a routine called NewStatusEvent. Go into Visual Studio, and select View, Other Windows, Object Browser. Select the Find Symbol tool on the object browser (look for the binoculars.) Type in NewStatus and click Find. You get the result below: The first hit (with the lightning bolt) represents the event itself. The second hit is the function prototype. NewStatus is expecting a function that accepts a string and an eeventlogtype. Note that the fully qualified eeventlogtype is Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon.eEventLogType. 174 Agilent 86038A Optical Dispersion Analyzer, Third Edition

175 Example 1: Simple Application for Controlling the ODA Remote Operation To see the values defined in the enumeration, find the InstrumentObjects object in the left hand pane of the object browser. Expand that entry, and find Agilent.LWD.Ag86038x.InstrumentObjects, and expand that. Scan down the resultant list to find ODACommon.eEventLogType, and click on that. It shows the five different possible values. It turns out the FailureAudit and SuccessAudit are unused default log values. The only values we will ever see are EventError (something bad happened and ODA could not do what you asked), Information (simple status update, like Sweep Started) or Warning (ODA was still able to make a measurement, but wasn t able to do precisely as asked.) The first pass parameter is the text of the message displayed to the user on the ODA front panel. So, to be informed of a new status message, implement a function like this: private void NewStatusEvent( string msg, ODACommon.eEventLogType e ) { // Let the user know something happened lblstatus.text=msg; } Note that because of the using statement at the head of the file, you did not have to type the whole root to eeventlogtype a considerable typing savings. Now you need to tell the odaclient about the new function. First you have to find the delegate that knows how to handle NewStatus events. The delegates are also found underneath the ODACommon object where you found the eeventlogtype. Return to the Object Browser window and scroll down to find the ODARemoting.NewStatusDelegate object. That is the delegate you need to use for this event, and you will find delegates for all the ODA events in the same place, with the same name as the event with the word Delegate appended. Note that several similarly spelled versions appear, but you only want the one spelled exactly the same as the event with the word Delegate appended. The steps below walk you through adding the appropriate declarations to create the delegate and register our event handler. 1 Add a display line to show a user status messages. Add a text label as wide as the form, and call it lblstatus. Default the text to ODA Status. 2 Go to the code window and find where you declared the odaclient. Add the declaration of a local copy of the delegate here: // Declare event handlers for ODA all! private ODARemoting.NewStatusDelegate NewStatusHandler; 3 Find the declaration of Form1_Closing, and insert this routine after it: private void NewStatusEvent( string msg, ODACommon.eEventLogType e ) { // Let the user know something happened lblstatus.text=msg; } Agilent 86038A Optical Dispersion Analyzer, Third Edition 175

176 Remote Operation Example 1: Simple Application for Controlling the ODA 4 Now, register the handler when the connection to the ODA is opened. Find the pbconnect_click method, and add the following lines // Create our event handlers this.newstatushandler = new ODARemoting.NewStatusDelegate( this.newstatusevent ); // Register event handlers odaclient.newstatus += this.newstatushandler; 5 Since you registered the handler, you have to be careful to unregister it when you are done talking to the ODA. Find the Form1_Closing function, and insert the following lines before terminating the session: // Unregister our status handler odaclient.newstatus - = this.newstatushandler; 6 Click the Run button, and connect to the ODA. The first message you will see is the Connected message. Press Local on the ODA and take a sweep. You can see the progress messages appearing on the application as the measurement progresses. When you exit the application, it will release the ODA. ll of the ODA events follow a similar pattern. The most useful events will be TriggerProgress, which tells you when a measurement or normalization is complete, and TLSSettlingProbability, which warns you how long until the laser needs to perform a temperature settling. Take Sweep and Transfer Data In this exercise, you will trigger a sweep from the application, and when the sweep completes, transfer the data across and save it in a file. This consists of adding a button to trigger the sweep, adding an event handler for the TriggerProgress event to detect when the sweep is finished, and saving the data in C:\mydata.txt. 1 Add a button to the UI and name it pbsweep, caption Take Sweep. 2 Double click the button to go to the pbsweep_click function, and insert the following lines to make sure you are connected before actually starting a measurement: // Don't do anything if not connected to ODA if (odaclient.connectivity.isconnected() == false) { MessageBox.Show("Can't take a measurement yet - not connected."); return; } odaclient.measure(); 3 Run the software, click Connect and wait for the connection to complete. Then click Take Sweep, and watch the sweep progress on both the ODA and on the application message bar. Add an event handler to TriggerProgress. This involves declaring the delegate, instantiating the delegate, then adding and removing the handler from odaclient. 176 Agilent 86038A Optical Dispersion Analyzer, Third Edition

177 Example 1: Simple Application for Controlling the ODA Remote Operation The TriggerProgress event has two pass parameters enumstatus and enumacquisitionmode to determine the type of trigger event (that is measurement, normalization, and so on) and then checks the enumstatus to see if the measurement is finished. To declare the delegate, go to the source code window and find the line where we declare the NewStatusHandler, and add this line after it: private ODARemoting.TriggerProgressDelegate TriggerHandler; 4 Find the line where you new ODARemoting.NewStatusDelegate, and add this line after it: this.triggerhandler = new ODARemoting.TriggerProgressDelegate( this.triggerprogessevent ); To register the handler, find the line where you += this.newstatushandler; and add the following line: odaclient.triggerprogress += this.triggerhandler; To unregister the handler, find the line where you -= this.newstatushandler and add the following line: odaclient.triggerprogress -= this.triggerhandler; 5 Create the event function. In this function you have to check the enumacquisitionmode to see if the trigger has to do with a measurement (could be a normalization) and then check the enumstatus to see if the measurement is finished, indicating data is available. If so, call senddatatofile(). In the source code file, find where NewStatusEvent is declared, and add this function after it: private void TriggerProgressEvent( ODACommon.enumStatus status, ODACommon.enumAcquisitionMode acqmode ) { if (acqmode == ODACommon.enumAcquisitionMode.eMeasurement) { // Instrument is making a measurement if (status == ODACommon.enumStatus.COMPLETE) { // The measurement is done, transfer data! senddatatofile("c:\mydata.txt"); } } } 6 Add the senddatatofile function. This is a very simple implementation using text streams: private void senddatatofile(string filename) { // Transfer the gain data over from the ODA and save it to a file double[] gaindata; double xstart; double xstop; double xstep; int npoin; string buf; Agilent 86038A Optical Dispersion Analyzer, Third Edition 177

178 Remote Operation Example 1: Simple Application for Controlling the ODA int cnt; double x; // Get the gain data from port one gaindata = odaclient.results.ydata(odacommon.emeasurement- Type.Gain, ODACommon.eODAPort.One); npoin=gaindata.length; // Get the start and stop wavelengths xstart = odaclient.results.xstart(odacommon.emeasurement- Type.Gain); xstop = odaclient.results.xstop(odacommon.emeasurement- Type.Gain); xstep = (xstop - xstart)/ (npoin - 1); // Open the file StreamWriter file = new StreamWriter(fileName, false); file.writeline("sample ODA File"); file.writeline("wavelength (nm), Gain (db)"); // Write the data for (cnt=0;cnt<npoin;++cnt) { x = xstart + cnt * xstep; buf = x.tostring() + ", " + gaindata[cnt].tostring(); file.writeline(buf); } } // Close the file file.close(); 7 Run the software, connect and take a sweep. Look for c:\mydata.txt. You can look at it with a text editor or import it into a spreadsheet. Tip: This program will grab data even if sweep is triggered from front panel. Run the software, and then connect. Go to the ODA front panel and click Local, then take a sweep. You will see the update messages appear on our application, and the application will detect end-of-sweep and transfer the data. 8 Exit the application when done. Control Center Wavelength This section shows how to control the center wavelength on the ODA. First, a text box is added for the user to enter the desired value, and then the entered value will sent to the ODA as part of the sweep. 1 Add a text field, name it txtcenter, default text to Then add a label that says Center Wavelength, nm:. 2 Modify the take sweep function to send the value to the ODA. Find the function pbsweep_click, and add the following lines to check the value and send it to the ODA. The ODA thinks in terms of start/stop, so you have to convert the center wavelength to a start and stop wavelength: // Get the center wavelength double centerwavel, startwavel, stopwavel, oldspan; centerwavel = double.parse(txtcenter.text); 178 Agilent 86038A Optical Dispersion Analyzer, Third Edition

179 Example 1: Simple Application for Controlling the ODA Remote Operation if (centerwavel < 0 centerwavel > 1700){ MessageBox.Show("Center Wavelength out of range, defaulted to 1550 nm"); centerwavel=1550; txtcenter.text = centerwavel.tostring(); } // Convert center to start, stop startwavel=odaclient.measurementrange.xstart; stopwavel=odaclient.measurementrange.xstop; oldspan=stopwavel - startwavel; // Write new start and stop odaclient.measurementrange.xstart=centerwavel - oldspan/2; odaclient.measurementrange.xstop=centerwavel + oldspan/2; 3 It works better if you first set the ODA to a relatively narrow sweep, such as 1530 to 1540 nm. Complete Source Code using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO; using Agilent.LWD.Ag86038x.InstrumentObjects; using Agilent.LWD.Ag86038x; namespace WindowsApplication1 { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.TextBox tbodaname; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label lblstatus; // Declare a local object to communicate with the ODA private RemoteClient.Communicator odaclient; // Declare event handlers for ODA - you have to do them all! private ODARemoting.NewStatusDelegate NewStatusHandler; private ODARemoting.TriggerProgressDelegate TriggerHandler; private System.Windows.Forms.Button pbsweep; private System.Windows.Forms.Button pbconnect; private System.Windows.Forms.TextBox txtcenter; private System.Windows.Forms.Label label2; /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; public Form1() { // // Required for Windows Form Designer support // Agilent 86038A Optical Dispersion Analyzer, Third Edition 179

180 Remote Operation Example 1: Simple Application for Controlling the ODA call } InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent // /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if(disposing) { if (components!= null) { components.dispose(); } } base.dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); } private void Form1_Load(object sender, System.EventArgs e) { } private void NewStatusEvent(string msg, ODACommon.eEvent- LogType e) { // Let the user know something happened lblstatus.text=msg; } private void TriggerProgressEvent(ODACommon.enumStatus status, ODACommon.enumAcquisitionMode acqmode) { if (acqmode == ODACommon.enumAcquisitionMode.eMeasurement) { // Instrument is making a measurement if (status == ODACommon.enumStatus.COMPLETE) { // The measurement is done, transfer data! senddatatofile(@"c:\mydata.txt"); } } } private void senddatatofile(string filename) { 180 Agilent 86038A Optical Dispersion Analyzer, Third Edition

181 Example 1: Simple Application for Controlling the ODA Remote Operation file // Transfer the gain data over from the ODA and save it to a double[] gaindata; double xstart; double xstop; double xstep; int npoin; string buf; int cnt; double x; // Get the gain data from port one gaindata = odaclient.results.ydata(odacommon.emeasurement- Type.Gain, ODACommon.eODAPort.One); npoin=gaindata.length; // Get the start and stop wavelengths xstart = odaclient.results.xstart(odacommon.emeasurement- Type.Gain); xstop = odaclient.results.xstop(odacommon.emeasurement- Type.Gain); xstep = (xstop - xstart)/ (npoin - 1); // Open the file StreamWriter file = new StreamWriter(fileName, false); file.writeline("sample ODA File"); file.writeline("wavelength (nm), Gain (db)"); // Write the data for (cnt=0;cnt<npoin;++cnt) { x = xstart + cnt * xstep; buf = x.tostring() + ", " + gaindata[cnt].tostring(); file.writeline(buf); } } // Close the file file.close(); private void Form1_Closing(object sender, System.Component- Model.CancelEventArgs e) { // Release the ODA odaclient.connectivity.disconnect(); // Unregister our status handler odaclient.newstatus - = this.newstatushandler; odaclient.triggerprogress - = this.triggerhandler; } // Shut down the object odaclient.connectivity.terminatesession(); private void pbconnect_click(object sender, System.EventArgs e) { // Instantiate the odaclient odaclient = new RemoteClient.Communicator(); // Connect to the ODA odaclient.connectivity.connect(tbodaname.text); // Create our event handlers this.newstatushandler = new ODARemoting.NewStatusDelegate(this.NewStatusEvent); this.triggerhandler = new ODARemoting.TriggerProgressDelegate(this.TriggerProgressEvent); // Register event handlers Agilent 86038A Optical Dispersion Analyzer, Third Edition 181

182 Remote Operation Example 1: Simple Application for Controlling the ODA odaclient.newstatus += this.newstatushandler; odaclient.triggerprogress += this.triggerhandler; } // Disable the button to avoid double- connect pbconnect.enabled = false; private void pbsweep_click(object sender, System.EventArgs e) { // Don't do anything if not connected to ODA if (odaclient.connectivity.isconnected() == false) { MessageBox.Show("Can't take a measurement yet - not connected."); return; } // Get the center wavelength double centerwavel, startwavel, stopwavel, oldspan; centerwavel = double.parse(txtcenter.text); if (centerwavel < 0 centerwavel > 1700) { MessageBox.Show("Center Wavelength out of range, defaulted to 1550 nm"); centerwavel=1550; txtcenter.text = centerwavel.tostring(); } // Convert center to start, stop startwavel=odaclient.measurementrange.xstart; stopwavel=odaclient.measurementrange.xstop; oldspan=stopwavel - startwavel; // Write new start and stop odaclient.measurementrange.xstart=centerwavel - oldspan/2; odaclient.measurementrange.xstop=centerwavel + oldspan/2; // Take the measurement odaclient.measure(); } } } 182 Agilent 86038A Optical Dispersion Analyzer, Third Edition

183 Example 1: Simple Application for Controlling the ODA Remote Operation Example 2: Control from Excel Complete Source Code Option Explicit Private WithEvents m_odaremotecontrol As RemoteClient.Communicator Public Sub initodalink() Set m_odaremotecontrol = New RemoteClient.Communicator End Sub Public Sub closeodalink() m_odaremotecontrol.connectivity.disconnect End Sub Private Sub GoButton_Click() ' Clear the previous data Sheet1.Cells(9, 1).Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Clear If Sheet1.ChartObjects.Count > 0 Then Sheet1.ChartObjects(1).Delete ' Delete last chart End If ' Open session m_odaremotecontrol.connectivity.connect (ODA_ID_Box.Value) ' Wait for ODA connection to come alive DoEvents Application.Wait (Now + TimeValue("0:00:01")) DoEvents While m_odaremotecontrol.connectivity.isconnected = False Application.Wait (Now + TimeValue("0:00:01")) DoEvents Wend ' Read x axis info Dim XStart As Double Dim xinc As Double Dim XData() As Double XStart = m_odaremotecontrol.results.xstart(emeasurementtype_gain) xinc = m_odaremotecontrol.results.increment 'Get CD Data - Port One Dim GDData() As Double GDData = m_odaremotecontrol.results.ydata(emeasurementtype_gd, eodaport_one) 'Get Gain Data - Port One Dim GainData() As Double GainData = m_odaremotecontrol.results.ydata(emeasurementtype_gain, eodaport_one) ' close session m_odaremotecontrol.connectivity.disconnect ' write data to spreadsheet Dim npoin As Integer Dim cnt As Integer npoin = UBound(GainData) - LBound(GainData) + 1 ReDim XData(npoin) For cnt = 0 To npoin - 1 XData(cnt) = XStart + cnt * xinc Next cnt Agilent 86038A Optical Dispersion Analyzer, Third Edition 183

184 Remote Operation Example 1: Simple Application for Controlling the ODA Sheet1.Cells(9, 1).Value = "Wavelength" Sheet1.Cells(10, 1).Resize(npoin).Value = _ Application.WorksheetFunction.Transpose(XData) Sheet1.Cells(9, 2).Value = "Gain, db" Sheet1.Cells(10, 2).Resize(npoin).Value = _ Application.WorksheetFunction.Transpose(GainData) Sheet1.Cells(9, 3).Value = "Group Delay, ps" Sheet1.Cells(10, 3).Resize(npoin).Value = _ Application.WorksheetFunction.Transpose(GDData) ' Do a quick plot Sheet1.Cells(9, 1).Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Select Charts.Add ActiveChart.ChartType = xlxyscatterlinesnomarkers ActiveChart.Location Where:=xlLocationAsObject, Name:="Sheet1" With ActiveChart ' Get rid of time data as a plotted series.seriescollection(1).delete ' Specify the X axis for the other two series.seriescollection(1).xvalues = Range(Sheet1.Cells(10, 1), Sheet1.Cells(9 + npoin, 1)).SeriesCollection(2).XValues = Range(Sheet1.Cells(10, 1), Sheet1.Cells(9 + npoin, 1)) ' set title.hastitle = True.ChartTitle.Characters.Text = "Gain and Group Delay" ' Add x axis with title.axes(xlcategory, xlprimary).hastitle = True.Axes(xlCategory, xlprimary).axistitle.characters.text = "Wavelength, nm" ' Add left hand y axis with title.axes(xlvalue, xlprimary).hastitle = True.Axes(xlValue, xlprimary).axistitle.characters.text = "Gain, db".axes(xlvalue, xlprimary).crossesat = -200 ' Add right hand y axis with title.seriescollection(2).select.seriescollection(2).axisgroup = 2.Axes(xlValue, xlsecondary).hastitle = True.Axes(xlValue, xlsecondary).axistitle.characters.text = "delay, ps" ' Move the legend to the bottom of the plot.legend.position = xllegendpositionbottom End With End Sub 184 Agilent 86038A Optical Dispersion Analyzer, Third Edition

185 Example 3: Control from LabView Remote Operation Example 3: Control from LabView Table 10 Provided vi s example.vi ODAclose.vi ODAdata.vi ODAset1_stepped.vi ODAset2_swept.vi ODAsweep.vi A simple example that makes a swept (vs. stepped) measurement and presents a graph. This should be the last vi used, to close the session with the ODA. This vi transfers data from the ODA into LabView This vi contains all the settings for making a stepped gain and CD measurement. This vi contains all the settings for making a swept gain and CD measurement. This vi triggers a sweep and waits for it to complete. Agilent 86038A Optical Dispersion Analyzer, Third Edition 185

186 Remote Operation Example 4: Complete application - RepeatMeas Example 4: Complete application - RepeatMeas ODA Repeat Measurements ODA Repeat Measurements is an example program distributed with the ODA in both binary and source code form. To use it, you set up a measurement you like on the ODA, then run the executable on your own computer. You key in how many times you would like the measurement made, and at what interval, and the program triggers the measurements and records the data on your computer. To use the soft ware : 1 Set up the desired measurement on the ODA, performing the required normalization. 2 Go to the ODA Help >About menu to obtain the ODA computer name. Type that name into the ODA Name field, and click Connect. After a pause while contact is established, the Connection status should turn green: 186 Agilent 86038A Optical Dispersion Analyzer, Third Edition

187 Example 4: Complete application - RepeatMeas Remote Operation 3 Enter the number of sweeps you would like to occur. If you want a lot of sweeps as fast as the instrument can acquire, enter the number of measurements you want in the measurements block and leave everything else at the default. If you want the program to pause between measurements, enter the length of time to pause. You can enter fractional minutes. Sometimes for statistical purposes, you may want a burst of measurements repeated at some interval. For example, you may want 16 measurements taken every hour for 12 hours. 4 Make sure to tell the program which port to pull data from. The measurements will be run as you configure from the front panel, and the program will pull the data from the port you specify (whether or not new data has been gathered for that port.) 5 Enter the directory you would like the data to be stored to on the local computer. You will get one file for every measurement with Wavelength, Gain, Group Delay and Chromatic Dispersion. The file name is noted at the bottom of the Collection frame. You will also get a single ODA_stats file with the statistics for the Gain and Group Delay. The program will use as short a file name as it can. For data files, it uses ODA_<date>_g001_m001.csv, where g is followed by the group number, m is followed by the measurement number. If the name is already in use, the program will insert the date to make the name unique, and avoid overwriting data. The <date> used is the time the first sweep is completed. The same <date> string is used for the entire run, so all the files have the same signature. The format of putting the date before the group and measurement indexes forces a standard ASCII directory sorting to group all the data from a single run together in the correct order. Make sure the directory you specify exists before you start the run. Tip: the files are easier to deal with if you put each run into a separate directory. 6 Click Start and observe the measurement results as they are taken. The statistics are calculated for Gain and Group Delay. The All Measurements block is calculated treating all wavelengths of all measurements equally. This is useful for measuring very flat and stable Agilent 86038A Optical Dispersion Analyzer, Third Edition 187

188 Remote Operation Example 4: Complete application - RepeatMeas devices like a length of fiber. For devices that have more features to the response, the statistics for the deviation from the first measurement are also calculated. This shows you at a glance how stable the device was after the first measurement. This information is also stored at the end of the run in the ODA_stats file. Just below the Statistics are is the Status area. The blue bar is used to show the timer between ODA measurements: During the measurement itself, the blue bar is full and the Status area reflects what the ODA is doing: To Install The Software 7 Install the.net Framework from Microsoft. Refer to Install the Remote Client on page Install the remote programming application from the ODA documentation CD located at: C:\Program Files\Agilent\Agilent ODA Remote Control\Examples\Example4_RepeatMeas\Application\ And run OdaRepeatMeas.exe The Underlying Code There are three main functional blocks in the code: Triggering measurements and setting up the delay between measurements Processing the measured data into statistics and writing data to the file Updating the ODA status 188 Agilent 86038A Optical Dispersion Analyzer, Third Edition

189 Example 4: Complete application - RepeatMeas Remote Operation Triggering Measurements and Delay Between Measurements Once the connection is established to the instrument and the measurements started, a timer called MeasTimer on the form is used to delay between measurements. Because the MeasTimer can only delay about one minute, and since we need to update the progress bar, the MeasTimer only delays about 150 ms at a time. It wakes up, updates the progress bar, then goes back to sleep. The main routines involved are: MeasTimer_Timer() wakes up every 150 ms, updates progress bar, decides if it is time to take data. startmeasurement() triggers the ODA to make the measurement. The TriggerProgress event communicates when the sweep is finished and provides a chance to process the measured data. Key variables: groupidx Current group, starting with 1 measidx Current measurement, starting with 1 numgroups Number of user requested groups nummeas Number of user requested measurements per group delaypergroup User requested delay per group delaypermeas User requested delay between each measurement nextdelay Remaining time left before next measurement requesteddelay Either the delaypermeas (if between measurements) or the delaypergroup (if between groups) TimerMax How long to wait between progress bar updates. Agilent 86038A Optical Dispersion Analyzer, Third Edition 189

190 Remote Operation Example 4: Complete application - RepeatMeas Processing Measured Data The event handler for TriggerProgress detects when a sweep is complete and calls GetAndSaveRawData to process the data. This routine transfers the data, forms the appropriate file name, saves the file, and updates the statistics for the gain and the group delay. Key to the name of the file is the groupid, which holds the date string required to make the name unique. If there are no files in the save directory, groupid will be blank. The groupid is made progressively more specific adding date, then time if needed. The statistics are accumulated in statistics structures called a statsblock. There are two forms of the statistics provided the absolute values, and the differential from the first sweep. Variables that begin with alltrace accumulate the absolute values, and variables that begin with deltatrace accumulate the delta values. When all the groups have been acquired, the statistics are written to a summary file. Updating ODA Status Updating the ODA status is completely asynchronously from any measurement operation. Every 500 ms, StatusTimer wakes up and queries the ODA to find out what it is doing. This is handled in StatusTimer_Timer(). In addition, whenever a new status message appears on the ODA front panel, the NewStatus event handler, odaclient_newstatus(), reads the message and displays it for the remote user as well. 190 Agilent 86038A Optical Dispersion Analyzer, Third Edition

191 6 Programming Commands ODA Remote Programming Server to Client Events Client to Server Commands Base Commands Actions Commands Analysis - CurveFit Commands Connectivity Commands Display Commands File Commands Length Commands MeasurementRange Commands NormalizationRange Commands NormalizationRange - Stepped Commands Normalization Range - Swept Commands Printing Commands Resolution Commands Resolution - Stepped Commands Resolution - Swept Commands Results Commands Sensitivity Commands Status Commands System Commands System - Identity Commands TLS Commands Agilent 86038A Optical Dispersion Analyzer, Third Edition 191

192 Programming Commands ODA Remote Programming ODA Remote Programming The ODA remote programming interface uses Microsoft.NET Remoting technology. It is controlled by manipulating the properties and methods exposed by the server object. The list of events, properties and methods in this section describe the interface that is available to a programmer wanting to use the ODA measurement engine in some other development environment. ODA Remote Control DLLs The ODARemoteControl DLLs provide a communication link with the ODA application. The DLLs are comprised of a set of Properties, Methods, and Events that together provide a basic set of remote ODA capabilities. The two DLLs of interest are:remoteclient.dll and InstrumentObjects.dll. By default these two DLLs are installed to: C:\Program Files\Agilent\Agilent ODA Remote Control\..NET Interface Hierarchy The ODA Remote Control organizes its APIs into a Function Tree hierarchy. This associates like functions into logical groupings. Therefore, the remoting commands are grouped and listed by function, then command type in the following sections. 192 Agilent 86038A Optical Dispersion Analyzer, Third Edition

193 Server to Client Events Programming Commands Server to Client Events The server to client events allow the 86038A ODA to update the client with current data or instrument settings. In this context, the ODA is the server and your program is the client. These events are asynchronous. That is, you cannot determine when they are going to occur. You need to set up event handlers for the events you want to catch. Connected (ByVal connected As Boolean) Indicates that a remote session has connected to/disconnected from the ODA. Once you have requested a connection using the Connect method on the Connectivity object, you must wait for this event to return a true before sending commands to the ODA. If you receive this event after your connection has been established, and the value is false, you need to reestablish your connection. Parameters connected - True = Connected to the ODA Related Commands Connectivity.Connect method Connectivity.Disconnect method Connectivity.TerminateSession method EstimatedTestTime (ByVal stestname As String, ByVal tsestimate As Double) Sends estimated time of a particular test. This event is sent once at the beginning of a test. An action such as a Normalization may be comprised of several tests. In this case, the EstimatedTestTime event will be sent at the beginning of each test. Parameters stestname - The name of the test. tsestimate - The estimated time of the test in seconds. Agilent 86038A Optical Dispersion Analyzer, Third Edition 193

194 Programming Commands Server to Client Events NewDataUpdate (ByVal elasermode As enumlasermode, ByVal eaquisitionmode As enumacquisitionmode) Indicates when new measurement data is available. For swept mode measurements, this event is fired when the sweep is complete. For stepped mode measurements, a NewDataUpdate event is fired for each step. This event only gets sent during measurements, normalization and length measurements. (Not during Optimize Optical Modulator Bias or Real Time Port Monitor.) Parameters elasermode - Applies to a stepped or swept mode measurement. eacquisitionmode - Indicates data is for a measurement, normalization, or length measurement. Related Commands Actions.Measure method Actions.Normalize method Actions.MeasureLength method NewStatus (ByVal Message As String, ByVal MessageType As eeventlogtype) Indicates that a new status message is available, which can be displayed as part of the system status. Parameters Message - Message content. MessageType - Indicates the severity of the message (informational or error) Related Command Status.StatusLog method 194 Agilent 86038A Optical Dispersion Analyzer, Third Edition

195 Server to Client Events Programming Commands PresetProgress (ByVal progress As enumstatus) Indicates that the ODA has started/completed a preset (or initialization). Parameters Progress - Indicates that the preset/initialization has started or completed. Related Command System.Preset method Remoting (ByVal Remoting As Boolean) Indicates that the ODA is under local or remote control. If you press the Local key after you establish a connection, you will receive this event with the value False. Parameters Remoting - True = Remoting has control of the ODA user interface. Related Command Display.ToggleRemoteIndicator method SweepProgress (ByVal progress As enumstatus, ByVal etesttype As enumtesttype, ByVal etriggermode As enumacquisitionmode) Indicates a sweep has begun, has been aborted, or has been completed. Note that some actions may involve several sweeps. Wait for a TriggerProgress event to determine when the action is complete. Parameters progress - Indicates a measurement has begun, completed, or aborted. etesttype - Indicates the type of test etriggermode - Indicates the subset the event resides in. (Normalization, Measurement, ModBias, DriftMonitor, Length) Agilent 86038A Optical Dispersion Analyzer, Third Edition 195

196 Programming Commands Server to Client Events TLSSettlingProbability (ByVal dtimeremaining As Double, ByVal eprobability As enumtlssettlingprobability) Indicates the estimated time until the next laser settling begins. The ODA relies on the tunable laser to provide high resolution and dynamic range. The laser has a mechanically tuned cavity that is sensitive to temperature change, requiring the laser to track the internal temperature and occasionally perform a correction. Under normal temperature conditions, the status message may show 120 minutes as the estimate. This status message is updated every minute. Parameters dtimeremaining - Indicates the time remaining until the next TLS Settling. Time is in minutes. eprobability - The probability of a TLS Settling being performed. Related Command TLS.ForceSettling method TLSSettingProgress (ByVal progress As enumstatus) Indicates a laser settling has started or completed. Once a laser settling has begun, the ODA will not be able to make measurements until it is complete. To avoid settling in the middle of your test, track the estimated time until laser settling. When it falls below 10 minutes, you should force a TLS settling with the TLS.ForceSettling method. Parameters progress - Indicates TLS Settling has begun or completed. Related Command TLS.ForceSettling method 196 Agilent 86038A Optical Dispersion Analyzer, Third Edition

197 Server to Client Events Programming Commands TriggerProgress (ByVal progress As enumstatus, ByVal etriggermode As enumacquisitionmode) Indicates a trigger has begun, has been aborted, or has been completed. Some actions such as normalization may include several sweeps. This event is provided to tell you when the entire action is complete. In general, this event is more useful than SweepProgress because you only get one begin and one completed per action. Parameters progress - Indicates the measurement action has begun, completed, or has been aborted. etriggermode - Indicates the subset the event resides in. (Normalization, Measurement, ModBias, DriftMonitor, Length) Agilent 86038A Optical Dispersion Analyzer, Third Edition 197

198 Programming Commands Client to Server Commands Client to Server Commands The client to server commands allow you to communicate with the 86038A ODA using either a.net or COM interface. The commands listed in the following section assume an instance of the remote client has been created using the following VB.NET commands: Public WithEvents odaclient As RemoteClient.Communicator odaclient = New RemoteClient.Communicator() Examples shown with each command are presented in VB.NET and VB Agilent 86038A Optical Dispersion Analyzer, Third Edition

199 Client to Server Commands Programming Commands Base Commands 201 DispersionMode Property Measure Method Ports Property TriggerModeParams Property Actions Commands 203 Abort Method Measure Method MeasureLength Method Normalize Method PrintScreen Method Analysis - CurveFit Commands 205 Calculate Method Catalog Property Description Method ShortName Method Connectivity Commands 208 Connect Method Disconnect Method IsConnected Method TerminateSession Method Display Commands 210 AutoscaleDuringMeasurement Method DefineTrace Method GDOffsetMode Property ToggleMode Method ToggleRemoteIndicator Method File Commands 213 ExportCSV Method Recall Method Save Method Length Commands 215 IndexOfRefraction Property Mode Property SpecifiedLengthPort1 Property SpecifiedLengthPort2 Property ValidIndexOfRefraction Method ValidSpecifiedLength Method MeasurementRange Commands 219 ValidStartStop Method XStart Property XStop Property NormalizationRange Commands 221 ClearGDAndInsertionLossOffsets Method ClearModBias Method ClearPDA Method PDAEnabled Property UseCustomNormalization Property ValidStartStop Method XStart Property XStop Property Agilent 86038A Optical Dispersion Analyzer, Third Edition 199

200 Programming Commands Client to Server Commands NormalizationRange - Stepped Commands 225 Increment Property ValidIncrement Method Normalization Range - Swept Commands 227 TracePoints Property Printing Commands 228 PrintScreen Method Resolution Commands 229 RFModulationFrequency Property ValidRFModulationFrequency Method Resolution - Stepped Commands 231 AutoModulationFrequency Property Increment Property ValidIncrement Method ValidTracePoints Method Resolution - Swept Commands 234 TracePoints Property Results Commands 235 FiberLength Method Increment Property XStart Method XStop Method XValueFromPointIndex Method YData Method Sensitivity Commands 239 DynamicDriftReduction Property IFBandwidth Property SamplesPerPoint Property ValidSamplesPerPoint Method Status Commands 242 ErrorFlag Property EstimatedTimeToTLSSettling Property InstrumentState Property LastError Property PresetComplete Property StatusLog Method TLSSettling Property TriggerComplete Property ValidNormalization Property System Commands 247 LaserState Method Preset Method System - Identity Commands 248 CompanyName Property ProductId Property ProductName Property ProductVersion Property RemotingVersion Property TLS Commands 251 ForceSettling Method HighPower Read Only Property Agilent 86038A Optical Dispersion Analyzer, Third Edition

201 Base Commands Programming Commands Base Commands DispersionMode Property Selects CD Stepped, CD Swept, or CD_PMD Stepped. Note that group delay and gain/loss are always measured. This is equivalent to selecting CD/PMD on the front panel. Property Value InstrumentObjects.ODACommon.eDispersionMode VB.NET Syntax odaclient.dispersionmode= _InstrumentObjects.ODACommon.eDispersionMode.CD_Swept VB 6.0 Syntax odaclient.dispersionmode=edispersionmode_cd_swept Measure Method Starts a new measurement. This method corresponds to the Begin Meas key on the front panel. Use this method to start a measurement after you have set the measurement parameters, and then watch the TriggerProgress event for completion. VB.NET Syntax odaclient.measure() VB 6.0 Syntax odaclient.measure Agilent 86038A Optical Dispersion Analyzer, Third Edition 201

202 Programming Commands Base Commands Ports Property Read the value of this property to find out which port or ports are enabled, or set the value of this property to select the active port or ports. This is equivalent to pressing Ports on the front panel. Property Value InstrumentObjects.ODACommon.ePortsEnabled VB.NET Syntax odaclient.ports = _InstrumentObjects.ODACommon.ePortsEnabled.Port_1_Enabled VB 6.0 Syntax odaclient.ports=eportsenabled_port_1_enabled TriggerModeParams Property Used to read or set the instrument trigger mode. Single sweep initiates one sweep on the measurement range. Repeat sweep continuously sweeps until the measurement is canceled or the instrument is set to single sweep. Most remote applications use single sweep. Property Value InstrumentObjects.ODACommon.eTriggerTypeVB.NET Syntax odaclient.triggermodeparams = _InstrumentObjects.ODACommon.eTriggerType.TriggerSingle VB 6.0 Syntax odaclient.triggermodeparams = etriggertype_triggersingle 202 Agilent 86038A Optical Dispersion Analyzer, Third Edition

203 Base Commands Programming Commands Actions Commands The Actions property returns an actions object, which has methods for starting and stopping measurements and normalizations. Abort Method Stops the current measurement, normalization, real-time port monitor, or length measurement. VB.NET Syntax odaclient.actions.abort() VB 6.0 Syntax odaclient.actions.abort Measure Method Starts a new measurement. This method corresponds to the Begin Meas key on the front panel. Use this method to start a measurement after you have set the measurement parameters, and then watch the TriggerProgress event for completion. VB.NET Syntax odaclient.actions.measure() VB 6.0 Syntax odaclient.actions.measure MeasureLength Method Starts a length measurement. VB.NET Syntax odaclient.actions.measurelength() VB 6.0 Syntax odaclient.actions.measurelength Agilent 86038A Optical Dispersion Analyzer, Third Edition 203

204 Programming Commands Base Commands Normalize Method Starts a normalization. Set the pass parameter to False to perform a normalization, or to True to only perform a modulator bias adjustment. Parameters Optional ByVal ModBiasOnly As Boolean = False If ModBiasOnly = True, then only an optical modulator optimization is done during normalization. VB.NET Syntax odaclient.actions.normalize(false) VB 6.0 Syntax odaclient.actions.normalize PrintScreen Method This command is equivalent to the front panel Print button. VB.NET Syntax odaclient.actions.printscreen() VB.6.0 Syntax odaclient.actions.printscreen 204 Agilent 86038A Optical Dispersion Analyzer, Third Edition

205 Base Commands Programming Commands Analysis - CurveFit Commands The Analysis property returns an object, which in turn, contains the CurveFit property. The CurveFit property returns an object with methods and properties for controlling the application of curve fits to the data returned from the ODA. Calculate Method Applies the specified curve fit to the passed-in data and returns the resultant trace. Parameters ByVal CurveFitName As String - The name of the curve fit. A list of the curve fit names can be retrieved via the Catalog command. ByVal XStartPoint As Double - The start wavelength of the input data. ByVal XIncrement As Double - The wavelength spacing between points of the input data. ByRef InputActualData() As Double - The data to apply the curve fit to. ByRef GeneralForm As String - The general form of the equation for the specified curve fit. ByRef Equation As String - The actual equation that best fits the input data using the specified curve fit. Returns Double() - An array of the curve fitted data is returned. VB.NET Syntax Dim OutTraceData() As Double OutTraceData = odaclient.analysis.curvefit.calculate _ ("Quadratic", XStart, XIncrement, InTraceData, GeneralForm, Equation) VB 6.0 Syntax Dim OutTraceData() As Double OutTraceData = odaclient.analysis.curvefit.calculate _ ("Quadratic", XStart, XIncrement, InTraceData, GeneralForm, Equation) Agilent 86038A Optical Dispersion Analyzer, Third Edition 205

206 Programming Commands Base Commands Catalog Property Returns a list of available curve fits as an array of strings. Property Value String() - Contains an array of strings for all the curve fits supported by the system. VB.NET Syntax Dim MyCat() As String MyCat = odaclient.analysis.curvefit.catalog VB 6.0 Syntax Dim MyCat() As String MyCat = odaclient.analysis.curvefit.catalog Description Method Returns one of the following descriptions, corresponding to the passed-in short curve fit name. Linear calculates a single parameter least squares fit. The equation is in the form: y = Ax + B. It is commonly used for dispersion-shifted fiber, in which waveguide dispersion is dominant. Quadratic calculates a second order polynomial fit. The equation is in the form: y = Ax 2 + Bx + C. 3rd Order Sellmeier curve fit is commonly used for dispersion-unshifted fiber, in which material dispersion is dominant. The equation is in the form: y = A 2 + B + Cx -2 5th Order Sellmeier curve fit, although more affected by noise and instabilities in the measurement path, provides more general purpose curve fitting. The fiveterm Sellmeier fit can yield multiple zero-dispersion wavelengths. All the values and their associated slopes are shown in the graphs. The system searches for dispersion zeros in a wavelength range equaling approximately five times the measurement span (2.5 times each side of the center wavelength). This allows identification of zero-dispersion wavelengths which fall outside of the measurement range. In some cases, due to the peculiarity of the five-term Sellmeier fit, zero-dispersion wavelengths found outside of the measurement range may not correspond to actual zero-dispersion wavelengths of the device under test. The equation is in the form: Ax 4 + Bx 2 + C + Dx -2 + Ex Agilent 86038A Optical Dispersion Analyzer, Third Edition

207 Base Commands Programming Commands Parameters ByVal CurveFitName As String - The short name of the curve fit. A list of the curve fit names can be retrieved via the Catalog command. Returns String - Contains a description of the curve fit. VB.NET Syntax Dim desc As String desc = odaclient.analysis.curvefit.description("quadratic") VB 6.0 Syntax Dim desc As String desc = odaclient.analysis.curvefit.description("quadratic") ShortName Method Returns the short name of the curve fit. That is, linear, quadratic, Sellmeier-3, or Sellmeier-5. Parameters ByVal CurveFitName As String - The name of the curve fit. A list of the curve fit names can be retrieved via the Catalog command. Returns String - Contains the short name of the curve fit, for example quadratic. VB.NET Syntax Dim eqname As String eqname = odaclient.analysis.curvefit.shortname("quadratic") VB 6.0 Syntax Dim eqname As String eqname = odaclient.analysis.curvefit.shortname("quadratic") Agilent 86038A Optical Dispersion Analyzer, Third Edition 207

208 Programming Commands Base Commands Connectivity Commands The Connectivity property of the remote client returns a connectivity object, with methods and properties for controlling the LAN connection to the ODA. Connect Method Connects a remoting session to the remote server. Pass it the network name of the ODA. The network name can be found by looking at the Help > About dialog from the ODA front panel. You must wait until the connected event returns true before sending commands. You can also use the IP address of the ODA in string form. For example xxx.xxx.xxx.xxx. An error will be raised if the Connect method is called on a remote client that is already connected. Parameters ByVal servermachinename As String - The network name of the ODA. VB.Net Syntax odaclient.connectivity.connect("myoda") VB 6.0 Syntax odaclient.connectivity.connect("myoda") Disconnect Method Disconnects the remoting session from the ODA. Events will not be sent to the remote client once it disconnects. VB.NET Syntax odaclient.connectivity.disconnect() VB 6.0 Syntax odaclient.connectivity.disconnect 208 Agilent 86038A Optical Dispersion Analyzer, Third Edition

209 Base Commands Programming Commands IsConnected Method Checks to see if a remoting connection is established to the ODA. It is usually more efficient to use the Connected event, but this is a query you can make at any time. Returns Boolean - True is connected. VB.NET Syntax If (odaclient.connectivity.isconnected() = True) Then MsgBox("Connected") End If VB 6.0 Syntax If (odaclient.connectivity.isconnected = True) Then MsgBox("Connected") End If TerminateSession Method This method unregisters the communicator channel to the ODA. TerminateSession should be called when remoting to the ODA has been concluded. VB.NET Syntax odaclient.connectivity.terminatesession VB 6.0 Syntax odaclient.connectivity.terminatesession Agilent 86038A Optical Dispersion Analyzer, Third Edition 209

210 Programming Commands Base Commands Display Commands The Display property of the remote client object returns a display object with methods and properties for controlling the displayed traces. AutoscaleDuringMeasurement Method DefineTrace Method For swept measurements, an auto scale is performed on all graphs at the end of a measurement. For stepped measurements, an auto scale is performed on all graphs at the end of each wavelength step as specified in the Resolution.Stepped.Increment property. Parameters ByVal enabled As Boolean - True turns on auto scaling. Related Command Resolution.Stepped.Increment property VB.NET Syntax odaclient.display.autoscaleduringmeasurement(true) VB 6.0 Syntax odaclient.display.autoscaleduringmeasurement(true) Assigns a measurement on a specified port to a specific trace on the graph. Up to two measurements can be assigned to each of the four graphs. Parameters ByVal graphnumber As Integer - The graph number assigned to the measurement: 0 = Top Left, 1 = Bottom Left, 2 = Top Right, 3 = Bottom Right. ByVal trace As InstrumentObjects.ODACommon.eTraceLetter - Selects the left- or right-hand trace on the specified graph. ByVal port As InstrumentObjects.ODACommon.eODAPort - Selects the port number for the measurement. 210 Agilent 86038A Optical Dispersion Analyzer, Third Edition

211 Base Commands Programming Commands ByVal measurementtype As InstrumentObjects.ODACommon.eMeasurementType - The type of measurement to display: CD, Gain/Loss, GD, PDL, or DGD. VB.NET Syntax odaclient.display.definetrace(0, _ InstrumentObjects.ODACommon.eTraceLetter.TraceA, _ InstrumentObjects.ODACommon.eODAPort.One, _ InstrumentObjects.ODACommon.eMeasurementType.GD) VB 6.0 Syntax Call odaclient.display.definetrace(0, _ etraceletter_tracea, _ eodaport_one, _ emeasurementtype_gd) GDOffsetMode Property The ODA normally sets the group delay at the center trace point to zero. Writing a value to this property can change the point that is zeroed to the minimum or maximum of the trace. Reading the value of the property returns the current setting. Property Value InstrumentObjects.ODASensitivity.eGDOffsetMode VB.NET Syntax odaclient.display.gdoffsetmode = _ InstrumentObjects.ODASensitivity.eGDOffsetMode.CenterPoint VB 6.0 Syntax odaclient.display.gdoffsetmode = egdoffsetmode_centerpoint Agilent 86038A Optical Dispersion Analyzer, Third Edition 211

212 Programming Commands Base Commands ToggleMode Method Toggles the ODA user interface graph display between one, two, and four graphs. This method corresponds to the Change View front panel key. Parameters ByVal mode As InstrumentObjects.ODACommon.eLayoutMode - Defines the number of graphs that will be displayed on the 86038A user interface. VB.NET Syntax odaclient.display.togglemode _ ToggleRemoteIndicator Method (InstrumentObjects.ODACommon.eLayoutMode.QUAD_Graph) VB 6.0 Syntax odaclient.display.togglemode(elayoutmode_quad_graph) Use this method to return the ODA to local control. This is equivalent to pressing the front panel Local key. To put the ODA in local mode, call this method with a value of False. Parameters ByVal remote As Boolean - True sets the ODA UI to remote mode. False sets the ODA UI to local mode. VB.NET Syntax odaclient.display.toggleremoteindicator(true) VB 6.0 Syntax odaclient.display.toggleremoteindicator(true) 212 Agilent 86038A Optical Dispersion Analyzer, Third Edition

213 Base Commands Programming Commands ExportCSV Method Recall Method File Commands The File property returns a file object that has methods to control the save and recall of data and instrument settings. Saves the measurement settings and raw data. This file is saved as an ASCII text file with a.csv extension. The data is comma separated and can be read directly into spreadsheets and analysis packages such as Matlab or Excel. An error will be raised if the specified path does not exist on the ODA. Also, any existing file by the same name will be overwritten. Parameters ByVal filename As String - Full filename and path of the export file. The file will be saved on the ODA system itself. VB.NET Syntax odaclient.file.exportcsv("d:\data\myexport.csv") VB 6.0 Syntax odaclient.file.exportcsv("d:\data\myexport.csv") Recalls a previously saved instrument state, including settings, trace data, and normalization data. An error will be raised if the specified file name does not exist on the ODA. Parameters ByVal filename As String - Full filename and path of the ODA file. The file must exist on the ODA system. VB.NET Syntax odaclient.file.recall("d:\data\mystate.oda") VB 6.0 Syntax odaclient.file.recall("d:\data\mystate.oda") Agilent 86038A Optical Dispersion Analyzer, Third Edition 213

214 Programming Commands Base Commands Save Method Saves the current instrument settings, trace data points, and normalization data. The file is saved with a.oda extension. When this file is recalled using the Recall method, all the setup parameters will be set to the saved conditions. An error will be raised if the specified path does not exist on the ODA. Also, any existing file by the same name will be overwritten. Parameters ByVal filename As String - Full filename and path of the ODA file. The file will be saved on the ODA system itself. VB.NET Syntax odaclient.file.save("d:\data\mystate.oda") VB 6.0 Syntax odaclient.file.save("d:\data\mystate.oda") 214 Agilent 86038A Optical Dispersion Analyzer, Third Edition

215 Base Commands Programming Commands Length Commands The Length property of the remote client object returns a length object with methods and properties to control the measurement of fiber length. IndexOfRefraction Property Mode Property Sets and reads the IndexOfRefraction for use with length measurements when Mode = Measure. The length of the test device is based on specialized group delay measurements and a user-defined refractive index value. This feature is intended for fiber and cable test applications. Property Value Double Related Command Length.ValidIndexOfRefraction method VB.NET Syntax odaclient.length.indexofrefraction = 1.50 VB 6.0 Syntax odaclient.length.indexofrefraction = 1.50 Determines if the ODA should use the user-specified value for length or the measured value. Property Value InstrumentObjects.ODALength.eLengthMode elengthmode.measure - The ODA will measure length based on the index of refraction. elengthmode.specify - The ODA will use the Specified Length property to set length. VB.NET Syntax odaclient.length.mode = _ InstrumentObjects.ODALength.eLengthMode.Measure Agilent 86038A Optical Dispersion Analyzer, Third Edition 215

216 Programming Commands Base Commands VB 6.0 Syntax SpecifiedLengthPort1 Property odaclient.length.mode=elengthmode_measure Specifies the length of the fiber-optic cable (in meters) for port 1. The length will also be used in computing CD and PMD coefficients. Property Value Double Related Command Length.ValidSpecifiedLength method VB.NET Syntax odaclient.length.specifiedlengthport1=3.8 VB 6.0 Syntax SpecifiedLengthPort2 Property odaclient.length.specifiedlengthport1=3.8 Specifies the length of the fiber-optic cable (in meters) for port 2. The length will also be used in computing CD and PMD coefficients. Property Value Double Related Command Length.ValidSpecifiedLength method VB.NET Syntax odaclient.length.specifiedlengthport2=3.8 VB 6.0 Syntax odaclient.length.specifiedlengthport2= Agilent 86038A Optical Dispersion Analyzer, Third Edition

217 Base Commands Programming Commands ValidIndexOfRefraction Method Returns valid minimum, maximum, and default values of index of refraction for length measurements. Parameters ByRef Minimum As Double- holds minimum index of refraction. ByRef Maximum As Double - holds maximum index of refraction. ByRef DefaultValue As Double - holds default index of refraction. Related Command Length.IndexOfRefraction property VB.NET Syntax Dim minn As Double Dim maxn As Double Dim defaultn As Double odaclient.length.validindexofrefraction (minn, maxn, defaultn) VB 6.0 Syntax Dim minn As Double Dim maxn As Double Dim defaultn As Double Call odaclient.length.validindexofrefraction (minn, maxn, defaultn) ValidSpecifiedLength Method Returns valid minimum, maximum, and default values for the specified length of a fiber-optic cable. Parameters ByRef Minimum As Double - holds minimum specified length (in meters). ByRef Maximum As Double - holds maximum specified length (in meters). ByRef DefaultValue As Double - the default specified length (in meters). Agilent 86038A Optical Dispersion Analyzer, Third Edition 217

218 Programming Commands Base Commands Related Command Length.SpecifiedLengthPort1 property and Length.SpecifiedLengthPort2 property VB.NET Syntax Dim minlen As Double Dim maxlen As Double Dim defaultlen As Double odaclient.length.validspecifiedlength(minlen, maxlen, defaultlen) VB 6.0 Syntax Dim minlen As Double Dim maxlen As Double Dim defaultlen As Double Call odaclient.length.validspecifiedlength(minlen, maxlen, defaultlen) 218 Agilent 86038A Optical Dispersion Analyzer, Third Edition

219 Base Commands Programming Commands ValidStartStop Method MeasurementRange Commands The MeasurementRange property of the remote client object returns a measurement range object that contains the functionality of the front panel Measurement Range panel. Returns valid minimum and maximum wavelength values for the measurement. Parameters ByRef Minimum As Double - minimum wavelength accepted, in nm. ByRef Maximum As Double - maximum wavelength accepted, in nm. Related Command MeasurementRange.XStart property, MeasurementRange.XStop property VB.NET Syntax Dim minwl As Double Dim maxwl As Double odaclient.measurementrange.validstartstop (minwl, maxwl) VB 6.0 Syntax Dim minwl As Double Dim maxwl As Double Call odaclient.measurementrange.validstartstop (minwl, maxwl) XStart Property Sets and reads the start wavelength for the next measurement. Property Value Double - The start wavelength in nanometers. Related Command MeasurementRange.ValidStartStop method Agilent 86038A Optical Dispersion Analyzer, Third Edition 219

220 Programming Commands Base Commands VB.NET Syntax Dim mystart As Double mystart = odaclient.measurementrange.xstart odaclient.measurement _ Range.XStart = mystart 1.0 VB 6.0 Syntax Dim mystart As Double mystart = odaclient.measurementrange.xstart odaclient.measurement _ Range.XStart = mystart 1.0 XStop Property Sets and reads the stop wavelength for the next measurement. Property Value Double - The stop wavelength in nanometers. Related Command MeasurementRange.ValidStartStop method VB.NET Syntax Dim mystop As Double mystop = odaclient.measurementrange.xstop odaclient.measurement _ Range.XStop = mystop +1.0 VB 6.0 Syntax Dim mystop As Double mystop = odaclient.measurementrange.xstop odaclient.measurement _ Range.XStop = mystop Agilent 86038A Optical Dispersion Analyzer, Third Edition

221 Base Commands Programming Commands NormalizationRange Commands The NormalizationRange property of the remote client object returns a normalization range object that controls most of the settings unique to normalization. Those settings unique to a stepped normalization are in Normalization.Stepped, those unique to swept normalization are in Normalization.Swept. ClearGDAndInsertionLossOffsets Method Clears the GD and Insertion loss offsets for the specified port. Parameters By Val PortNum As InstrumentObjects.ODACommon.eODAPort - The port on which to clear GD and Gain/Loss normalization data. VB.NET Syntax odaclient.normalizationrange.cleargdandinsertionlossoffsets _ (InstrumentObjects.ODACommon.eODAPort.One) VB 6.0 Syntax odaclient.normalizationrange.cleargdandinsertionlossoffsets _ (eodaport_one) ClearModBias Method Clears the current optical modulator bias value. VB.NET Syntax odaclient.normalizationrange.clearmodbias() VB 6.0 Syntax odaclient.normalizationrange.clearmodbias Agilent 86038A Optical Dispersion Analyzer, Third Edition 221

222 Programming Commands Base Commands ClearPDA Method PDAEnabled Property Clears the current phase dynamic accuracy data. This is automatically done when a normalization is performed with PDAEnabled set to True. VB.NET Syntax odaclient.normalizationrange.clearpda() VB 6.0 Syntax odaclient.normalizationrange.clearpda Phase dynamic accuracy corrects for amplitude-to-phase conversion effects in the instrument receiver. If your test device exhibits no loss variation across the wavelength range, then disable this function to speed up the normalization time. You can read or set the value. Property Value Boolean - True if PDA is enabled. VB.NET Syntax odaclient.normalizationrange.pdaenabled = True VB 6.0 Syntax odaclient.normalizationrange.pdaenabled = True UseCustomNormalization Property Instructs the ODA to use the XStart, XStop, Increment, and TracePoints from the NormalizationRange. These settings are therefore independent from the settings specified for the measurement. PDAEnabled is not affected by this property. Property Value Boolean - True tells the ODA to use the NormalizationRange settings, False tells the ODA to use Measurement settings. VB.NET Syntax odaclient.normalizationrange.usecustomnormalization = True 222 Agilent 86038A Optical Dispersion Analyzer, Third Edition

223 Base Commands Programming Commands VB 6.0 Syntax ValidStartStop Method odaclient.normalizationrange.usecustomnormalization = True Returns valid minimum and maximum wavelength values for normalization, in nm. Parameters ByRef Minimum As Double - The smallest valid wavelength, in nm. ByRef Maximum As Double - The largest valid wavelength, in nm. Related Command NormalizationRange.XStart property, NormalizationRange.XStop property VB.NET Syntax Dim minwl As Double Dim maxwl As Double odaclient. NormalizationRange.ValidStartStop(minWL, maxwl) VB 6.0 Syntax Dim minwl As Double Dim maxwl As Double Call odaclient.normalizationrange.validstartstop(minwl, maxwl) XStart Property Sets and reads the start wavelength for the next normalization. Property Value Double - The start wavelength in nanometers. Related Command NormalizationRange.XStop property Agilent 86038A Optical Dispersion Analyzer, Third Edition 223

224 Programming Commands Base Commands VB.NET Syntax odaclient.normalizationrange.usecustomnormalization = True odaclient.normalizationrange.xstart = VB 6.0 Syntax odaclient.normalizationrange.usecustomnormalization = True odaclient.normalizationrange.xstart = XStop Property Sets and reads the stop wavelength for the next normalization. Property Value Double - The stop wavelength in nanometers. Related Command NormalizationRange.XStart property VB.NET Syntax odaclient.normalizationrange.usecustomnormalization = True odaclient. NormalizationRange.XStop = VB 6.0 Syntax odaclient.normalizationrange.usecustomnormalization = True odaclient. NormalizationRange.XStop = Agilent 86038A Optical Dispersion Analyzer, Third Edition

225 Base Commands Programming Commands NormalizationRange - Stepped Commands The NormalizationRange.Stepped property of the remote client object returns an object that handles settings unique to stepped normalization. Increment Property Specifies the separation between adjacent measurement wavelengths. Property Value Double - The wavelength spacing between points, in nanometers. Related Command NormalizationRange.Stepped.ValidIncrement method VB.NET Syntax odaclient.normalizationrange.stepped.increment =0.5 VB 6.0 Syntax ValidIncrement Method odaclient.normalizationrange.stepped.increment =0.5 Returns valid minimum, maximum, and default values for the increment, in nanometers. Parameters ByRef Minimum As Double - Minimum X-axis increment is returned. ByRef Maximum As Double - Maximum X-axis increment is returned. ByRef DefaultValue As Double - Default X-axis increment is returned. Related Command NormalizationRange.Stepped.Increment property VB.NET Syntax Dim minxinc As Double Dim maxxinc As double Dim defxinc As Double Agilent 86038A Optical Dispersion Analyzer, Third Edition 225

226 Programming Commands Base Commands odaclient.normalizationrange.stepped.validincrement _ (minxinc, maxxinc, defxinc) VB 6.0 Syntax Dim minxinc As Double Dim maxxinc As double Dim defxinc As Double Call odaclient.normalizationrange.stepped.validincrement _ (minxinc, maxxinc, defxinc) 226 Agilent 86038A Optical Dispersion Analyzer, Third Edition

227 Base Commands Programming Commands Normalization Range - Swept Commands The NormalizationRange.Swept property of the remote client object returns an object that handles settings unique to swept normalization. TracePoints Property Sets the number of trace points to either 801 or The greater the number of points the greater the measurement accuracy. However, measurement time also increases. Property Value InstrumentObjects.ODAResolution.eTracePointsSweptMode - The number of trace points for a swept mode normalization. VB.NET Syntax odaclient.normalizationrange.swept.tracepoints = _ ODAResolution.eTracePointsSweptMode.Step1601 VB 6.0 Syntax odaclient.normalizationrange.swept.tracepoints = _ etracepointssweptmode_step1601 Agilent 86038A Optical Dispersion Analyzer, Third Edition 227

228 Programming Commands Base Commands Printing Commands The Printing property of the remote client object returns an object which allows the graphical display to be printed. PrintScreen Method Prints a copy of the graphical display and pertinent instrument settings to the default printer. This method is equivalent to pressing the front panel Print key. VB.NET Syntax odaclient.printing.printscreen() VB 6.0 Syntax odaclient.printing.printscreen 228 Agilent 86038A Optical Dispersion Analyzer, Third Edition

229 Base Commands Programming Commands Resolution Commands The Resolution property of the remote client object returns an object, which handles the resolution of the measurement. RFModulationFrequency Property Specifies the RF modulation frequency used to modulate the optical signal in the ODA test set. In general, a high modulation frequency minimizes instrumentation noise and a low modulation frequency maximizes wavelength resolution. Property Value Double - RF Modulation Frequency in MHz Related Command Resolution.ValidRFModulationFrequency method VB.NET Syntax odaclient.resolution.rfmodulationfrequency = 2000 VB 6.0 Syntax odaclient.resolution.rfmodulationfrequency = 2000 ValidRFModulationFrequency Method Returns valid minimum, maximum, and default RF modulation frequency values for the measurement. Parameters ByRef Minimum As Double - Minimum RF Modulation Frequency allowed, in MHz ByRef Maximum As Double - Maximum RF Modulation Frequency allowed, in MHz ByRef Default Value As Double - Default RF Modulation Frequency used, in MHz. Related Command Resolution.RFModulationFrequency property Agilent 86038A Optical Dispersion Analyzer, Third Edition 229

230 Programming Commands Base Commands VB.NET Syntax Dim Min As Double Dim Max As Double Dim Default As Double odaclient.resolution.validrfmodulationfrequency (Min, Max, Default) VB 6.0 Syntax Dim Min As Double Dim Max As Double Dim Default As Double Call odaclient.resolution.validrfmodulationfrequency (Min, Max, Default) 230 Agilent 86038A Optical Dispersion Analyzer, Third Edition

231 Base Commands Programming Commands Resolution - Stepped Commands The Stepped property of the Resolution object returns an object, which handles resolution settings unique to stepped mode. AutoModulationFrequency Property Increment Property Automatically selects the modulation frequency to avoid RF phase wrapping. The amount of RF phase change that is generated in response to a wavelength increment is determined by the product of the wavelength increment, the modulation frequency, and the dispersion of the test device. Automatic adjustment of the modulation frequency insures that the perwavelength-step phase change is always less than ±180 degrees. Property Value Boolean - If True, the RF modulation frequency will be set automatically by the ODA. VB.NET Syntax odaclient.resolution.stepped.automodulationfrequency = True VB 6.0 Syntax odaclient.resolution.stepped.automodulationfrequency = True Specifies the separation between adjacent measurement wavelengths. Property Value Double - The wavelength spacing between points, in nanometers. Related Command Resolution.Stepped.ValidIncrement method, Resolution.Stepped.ValidTracePoints method VB.NET Syntax odaclient.resolution.stepped.increment =.63 VB 6.0 Syntax odaclient.resolution.stepped.increment =.63 Agilent 86038A Optical Dispersion Analyzer, Third Edition 231

232 Programming Commands Base Commands ValidIncrement Method Returns valid minimum, maximum, and default values for the wavelength step size, in nanometers. Parameters ByRef Minimum As Double - Minimum X-axis increment is returned. ByRef Maximum As Double - Maximum X-axis increment is returned. ByRef DefaultValue As Double - Default X-axis increment is returned. Related Command Resolution.Stepped.Increment property, Resolution.Stepped.ValidTracePoints method VB.NET Syntax Dim minxinc As Double Dim maxxinc As double Dim defxinc As Double odaclient.resolution.stepped.validincrement (minxinc, maxxinc, defxinc) VB 6.0 Syntax Dim minxinc As Double Dim maxxinc As double Dim defxinc As Double Call odaclient.resolution.stepped.validincrement _ (minxinc, maxxinc, defxinc) ValidTracePoints Method Returns valid minimum and maximum trace point values. Parameters ByRef Minimum As Double - Minimum number of trace points is returned ByRef Maximum As Double - Maximum number of trace points is returned 232 Agilent 86038A Optical Dispersion Analyzer, Third Edition

233 Base Commands Programming Commands Related Command Resolution.Stepped.Increment property, Resolution.Stepped.ValidIncrement method VB.NET Syntax Dim MinXtrc As Double Dim MaxXtrc As Double odaclient.resolution.stepped.validtracepoints (MinXtrc, MaxXtrc) VB 6.0 Syntax Dim MinXtrc As Double Dim MaxXtrc As Double Call odaclient.resolution.stepped.validtracepoints (MinXtrc, MaxXtrc) Agilent 86038A Optical Dispersion Analyzer, Third Edition 233

234 Programming Commands Base Commands Resolution - Swept Commands The Swept property of the Resolution object returns an object that handles resolution settings unique to swept mode. TracePoints Property Sets the number of points used in a swept mode measurement. Choices are 801 or 1601 points. Property Value InstrumentObjects.ODAResolution.eTracePointsSweptMode - The number of trace points for a swept mode measurement. VB.NET Syntax odaclient.resolution.swept.tracepoints= _ODAResolution.eTracePoints SweptMode.Step801 VB 6.0 Syntax odaclient.resolution.swept.tracepoints=_etracepoints SweptMode_Step Agilent 86038A Optical Dispersion Analyzer, Third Edition

235 Base Commands Programming Commands Results Commands The Results property of the remote client object returns an object that provides you access to the trace data and the x-axis values. FiberLength Method Retrieves the measured fiber length after a length measurement is completed. Parameters ByVal MeasNormType As InstrumentObjects.ODACommon.eMeasNormData Type - The measurement type. ByVal PortNum As InstrumentObjects.ODACommon.eODAPort. - The port number. Returns Double - Returns the fiber length. VB.NET Syntax Dim Length As Double Length = odaclient.results.fiberlength _ (InstrumentObjects.ODACommon.eMeasNormDataType.Measurement, _ InstrumentObjects.ODACommon.eODAPort.One) VB 6.0 Syntax Dim Length As Double Length = odaclient.results.fiberlength _ (emeasnormdatatype_measurement, eodaport_one) Increment Property Returns the wavelength step size (or increment), in nm, for the last measurement. You can build the wavelength array with λ = XStart + (i - 1)XIncrement, i= 1 to number of points Agilent 86038A Optical Dispersion Analyzer, Third Edition 235

236 Programming Commands Base Commands Property Value Double - The x-axis increment VB.NET Syntax Dim XInc As Double XInc = odaclient.results.increment VB 6.0 Syntax Dim XInc As Double XInc = odaclient.results.increment XStart Method Returns the Start wavelength for the last measurement of the specified type, in nm. Note that because of the inherent derivative to calculate dispersion, the dispersion XStart differs from the GD and Gain XStart by one half of an increment. Returns Double - The start wavelength for the last measurement, in nanometers VB.NET Syntax Dim sval As Double sval = odaclient.results.xstart _ (InstrumentObjects.ODACommon.eMeasurementType.Gain) VB 6.0 Syntax Dim sval As Double sval = odaclient.results.xstart (emeasurementtype_gain) XStop Method Returns the stop wavelength for the last measurement of the specified type, in nm. Returns Double - The stop wavelength for the last measurement in nanometers. 236 Agilent 86038A Optical Dispersion Analyzer, Third Edition

237 Base Commands Programming Commands VB.NET Syntax Dim xstop As Double xstop = odaclient.results.xstop_ (InstrumentObjects.ODACommon.eMeasurementType.Gain) VB 6.0 Syntax Dim xstop As Double xstop = odaclient.results.xstop(emeasurementtype_gain) XValueFromPointIndex Method Calculates the wavelength for the specified trace point. This can also be calculated from XStart and Increment. Parameters ByVal MeasurementType As InstrumentObjects.ODACommon.eMeasurementType ByVal PointIndex As Integer Returns Double - Returns the wavelength of the point index passed to the method. VB.NET Syntax Dim xval As Double xval = odaclient.results.xvaluefrompointindex _ (InstrumentObjects.ODACommon.eMeasurementType.Gain,2) VB 6.0 Syntax Dim xval as Double xval = odaclient.results.xvaluefrompointindex _ (emeasurementtype_gain,2) YData Method Returns the data array for the last measurement for the specified measurement type and port. Use UBound for VB 6.0 or Length for VB.NET to find the number of trace points, and XStart and Increment to find the wavelengths Agilent 86038A Optical Dispersion Analyzer, Third Edition 237

238 Programming Commands Base Commands Parameters ByVal MeasurementType As InstrumentObjects.ODACommon.eMeasurementType - The measurement data type to retrieve. ByVal PortNum As InstrumentObjects.ODACommon.eODAPort- Port number to retrieve the data. Returns Double() - The raw data array. VB.NET Syntax Dim rawdata() As Double rawdata = odaclient.results.ydata _ (InstrumentObjects.ODACommon.eMeasurementType.Gain, _ InstrumentObjects.ODACommon.eODAPort.One) VB 6.0 Syntax Dim rawdata() As Double rawdata = odaclient.results.ydata(emeasurementtype_gain, _ eodaport_one) 238 Agilent 86038A Optical Dispersion Analyzer, Third Edition

239 Base Commands Programming Commands Sensitivity Commands DynamicDriftReduction Property For Stepped measurement modes only Sets/Gets the DynamicDriftReduction value. This system function reduces measurement error contributed by gradual, ambient temperature changes that change the response of the DUT or the measurement system itself. It is appropriate for use when the temperature of the room is gradually rising or falling, or when the test device gradually transitions from one temperature to another. This function is not suited to rapid or stepped temperature changes. The movement of air over the test path can generate rapid, small group delay changes. Reduce this type of error by covering the test path to block air currents. Turning this function on will approximately double your test time. Property Value Boolean = True if enabled VB.NET Syntax If(odaClient.Sensitivity.DynamicDriftReduction = False) Then odaclient.sensitivity.dynamicdriftreduction = True End If VB 6.0 Syntax If(odaClient.Sensitivity.DynamicDriftReduction = False) Then odaclient.sensitivity.dynamicdriftreduction = True End If IFBandwidth Property Sets the bandwidth of the filtering process that trades off measurement noise floor (sensitivity) against measurement speed. A lower IF bandwidth value means lower noise (high sensitivity) and a longer measurement time. Reduce the IF bandwidth as needed to control trace noise. This is particularly important when measuring a high insertion loss device. Property Value InstrumentObjects.ODASensitivity.eIFBandwidth Agilent 86038A Optical Dispersion Analyzer, Third Edition 239

240 Programming Commands Base Commands VB.NET Syntax odaclient.sensitivity.ifbandwidth = _ InstrumentObjects.ODASensitivity.eIFBandwidth.IFBW_100Hz VB 6.0 Syntax SamplesPerPoint Property odaclient.sensitivity.ifbandwidth=eifbandwidth_ifbw_100hz Sets the number of amplitude and phase measurements (samples) that are taken at each measurement wavelength (trace point). In Swept measurement mode, the recovered modulation amplitude and phase are sampled periodically as the wavelength is swept. As a result, the wavelength resolution of the measurement is limited by wavelength range/(number of points per sweep 1). Note that wavelength resolution is also affected by the modulation frequency. In Stepped measurement mode, you select how many samples to take at each measurement wavelength. The multiple samples are averaged to generate a single trace point. A larger number of points means more averaging, suitable for reducing trace noise in cases of high insertion loss test devices. Property Value Integer - The number of samples to take at each point. Related Command Sensitivity.ValidSamplesPerPoint method VB.NET Syntax odaclient.sensitivity.samplesperpoint = 201 VB 6.0 Syntax ValidSamplesPerPoint Method odaclient.sensitivity.samplesperpoint = 201 Returns valid minimum, maximum, and default values for the SamplesPerPoint. Parameters ByRef Minimum As Integer - Minimum Samples per point is returned. 240 Agilent 86038A Optical Dispersion Analyzer, Third Edition

241 Base Commands Programming Commands ByRef Maximum As Integer - Maximum Samples per point is returned. ByRef DefaultValue As Integer - Default Samples per point for the ODA. Related Command Sensitivity.SamplesPerPoint property VB.NET Syntax Dim minsamples As Integer Dim maxsamples As Integer Dim defsamples As Integer odaclient.sensitivity.validsamplesperpoint _ (minsamples, maxsamples, defsamples) VB 6.0 Syntax Dim minsamples As Integer Dim maxsamples As Integer Dim defsamples As Integer Call odaclient.sensitivity.validsamplesperpoint _ (minsamples, maxsamples, defsamples) Agilent 86038A Optical Dispersion Analyzer, Third Edition 241

242 Programming Commands Base Commands Status Commands ErrorFlag Property Sets the value to True when an error has occurred. Reading the ErrorFlag automatically sets the flag back to False. Property Value Boolean - True when an error has occurred. VB.NET Syntax If(odaClient.Status.ErrorFlag = True) Then MsgBox( An error occurred. ) End If VB 6.0 Syntax If(odaClient.Status.ErrorFlag = True) Then MsgBox( An error occurred. ) End If EstimatedTimeToTLSSettling Property Indicates the estimated time until the next TLSSettling begins. The ODA relies on the tunable laser to provide high resolution and dynamic range. The laser has a mechanically tuned cavity that is sensitive to temperature change, requiring the laser to track the internal temperature and occasionally perform an adjustment. Under normal temperature conditions, this value may show 120 minutes as the estimate. This value is updated every minute. Property Value Double - The estimated time in minutes to the next TLS Settling. Related Command TLS.ForceSettling method, Status.TLSSettling property VB.NET Syntax odaclient.status.estimatedtimetotlssettling 242 Agilent 86038A Optical Dispersion Analyzer, Third Edition

243 Base Commands Programming Commands VB 6.0 Syntax InstrumentState Property odaclient.status.estimatedtimetotlssettling Indicates the current state of the ODA, that is, idle, initializing, measuring, TLS Settling, or aborting. Refer to ODA Enumerations on page 141 for possible values. Property Value InstrumentObjects.ODACommon.eInstrumentStatus - Denotes the current instrument state. VB.NET Syntax Dim curstatus As InstrumentObjects.ODACommon.eInstrumentStatus curstatus = odaclient.status.instrumenstate VB 6.0 Syntax Dim curstatus as InstrumentObjects.eInstrumentStatus curstatus = odaclient.status.instrumentstate LastError Property Returns a string describing the error. Reading the LastError automatically sets the property back to an empty string. Property Value String - A description of the error. VB.NET Syntax If(odaClient.Status.ErrorFlag = True) Then MsgBox("Error:" + odaclient.status.lasterror) End If VB 6.0 Syntax If(odaClient.Status.ErrorFlag = True) Then MsgBox("Error:" + odaclient.status.lasterror) End If Agilent 86038A Optical Dispersion Analyzer, Third Edition 243

244 Programming Commands Base Commands PresetComplete Property Sets the value to True when the preset is complete and False when it is not. Property Value Boolean - True when the Preset/Initialization is complete. VB.NET Syntax Dim PreComplete As Boolean PreComplete = odaclient.status.presetcomplete VB 6.0 Syntax Dim PreComplete As Boolean PreComplete = odaclient.status.presetcomplete StatusLog Method Returns an array of status log entries that appear as messages within the status log on the ODA user interface. Returns InstrumentObjects.RemoteStatusEntry - An array of entries containing the status log information. VB.NET Syntax Dim ctr As Integer Dim entries() As InstrumentObjects.RemoteStatusEntry entries = odaclient.status.statuslog() For ctr = 0 To entries.getupperbound(0) Console.WriteLine("Time:" + entries(ctr).timestamp + "Summary:" + entries(ctr).summary + "Type:" + entries(ctr).messagetype.tostring + "Detail:" + entries(ctr).detail) Next 244 Agilent 86038A Optical Dispersion Analyzer, Third Edition

245 Base Commands Programming Commands VB 6.0 Syntax Dim ctr As Integer Dim entries() As RemoteStatusEntry entries = odaclient.status.statuslog For ctr = 0 to UBound (entries) Debug.Print(entries(ctr).Summary) Next TLSSettling Property Checks if a TLS Settle is in progress. Property Value Boolean - True if the TLSSettling is in progress. Related Command TLS.ForceSettling method VB.NET Syntax Dim TLSIsSettling As Boolean TLSIsSettling = odaclient.status.tlssettling VB 6.0 Syntax Dim TLSIsSettling As Boolean TLSIsSettling = odaclient.status.tlssettling TriggerComplete Property Sets the value to True when the trigger is complete. Property Value Boolean - True when the last Measurement or Normalization is complete. VB.NET Syntax Dim TrigComplete As Boolean TrigComplete = odaclient.status.triggercomplete Agilent 86038A Optical Dispersion Analyzer, Third Edition 245

246 Programming Commands Base Commands VB 6.0 Syntax Dim TrigComplete As Boolean TrigComplete = odaclient.status.triggercomplete ValidNormalization Property Sets the value to True when the ODA settings fall within the current normalization boundaries. Read-Only Property Boolean - True when current ODA settings fall within the current normalization boundaries. VB.NET Syntax Dim ValNorm As Boolean ValNorm = odaclient.status.validnormalization VB 6.0 Syntax Dim ValNorm As Boolean ValNorm = odaclient.status.validnormalization 246 Agilent 86038A Optical Dispersion Analyzer, Third Edition

247 Base Commands Programming Commands System Commands LaserState Method Preset Method Turns the laser on/off at the TLS output. The laser will turn back on when a measurement is started. Parameters OnOffState - Specifies the desired state of the laser. VB.NET Syntax odaclient.system.laserstate _ (Instrument.Objects.ODACommon.enumOnOff.eOn) VB 6.0 Syntax odaclient.system.laserstate (enumonoff_eon) Sets the instrument to defined setup conditions. Preset can only be called when the ODA is idle. VB.NET Syntax odaclient.system.preset() VB 6.0 Syntax odaclient.system.preset Agilent 86038A Optical Dispersion Analyzer, Third Edition 247

248 Programming Commands Base Commands System - Identity Commands CompanyName Property Returns Agilent Technologies as the company name of the 86038A ODA. Property Value String - Company name. VB.NET Syntax Dim CompName As String CompName = odaclient.system.identity.companyname VB 6.0 Syntax Dim CompName As String CompName = odaclient.system.identity.companyname ProductId Property Returns the product number, 86038A. Property Value String - Product number VB.NET Syntax Dim ProdID As String ProdID = odaclient.system.identity.productid VB 6.0 Syntax Dim ProdID As String ProdID = odaclient.system.identity.productid ProductName Property Returns the product name. Property Value String - Product name. 248 Agilent 86038A Optical Dispersion Analyzer, Third Edition

249 Base Commands Programming Commands VB.NET Syntax Dim ProdName As String ProdName = odaclient.system.identity.productname VB 6.0 Syntax Dim ProdName As String ProdName = odaclient.system.identity.productname ProductVersion Property Returns the version of the ODA system. The major and minor version numbers of the remote client and the ODA system should match. Property Value String - Software version of ODA system software. VB.NET Syntax Dim ProdVersion As String ProdVersion = odaclient.system.identity.productversion VB 6.0 Syntax Dim ProdVersion As String ProdVersion = odaclient.system.identity.productversion RemotingVersion Property Returns the software version number of the remoting software. The major and minor version numbers of the remote client and the ODA system should match. A mismatch in versions may cause unexpected results. Property Value String - Version of remote client software. VB.NET Syntax Dim RemVersion As String RemVersion = odaclient.system.identity.remotingversion Agilent 86038A Optical Dispersion Analyzer, Third Edition 249

250 Programming Commands Base Commands VB.6.0 Syntax Dim RemVersion As String RemVersion = odaclient.system.identity.remotingversion 250 Agilent 86038A Optical Dispersion Analyzer, Third Edition

251 Base Commands Programming Commands TLS Commands ForceSettling Method Performs a TLS settling process. Use this method to force a TLSSettling when your application has free time rather than having a TLSSettling automatically start at an unexpected time. Related Command Status.EstimatedTimeToTLSSettling property, Status.TLSSettling property VB.NET Syntax odaclient.tls.forcesettling() VB 6.0 Syntax odaclient.tls.forcesettling HighPower Read Only Property Returns the power setting of TLS Output 2. Property Value Double - the TLS power setting. VB.NET Syntax Dim Power As Double Power = odaclient.tls.highpower VB.6.0 Syntax Dim Power As Double Power = odaclient.tls.highpower Agilent 86038A Optical Dispersion Analyzer, Third Edition 251

252 Programming Commands Base Commands 252 Agilent 86038A Optical Dispersion Analyzer, Third Edition

253 7 Troubleshooting and Upgrades Introduction Troubleshooting Startup Problems Troubleshooting GPIB Communications Problems Troubleshooting Problems with Remote Programming 261 Troubleshooting Sweep and Normalization Problems. 262 Troubleshooting Incorrect Data Troubleshooting the TLS Solving Measurement Problems Software Upgrade Procedure Hard Drive Backup and Recovery Cleaning Connections for Accurate Measurements Returning the Instrument for Service Agilent 86038A Optical Dispersion Analyzer, Third Edition 253

254 Troubleshooting and Upgrades Introduction Introduction This chapter begins by explaining how to troubleshoot basic problems with the ODA computer system and hardware. It then explains how to solve some common measurement problems. The rest of the chapter covers other important customer support information. Please note that the following initial isms are used: ODA: Optical Dispersion Analyzer (Agilent 86038A) PNA: Performance Network Analyzer TLS: Tunable Laser Source MWM: Multi-wavelength Meter 254 Agilent 86038A Optical Dispersion Analyzer, Third Edition

255 Troubleshooting Startup Problems Troubleshooting and Upgrades Troubleshooting Startup Problems If the ODA does not boot up to MS Windows Check Connections Ensure that the PNA is plugged in. If an external monitor is being used, ensure it is plugged in and connected to the PNA. If this does not solve the problem, continue with the next step. 2 Reload the C: Image The Agilent ODA has the ability to backup and restore a hard drive image, in case of operating system error. If the ODA is unable to boot into the Windows 2000 option, please refer to Hard Drive Backup and Recovery on page 271. If this does not solve the problem, continue with the next step. 3 Replace the PNA If the system does not restore from the hard disk recovery image, the PNA will need to be replaced. If the ODA Application does not automatically launch The ODA Application should launch automatically after Windows 2000 boots. If not, the application can be launched from the ODA shortcut on the desktop, or from Start > Programs > Agilent Optical Dispersion Analyzer > Agilent 86038A. If you are able to successfully launch the ODA application in this way, it is possible that AutoStart for the application has been disabled. To re-enable AutoStart, go to C:\Program Files\Agilent\Optical Dispersion Analyzer\Config, and double click on the "toggle ODA autostart.vbs" link. A message will appear stating the status of AutoStart (enabled or disabled) with the option to change. Ensure that AutoStart is enabled. Similarly, ensure that the "toggle ODA loading autostart.vbs" link is enabled. If the ODA cannot communicate with the TLS or MWM When the application launches, it attempts to contact the tunable laser source, the test set, and the multi-wavelength meter (when applicable). If there is any difficulty in contacting these instruments, error messages will Agilent 86038A Optical Dispersion Analyzer, Third Edition 255

256 Troubleshooting and Upgrades Troubleshooting Startup Problems be displayed and the application may not launch fully. There is a 30-minute time-out for contacting the TLS as the TLS takes at least 12 minutes to fully boot. If there is any difficulty in contacting these instruments, ensure that there is power to the test set, and refer to Troubleshooting GPIB Communications Problems on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

257 Troubleshooting GPIB Communications Problems Troubleshooting and Upgrades Troubleshooting GPIB Communications Problems 1. Check the ODA Status Log If the ODA application is running, check the ODA Status Log for any warnings or errors. Press Status Log to view a list of status messages. 2. Ensure that GPIB cables are configured correctly. Check the GPIB cables, they should match Figure 2 on page Check the system GPIB Addresses. The system is configured to work with set GPIB addresses for the tunable laser source and multi-wavelength meter (when applicable). If the GPIB addresses for these instruments have been changed, the ODA application will not be able to communicate with them. The default address for an 8164B and an 86122A is the same 20. If both instruments are on the bus with the same GPIB address, you may get confusing error messages, likely a message that says the ODA Application cannot contact the tunable laser source. Follow the details below to check and reset the GPIB addresses on the tunable laser source and multi-wavelength meter. The GPIB address cannot be changed from the ODA software, but must be altered on the individual instruments. Table 11 Instrument Model # GPIB Address Path to set GPIB Address Lightwave Measurement System with Tunable Laser Source Module 8164B / 81640B or 81600B 20 Config > GPIB Address Multi-Wavelength Meter 86122A 10 Setup > GPIB Setup Agilent 86038A Optical Dispersion Analyzer, Third Edition 257

258 Troubleshooting and Upgrades Troubleshooting GPIB Communications Problems 3. Check the tunable laser source and multi-wavelength meter firmware revision The ODA Application has been designed and tested to work with the 8164B Lightwave Measurement System and 81640B or 81600B Tunable Laser Source. An 86122A Multi-Wavelength Meter may also be added to an ODA to improve the wavelength accuracy of the measurements. There is a minimum firmware revision required to work with the ODA application. If the instrument is not the correct model number, or does not meet the minimum firmware revision requirements, the ODA will not work with the instrument. Check the instrument's firmware revisions by following the steps below. Table 12 Instrument Model # Min F/W Rev. To check firmware revision Lightwave Measurement System Tunable Laser Source Module 8164A or 8164B 81640B 81600B # B #200 V4.02 Local > Config > About Mainframe. The mainframe firmware revision information is on the bottom line. V4.01 V4.07 V4.07 Local > Config > About Modules > Slot 0 > Enter. Multi-Wavelength Meter 86122A 1.0 Help > About 86122A. View under System Information > Software Revision To upgrade the Instrument The necessary files for upgrading the instruments are shipped on the OCT Support CD and are stored on the ODA in the "Additional Drivers" folder. The most recent versions can also be found on the Agilent web site, under To upgrade the instruments, please follow the instructions in the User's Guide of each instrument. The instructions are also available from the Agilent web site. The upgrade process requires the use of a computer. For this purpose, an external computer or the ODA controller itself can be used. To use the ODA controller, first exit the ODA application (File>Exit>"agilentoda">Yes). 258 Agilent 86038A Optical Dispersion Analyzer, Third Edition

259 Troubleshooting GPIB Communications Problems Troubleshooting and Upgrades 4. Ensure that the GPIB setting in the PNA software is set to talker / listener The ODA is based on Agilent s performance network analyzer platform. The two instruments use GPIB in different ways. In the PNA software, the GPIB on the instrument can be set as a talker / listener, so that the instrument can be controlled remotely over GPIB. The PNA software can also be set to control other instruments remotely over GPIB. The ODA uses the GPIB as a controller, to communicate with the tunable laser source and multi-wavelength meter. If the GPIB settings have been changed in the PNA software, the ODA will no longer be able to communicate with the other instruments. To check the GPIB setting in the PNA software, first exit out of the ODA Application (File > Exit > agilentoda > Yes). Then, launch the PNA software from C:\Program Files\Agilent\Network Analyzer\835x.exe. When the PNA software loads, go to System > Configure > SICL/GPIB From the SICL/GPIB setup panel, ensure that under GPIB, the talker / listener radio button is selected, and the address is set to 16. Close the panel, and exit the PNA software. Open the ODA application from the ODA shortcut on the desktop, or from Start Menu > Programs > Agilent Optical Dispersion Analyzer > Agilent 86038A. 5. Ensure that NI GPIB driver is enabled, Agilent GPIB driver is disabled. The ODA is based on Agilent s performance network analyzer platform. The two instruments use GPIB in different ways. Both Agilent GPIB TNT Interface and National Instruments GPIB Interface are present on the ODA. In order for the ODA to communicate with the tunable laser source and multi-wavelength meter, both of these device drivers must be present. In the device manager, (Start > Settings > Control Panel > System > Hardware > Device Manager), you will see a listing for GPIB Devices, under which the Agilent GPIB TNT Interface is listed. There will also be a listing for National Instruments GPIB Interfaces. When the GPIB Devices listing is expanded, a red X will appear in front of Agilent GPIB TNT Interface. This is the correct configuration for the ODA software to work properly. DO NOT ENABLE the Agilent GPIB interface in the Device Manager. Under National Instruments GPIB Interfaces, the AT-GPIB/TNT interface will be enabled. This again is the correct configuration for the ODA software to work properly. If the device settings have been changed, please restore them to the condition described above for the system GPIB to function properly. Agilent 86038A Optical Dispersion Analyzer, Third Edition 259

260 Troubleshooting and Upgrades Troubleshooting GPIB Communications Problems 6. Reboot the TLS 1 Exit the ODA application (File > Exit > agilentoda > Yes). 2 Reboot the TLS. 3 Wait for the TLS to start up (it will take at least 12 minutes to fully boot). Check to see if there are any errors or requests for realignment. 4 Start the ODA software. 7. Reboot the PNA 1 Exit the ODA application (File > Exit > agilentoda > Yes). 2 Ensure that all of the instruments are at the proper GPIB addresses. 3 Reboot the PNA. 8. Swap GPIB Cables If the ODA still cannot communicate with the TLS or MWM, try using different GPIB cables. 260 Agilent 86038A Optical Dispersion Analyzer, Third Edition

261 Troubleshooting Problems with Remote Programming Troubleshooting and Upgrades Troubleshooting Problems with Remote Programming For troubleshooting problems with remote programming, refer to Troubleshooting on page 146. Agilent 86038A Optical Dispersion Analyzer, Third Edition 261

262 Troubleshooting and Upgrades Troubleshooting Sweep and Normalization Problems Troubleshooting Sweep and Normalization Problems The ODA will not sweep if the Modulator Bias or Wavelength Correction does not complete. Refer to the steps below for whichever condition you suspect. NOTE If the application hangs during a measurement, restart the PNA. If the Modulator Bias does not complete The Modulator Bias will not complete if the input power detected is too low. 1 Ensure that the test set power cord is plugged in. 2 Ensure that the proper port is selected and a clean patch fiber is connected to the selected port. Use the Real Time Port Monitor to check the power at the input port. See 1. Check the Modulator Bias. 3 Isolate the problem to the TLS or MWM. Refer to Test the High output on the TLS on page 265. If the Wavelength Correction does not complete The wavelength correction will not complete if there is a low or missing signal. 1 Ensure that the test set power cord is plugged in. 2 Ensure that the MWM is plugged in and turned on. The MWMs GPIB cable should be attached to the rear of the PNA and have a GPIB address set to 10. If any of the above conditions are not met, exit the ODA software (File > Exit > agilentoda > Yes) and restart. The ODA software will detect the MWM on power up. 3 Make sure that there is a short patch fiber running from the Low SSE output of the TLS to the input on the MWM. 4 Look at the status area of the MWM to ensure that there are no errors displayed. If there are errors, refer to the MWM online Help. 5 Isolate the problem to the TLS or MWM. Refer to Test the High output on the TLS on page 265, and test the Low SSE output on the TLS. 262 Agilent 86038A Optical Dispersion Analyzer, Third Edition

263 Troubleshooting Incorrect Data Troubleshooting and Upgrades Troubleshooting Incorrect Data If wavelengths are incorrect, or measurements incorrect at certain wavelengths 1 Reboot the PNA and TLS. 2 If the wavelength errors or wavelength dependent errors still exist, troubleshoot the TLS. Refer to Restart the TLS and realign the TLS module on page 265. If the Stepped GD and Gain/Loss data looks incorrect NOTE If the ODA-measured-power for your device is different than expected, the first step is to ensure that the fiber connections are clean and secure, refer to Cleaning Connections for Accurate Measurements on page 272. Make sure that the test set power cable is plugged in. Also, make sure that the insulated patch cord is connected from the High Output of the TLS to the TLS Input on the test set, and that the green indicator light for the High Output of the TLS is on. If the TLS high power output indicator light is not on, realign the TLS. Please refer to Restart the TLS and realign the TLS module on page Ensure that the proper port is selected and a clean patch fiber is connected to the selected port. 2 If the data still looks incorrect, isolate the problem to the TLS or MWM. Refer to Test the High output on the TLS on page If the data still looks incorrect, refer to Choosing Setup Parameters on page 43. If Stepped GD, Gain/Loss, DGD, or PDL looks incorrect You should first suspect a problem with the polarization scanner inside the test set. Follow the steps below: 1 While the stepped measurement is running, listen carefully to see if the Polarization Scanner turns on. If it doesn t turn on, try powering down the ODA. Restart and try the measurement again. If the Polarization Scanner still fails to start, the Test Set needs to be replaced. 2 You can also check the results of the PDL measurement. If the PDL values measured on the normalization patchcord are close to the noise floor (around 0.1dB), the polarization scanner is OK. If the PDL values are extremely low (around 0.01dB), the polarization scanner Agilent 86038A Optical Dispersion Analyzer, Third Edition 263

264 Troubleshooting and Upgrades Troubleshooting Incorrect Data may be faulty. Some ODAs have very low PDL. Test a device with known polarization dependent loss, greater than 0.2 db PDL, to isolate a polarization scanner failure. If the PDL still reads extremely low, the polarization scanner is faulty and the test set will need to be replaced. 3 If the data still looks incorrect, refer to If the Stepped GD and Gain/Loss data looks incorrect on page 263. If the SWEPT data looks incorrect 1. Check the Modulator Bias Connect a patch fiber and run the Modulator Bias measurement. Without the proper value, optimal power may not be reaching the PNA receiver. Connect a mouse and click on Measure->Optimize Optical Modulator Bias (F8) and then run your measurement again. After the Modulator Bias routine finishes, open the Real-Time Port Monitor by clicking on System- >Real Time Port Monitor (F12). If the Gain/Loss values are still low, there may be a problem with the Test Set. With a short patch cord, Gain/Loss should be approximately -16 db. 2. Check the Trigger Line Ensure that the trigger line is connected between the TLS Trigger Out and the Test Set TLS Trigger Input. NOTE If the Group Delay curve is steep, there is a possibility that the change in phase between two points is too large. This condition will result in a phase wrap. Refer to If the Group Delay measurement shows a sudden large offset on page Agilent 86038A Optical Dispersion Analyzer, Third Edition

265 Troubleshooting the TLS Troubleshooting and Upgrades Troubleshooting the TLS If you suspect faulty TLS wavelength performance, refer to Restart the TLS and realign the TLS module on page 265. If you suspect faulty TLS power performance, refer to Test the High output on the TLS on page 265. Restart the TLS and realign the TLS module 1 Exit out of the ODA application (File > Exit > agilentoda > Yes). Turn the TLS power off then back on. 2 If the TLS needs realignment, a message box will be displayed. Follow the instructions to run the realignment. This process can take up to 45 minutes. 3 After the realignment is complete, restart the ODA application by double clicking on the ODA desktop icon, or navigating to Start > Programs > Agilent Optical Dispersion Analyzer > Agilent 86038A. 4 If wavelength results are still incorrect, check the TLS output wavelength with a multi-wavelength meter. The TLS module may need to be replaced. Test the High output on the TLS 1 Ensure the laser is off, and disconnect the patchcord from TLS output at the Source Input on the test set. 2 Connect TLS Output 2 to a power meter module. 3 Set the power meter wavelength to the center of TLS wavelength range (e.g nm), and the output power to 0 dbm and then -5 dbm. If the TLS output power as read by the power meter matches the output power set on the TLS within 0.5 db, the TLS is operating properly. Ensure that there is power to the test set. Carefully clean the test set connections, and retest the system. If the TLS power output is accurate and the test is reading low, it may need to be replaced. If the TLS output power is off by more than 0.5 db, or there is no output signal, replace the TLS module. NOTE Low SSE output on the TLS: If using a MWM for wavelength correction, you should test the Low SSE output on the TLS. Follow the steps above, using TLS Output 1. If there is a power discrepancy between the TLS and MWM, use the power meter to isolate where the failure lies. Agilent 86038A Optical Dispersion Analyzer, Third Edition 265

266 Troubleshooting and Upgrades Solving Measurement Problems Solving Measurement Problems If problems occur testing narrowband devices The five-term Sellmeier fit is generally inappropriate for very narrowband devices, such as Fabry-Perot filters. The result can be roughness in the fitted curve and multiple values of lambda zero. This is not a problem when testing fibers. If results of different curve fit models do not agree The three curve fit types differ in their ability to conform to the actual dispersion curve of the tested fiber. As a result, a variation on the order of a few hundredths to a few tenths of a nanometer can be observed in the value of a lambda zero. The three-term Sellmeier curve fit tends to yield a lower lambda zero value than the other two curve fitting algorithms. Although the five-term Sellmeier curve fit has greater ability to fit the measured data, it is also more easily affected by noise. Therefore, the quadratic fit will generally give a more repeatable value of lambda zero. For most DSF, the mean values of lambda zero returned by the five-term and quadratic curve fits are in good agreement while the three-term fit yields a lower value. If fitted curve does not follow the actual data The shape of the curve fitted to the relative group delay data depends upon the device under test and the type of fit selected. Conditions of high DUT insertion loss, low DUT dispersion or narrow wavelength range can also affect the quality of the fit. The system will always try to fit the selected curve to the data. Because the 5-term Sellmeier curve fit has more freedom to follow the shape of the data, it may display multiple zero dispersion wavelengths under some conditions. If the Group Delay measurement appears to be noisy Make sure that the environment in which the system is placed is stable. Also keep in mind that the instrument requires an 80 minute warm-up. During that time, measurements will show a lot of drift. How the instrument is performing in its environment can be observed by attaching a patch fiber and running the Real-Time Port Monitor to check the power stability. To run the Real-Time Port Monitor, attach a mouse and click on System->Real Time Port Monitor (F12). 266 Agilent 86038A Optical Dispersion Analyzer, Third Edition

267 Solving Measurement Problems Troubleshooting and Upgrades To achieve the most accurate GD, any DGD component may need to be removed. To measure GD with the DGD component removed, normalize and measure for DGD (GD/CD + DGD/PDL, 70Hz IFBW, 201 Samples/Point). The GD measured in this mode is more accurate because it is given at the mean of the DGD, thus the DGD component is removed. To check how significant the DGD component is, view the GD with 'show DGD component'. If the DGD component is negligible, the measurement can be made faster without measuring DGD (GD/CD, 30Hz IFBW, 21 or 51 Samples/Point). To achieve the lowest noise GD, when measuring DGD is not a consideration, use the largest modulation frequency possible (2.5GHz, unless limited by other considerations) with 30Hz IFBW and 21 or 51 Samples/Point. Smoothing the GD trace will further lower the GD noise. When using smoothing, a larger number of wavelength steps also lowers the noise. The drift effects of the measurement setup may be more significant than the GD noise, so a faster measurement time (fewer Samples/Point, fewer wavelength steps) may give more accurate results. If the Group Delay measurement shows a sudden large offset Sudden offsets in group delay are typically the results of a phase wrap refer to Relationship of setup parameters to phase wrapping on page 45. Phase wraps occur when the phase change from one step to the next exceeds 360 degrees. To avoid phase wrapping, try decreasing the Modulation Frequency or Step Size. Remember that if the Modulation Frequency is changed, a new normalization needs to be performed. The Auto Modulation frequency option will aid in avoiding phase wraps when measuring fiber spools in stepped mode. To enable Auto Modulation frequency, press the Sens/Res front panel key and put a check in the Auto Modulation Frequency box. Agilent 86038A Optical Dispersion Analyzer, Third Edition 267

268 Troubleshooting and Upgrades Solving Measurement Problems If you see errors in Group Delay measurements but no error is visible in Gain/Loss This is most likely the result of Gain Stage switching. The ODA is based on a Performance Network Analyzer which uses Step Gain values to keep the input signal in the most linear region of the 16 bit ADC. The Step Gain is selected based on the power level detected by the Network Analyzer. While the Network Analyzer has corrections for the Gain/Loss measurements, no such corrections exist for phase. As the input power changes and causes a Gain Stage switch, a 200 fs jump in Group Delay may be observed (50f s is typical). The TLS power level can be lowered to eliminate this artifact. Alternatively, the TLS power level can be raised to move the artifact out of the region of interest. Refer to Laser Setup on page 105 for more information. NOTE For more information, refer to Chapter 8, Specifications and Regulatory Information. 268 Agilent 86038A Optical Dispersion Analyzer, Third Edition

269 Solving Measurement Problems Troubleshooting and Upgrades If GD ripple is being observed If unexpected group delay ripple is observed, first consider the amplitude of the ripple. The scale might be zoomed-in to reveal features that have not been visible with other instruments due to trace noise. Next, note the period of the ripple. If the wavelength increment can be reduced and the period of the ripple remains the same, then the ripple is not aliased. If the ripple period does change, then keep reducing the wavelength increment to reveal the true period. Once the true period is found, the cause of the ripple may be evident, such as an etalon the makes sense for the device under test. Another factor to consider is the step size used for normalization and the step size used in the measurement may need to be the same. Also, make sure that you have a valid normalization. A common problem that leads to GD ripple is dirty fiber connections. See Example of a Dirty Connector. Refer to Relationship of setup parameters to ripple amplitude accuracy on page 48 for more information. Agilent 86038A Optical Dispersion Analyzer, Third Edition 269

270 Troubleshooting and Upgrades Software Upgrade Procedure Software Upgrade Procedure The 86038A is built on the 8801A performance network analyzer (PNA). Firmware for the ODA is designed to work with a specific version of the PNA firmware. To Upgrade the firmware on the ODA: 1 Check the ODA website for firmware upgrades: 2 Download the latest software revision. For some upgrades both the PNA and ODA firmware will need to be upgraded. Download the install packages for both the ODA and PNA from the same table row. 3 Run the PNA Installer (when applicable). Versions higher than A are not currently supported. The installer can be launched by double-clicking on the executable. Select Easy Connection instead of More Secure. For all other prompts, select Next or Continue. 4 Run the ODA Installer. The installer can be launched by double-clicking on the executable. Select Next or Continue for all prompts. 5 (Optional) Download the ODA Remote Client Installer. Install this on computers that will be used to remotely control the ODA. Do not install the Remote Client on the ODA instrument itself. Refer to Chapter 5, Remote Operation. 270 Agilent 86038A Optical Dispersion Analyzer, Third Edition

271 Hard Drive Backup and Recovery Troubleshooting and Upgrades Hard Drive Backup and Recovery The following procedure is used to back up or restore the operating system on an Agilent Technologies instrument/system running on a MS Windows platform. NOTE MS Windows based instruments must have a keyboard attached prior to starting this procedure. 1 Restart the instrument/system controller. The Agilent ODA offers three boot up options: 1. Agilent Technologies 86038A 2. Operating System Recovery Console 3. Backup and Recovery Options. 2 Quickly select option 3. (The first option is the default, and will be automatically selected within a few seconds.) 3 When the Agilent Technologies System Utilities Screen appears, select from the following options. 1. Recover Factory s Backup Image This process restores your system to the original, factory-installed operating system and system software. A recovery should be done if MS Windows is corrupted or if you have been instructed to do so by an Agilent service engineer. 2. Create User Backup Image This process creates a backup image of your system. This process should be done if you have modified the network parameters and/or drivers. 3. Recover User Backup Image 4. Exit This process restores your system to the user-created backup-image. A recovery should be done if MS Windows is corrupted or if you have been instructed to do so by an Agilent service engineer. Exits the utility. 4 Enter the number associated with the desired action. For example, enter 2 if you want to create a user backup image of your system. 5 The procedure will begin. Follow the onscreen instructions to complete the process. The procedure will take approximately 10 to 20 minutes to complete. 6 When the process is finished, restart the instrument/system controller. Agilent 86038A Optical Dispersion Analyzer, Third Edition 271

272 Troubleshooting and Upgrades Cleaning Connections for Accurate Measurements Cleaning Connections for Accurate Measurements Today, advances in measurement capabilities make connectors and connection techniques more important than ever. Damage to the connectors on calibration and verification devices, test ports, cables, and other devices can degrade measurement accuracy and damage instruments. Replacing a damaged connector can cost thousands of dollars, not to mention lost time! This expense can be avoided by observing the simple precautions presented in this book. This book also contains a brief list of tips for caring for electrical connectors. Choosing the Right Connector A critical but often overlooked factor in making a good lightwave measurement is the selection of the fiber-optic connector. The differences in connector types are mainly in the mechanical assembly that holds the ferrule in position against another identical ferrule. Connectors also vary in the polish, curve, and concentricity of the core within the cladding. Mating one style of cable to another requires an adapter. Agilent Technologies offers adapters for most instruments to allow testing with many different cables. Figure 19 on page 273 shows the basic components of a typical connectors. The system tolerance for reflection and insertion loss must be known when selecting a connector from the wide variety of currently available connectors. Some items to consider when selecting a connector are: How much insertion loss can be allowed? Will the connector need to make multiple connections? Some connectors are better than others, and some are very poor for making repeated connections. What is the reflection tolerance? Can the system take reflection degradation? Is an instrument-grade connector with a precision core alignment required? Is repeatability tolerance for reflection and loss important? Do your specifications take repeatability uncertainty into account? Will a connector degrade the return loss too much, or will a fusion splice be required? For example, many DFB lasers cannot operate with reflections from connectors. Often as much as 90 db isolation is needed. 272 Agilent 86038A Optical Dispersion Analyzer, Third Edition

273 Cleaning Connections for Accurate Measurements Troubleshooting and Upgrades Figure 19 Basic components of a connector. Over the last few years, the FC/PC style connector has emerged as the most popular connector for fiber-optic applications. While not the highest performing connector, it represents a good compromise between performance, reliability, and cost. If properly maintained and cleaned, this connector can withstand many repeated connections. However, many instrument specifications require tighter tolerances than most connectors, including the FC/PC style, can deliver. These instruments cannot tolerate connectors with the large non-concentricities of the fiber common with ceramic style ferrules. When tighter alignment is required, Agilent Technologies instruments typically use a connector such as the Diamond HMS-10, which has concentric tolerances within a few tenths of a micron. Agilent Technologies then uses a special universal adapter, which allows other cable types to mate with this precision connector. See Figure 20. Figure 20 Universal adapters to Diamond HMS-10. The HMS-10 encases the fiber within a soft nickel silver (Cu/Ni/Zn) center which is surrounded by a tough tungsten carbide casing, as shown in Figure 21. Agilent 86038A Optical Dispersion Analyzer, Third Edition 273

274 Troubleshooting and Upgrades Cleaning Connections for Accurate Measurements Figure 21 Cross-section of the Diamond HMS-10 connector. The nickel silver allows an active centering process that permits the glass fiber to be moved to the desired position. This process first stakes the soft nickel silver to fix the fiber in a near-center location, then uses a postactive staking to shift the fiber into the desired position within 0.2 µm. This process, plus the keyed axis, allows very precise core-to-core alignments. This connector is found on most Agilent Technologies lightwave instruments. The soft core, while allowing precise centering, is also the chief liability of the connector. The soft material is easily damaged. Care must be taken to minimize excessive scratching and wear. While minor wear is not a problem if the glass face is not affected, scratches or grit can cause the glass fiber to move out of alignment. Also, if unkeyed connectors are used, the nickel silver can be pushed onto the glass surface. Scratches, fiber movement, or glass contamination will cause loss of signal and increased reflections, resulting in poor return loss. 274 Agilent 86038A Optical Dispersion Analyzer, Third Edition

275 Cleaning Connections for Accurate Measurements Troubleshooting and Upgrades Inspecting Connectors Because fiber-optic connectors are susceptible to damage that is not immediately obvious to the naked eye, poor measurements result without the user being aware. Microscopic examination and return loss measurements are the best way to ensure good measurements. Good cleaning practices can help ensure that optimum connector performance is maintained. With glass-to-glass interfaces, any degradation of a ferrule or the end of the fiber, any stray particles, or finger oil can have a significant effect on connector performance. Where many repeat connections are required, use of a connector saver or patch cable is recommended. Figure 22 shows the end of a clean fiber-optic cable. The dark circle in the center of the micrograph is the fiber s 125 µm core and cladding which carries the light. The surrounding area is the soft nickel-silver ferrule. Figure 23 shows a dirty fiber end from neglect or perhaps improper cleaning. Material is smeared and ground into the end of the fiber causing light scattering and poor reflection. Not only is the precision polish lost, but this action can grind off the glass face and destroy the connector. Figure 24 shows physical damage to the glass fiber end caused by either repeated connections made without removing loose particles or using improper cleaning tools. When severe, the damage of one connector end can be transferred to another good connector endface that comes in contact with the damaged one. Periodic checks of fiber ends, and replacing connecting cables after many connections is a wise practice. The cure for these problems is disciplined connector care as described in the following list and in Cleaning Connectors on page 279. Use the following guidelines to achieve the best possible performance when making measurements on a fiber-optic system: Never use metal or sharp objects to clean a connector and never scrape the connector. Avoid matching gel and oils. Agilent 86038A Optical Dispersion Analyzer, Third Edition 275

276 Troubleshooting and Upgrades Cleaning Connections for Accurate Measurements Figure 22 Clean, problem-free fiber end and ferrule. Figure 23 Dirty fiber end and ferrule from poor cleaning. Figure 24 Damage from improper cleaning. 276 Agilent 86038A Optical Dispersion Analyzer, Third Edition

34134A AC/DC DMM Current Probe. User s Guide. Publication number April 2009

34134A AC/DC DMM Current Probe. User s Guide. Publication number April 2009 User s Guide Publication number 34134-90001 April 2009 For Safety information, Warranties, Regulatory information, and publishing information, see the pages at the back of this book. Copyright Agilent

More information

HP 86290B RF PLUG-IN GHz HEWLETT PACKARD

HP 86290B RF PLUG-IN GHz HEWLETT PACKARD OPERATING AND SERVICE MANUAL. HP 86290B RF PLUG-IN 2.0-18.6 GHz HEWLETT PACKARD COPYRIGHT AND DISCLAIMER NOTICE Copyright - Agilent Technologies, Inc. Reproduced with the permission of Agilent Technologies

More information

Signal Analysis Measurement Guide

Signal Analysis Measurement Guide Signal Analysis Measurement Guide Agilent Technologies EMC Series Analyzers This guide documents firmware revision A.08.xx This manual provides documentation for the following instruments: E7401A (9 khz-

More information

MODEL 3810/2 Line Impedance Stabilization Network

MODEL 3810/2 Line Impedance Stabilization Network EMC TEST SYSTEMS FEBRUARY 1996 REV C PN 399197 MODEL 3810/2 Line Impedance Stabilization Network OPERATION MANUAL USA P.O. Box 80589 Austin, Texas 78708-0589 2205 Kramer Lane, Austin, Texas 78758-4047

More information

Optical Dispersion Analyzer

Optical Dispersion Analyzer 86038A Accelerating the development of next generation optical networks Optical Dispersion Analyzer Agilent 86038A Optical dispersion analyzer Introduction Simultaneous measurements in the C- and L-Bands

More information

Agilent 86038B Photonic Dispersion and Loss Analyzer User s Guide

Agilent 86038B Photonic Dispersion and Loss Analyzer User s Guide Agilent 86038B Photonic Dispersion and Loss Analyzer User s Guide Notices Agilent Technologies, Inc. 2001-2006 No part of this manual may be reproduced in any form or by any means (including electronic

More information

VT1586A Rack Mount Terminal Panel Installation and User s Manual

VT1586A Rack Mount Terminal Panel Installation and User s Manual VT1586A Rack Mount Terminal Panel Installation and User s Manual Manual Part Number: 82-0095-000 Rev. June 16, 2003 Printed in U.S.A. Certification VXI Technology, Inc. certifies that this product met

More information

Model 5100F. Advanced Test Equipment Rentals ATEC (2832) OWNER S MANUAL RF POWER AMPLIFIER

Model 5100F. Advanced Test Equipment Rentals ATEC (2832) OWNER S MANUAL RF POWER AMPLIFIER Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) OWNER S MANUAL Model 5100F RF POWER AMPLIFIER 0.8 2.5 GHz, 25 Watts Ophir RF 5300 Beethoven Street Los Angeles, CA 90066

More information

SPM-50 RF Spectrum Power Meter PC Software User Manual

SPM-50 RF Spectrum Power Meter PC Software User Manual SPM-50 RF Spectrum Power Meter PC Software User Manual Shineway Technologies, Inc. Notices Copyright 2014, ShinewayTech, All rights reserved. No part of this manual may be reproduced in any form or by

More information

Operator s Manual. PP016 Passive Probe

Operator s Manual. PP016 Passive Probe Operator s Manual PP016 Passive Probe 2017 Teledyne LeCroy, Inc. All rights reserved. Unauthorized duplication of Teledyne LeCroy documentation materials is strictly prohibited. Customers are permitted

More information

Agilent 8703B Lightwave Component Analyzer Technical Specifications. 50 MHz to GHz modulation bandwidth

Agilent 8703B Lightwave Component Analyzer Technical Specifications. 50 MHz to GHz modulation bandwidth Agilent 8703B Lightwave Component Analyzer Technical Specifications 50 MHz to 20.05 GHz modulation bandwidth 2 The 8703B lightwave component analyzer is a unique, general-purpose instrument for testing

More information

Keysight 86205B RF Bridge

Keysight 86205B RF Bridge Keysight 86205B RF Bridge Operating and Service Manual Notices Keysight Technologies 2011, 2014 No part of this manual may be reproduced in any form or by any means (including electronic storage and

More information

GM8036 Laser Sweep Optical Spectrum Analyzer. Programming Guide

GM8036 Laser Sweep Optical Spectrum Analyzer. Programming Guide GM8036 Laser Sweep Optical Spectrum Analyzer Programming Guide Notices This document contains UC INSTRUMENTS CORP. proprietary information that is protected by copyright. All rights are reserved. This

More information

Agilent X-Series Signal Analyzer This manual provides documentation for the following X-Series Analyzer: CXA Signal Analyzer N9000A

Agilent X-Series Signal Analyzer This manual provides documentation for the following X-Series Analyzer: CXA Signal Analyzer N9000A Agilent X-Series Signal Analyzer This manual provides documentation for the following X-Series Analyzer: CXA Signal Analyzer N9000A N9000A CXA Functional Tests Notices Agilent Technologies, Inc. 2006-2008

More information

2015 RIGOL TECHNOLOGIES, INC.

2015 RIGOL TECHNOLOGIES, INC. Service Guide DG000 Series Dual-channel Function/Arbitrary Waveform Generator Oct. 205 TECHNOLOGIES, INC. Guaranty and Declaration Copyright 203 TECHNOLOGIES, INC. All Rights Reserved. Trademark Information

More information

Keysight Series 654xA, 655xA, 664xA, 665xA GPIB DC Power Supplies

Keysight Series 654xA, 655xA, 664xA, 665xA GPIB DC Power Supplies Keysight Series 654xA, 655xA, 664xA, 665xA GPIB DC Power Supplies Service Manual CERTIFICATION Keysight Technologies certifies that this product met its published specifications at time of shipment from

More information

PHV RO High Voltage Passive Probe. Instruction Manual

PHV RO High Voltage Passive Probe. Instruction Manual PHV 1000-3-RO High Voltage Passive Probe Instruction Manual Copyright 2012 PMK GmbH All rights reserved. Information in this publication supersedes that in all previously published material. Specifications

More information

User s Guide. Agilent 16441A R-Box. Agilent Part No Printed in Japan January Edition 4

User s Guide. Agilent 16441A R-Box. Agilent Part No Printed in Japan January Edition 4 User s Guide Agilent 16441A R-Box Agilent Part No. 16441-90000 Printed in Japan January 2000 Edition 4 Legal Notice The information contained in this document is subject to change without notice. Copyright

More information

Operating and Service Manual

Operating and Service Manual Operating and Service Manual Agilent 8490D/G, 8491A/B, 8493A/B/C Coaxial Fixed Attenuators Agilent 11581A, 11582A, 11583C Attenuator Sets Manufacturing Part Number: 08491-90077 Printed in Malaysia Print

More information

E2621A and E2622A Probe Adapters for Infiniium Oscilloscopes. User s Guide. Publication number E September 2002

E2621A and E2622A Probe Adapters for Infiniium Oscilloscopes. User s Guide. Publication number E September 2002 User s Guide sa Publication number E2621-92003 September 2002 For Safety, Regulatory, and publishing information, see the pages at the back of this book. Copyright Agilent Technologies 1999-2002 All Rights

More information

8472B Crystal Detector. Operating and Service Manual

8472B Crystal Detector. Operating and Service Manual 8472B Crystal Detector Operating and Service Manual Part number: 08472-90022 Printed in USA Print Date: May 2001 Supersedes: April 1999 Notice The information contained in this document is subject to change

More information

Agilent Technologies 8494A/B, 8495A/B, and 8496A/B Attenuators. Operating and Service Manual

Agilent Technologies 8494A/B, 8495A/B, and 8496A/B Attenuators. Operating and Service Manual Agilent Technologies 8494A/B, 8495A/B, and 8496A/B Attenuators Operating and Service Manual Agilent Part Number: 08494-90008 Printed in USA Print Date: April 2002 Supersedes: October 2000 Notice The information

More information

PHV 1000-RO High Voltage Passive Probe. Instruction Manual

PHV 1000-RO High Voltage Passive Probe. Instruction Manual PHV 1000-RO High Voltage Passive Probe Instruction Manual Copyright 2014 PMK GmbH All rights reserved. Information in this publication supersedes that in all previously published material. Specifications

More information

Advanced Test Equipment Rentals ATEC (2832)

Advanced Test Equipment Rentals ATEC (2832) Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Agilent 8157xA Optical Attenuators Technical Specifications March 2006 Agilent s 8157xA Variable Optical Attenuators

More information

PKT 512A-RO High Impedance Passive Cable Divider

PKT 512A-RO High Impedance Passive Cable Divider PKT 512A-RO High Impedance Passive Cable Divider Instruction Manual Copyright 2011 PMK GmbH All rights reserved. Information in this publication supersedes that in all previously published material. Specifications

More information

N2790A Differential Voltage Probe

N2790A Differential Voltage Probe N2790A Differential Voltage Probe User s Guide For Safety, Regulatory, and publishing information, see the pages at the back of this book. Copyright Agilent Technologies 2009 All Rights Reserved. A Contents

More information

TETRIS 1000 High Impedance Active Probe. Instruction Manual

TETRIS 1000 High Impedance Active Probe. Instruction Manual TETRIS 1000 High Impedance Active Probe Instruction Manual Copyright 2015 PMK GmbH All rights reserved. Information in this publication supersedes that in all previously published material. Specifications

More information

Agilent 8473B/C Crystal Detector. Operating and Service Manual

Agilent 8473B/C Crystal Detector. Operating and Service Manual Agilent 8473B/C Crystal Detector Operating and Service Manual Agilent Part Number: 08473-90003 Printed in USA Print Date: June 2001 Supersedes: May 1990 Notice The information contained in this document

More information

OVA-50 Optical Variable Attenuator User s Manual

OVA-50 Optical Variable Attenuator User s Manual OVA-50 Optical Variable Attenuator User s Manual Shineway Technologies, Inc. All rights reserved. Safety Instructions The WARNING sign denotes a hazard. It calls attention to a procedure, practice, or

More information

Advanced Test Equipment Rentals ATEC (2832) Agilent 86120C Multi-Wavelength Meter User s Guide

Advanced Test Equipment Rentals ATEC (2832) Agilent 86120C Multi-Wavelength Meter User s Guide Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Agilent 86120C Multi-Wavelength Meter User s Guide sa Notices This document contains proprietary information that is

More information

Agilent 86030A 50 GHz Lightwave Component Analyzer Product Overview

Agilent 86030A 50 GHz Lightwave Component Analyzer Product Overview Agilent 86030A 50 GHz Lightwave Component Analyzer Product Overview 2 Characterize 40 Gb/s optical components Modern lightwave transmission systems require accurate and repeatable characterization of their

More information

SERVICE MANUAL. GPIB DC Power Supplies Agilent Series 654xA, 655xA, 664xA, 665xA. For instruments with Serial Numbers:

SERVICE MANUAL. GPIB DC Power Supplies Agilent Series 654xA, 655xA, 664xA, 665xA. For instruments with Serial Numbers: SERVICE MANUAL GPIB DC Power Supplies Agilent Series 654xA, 655xA, 664xA, 665xA For instruments with Serial Numbers: Agilent Model 6541A: US36360101 and above * Agilent Model 6542A: US36360101 and above

More information

Agilent Technologies 355C, D, E, F VHF Attenuators. Operating and Service Manual

Agilent Technologies 355C, D, E, F VHF Attenuators. Operating and Service Manual Agilent Technologies 355C, D, E, F VHF Attenuators Operating and Service Manual Agilent Part Number: 00355-90051 Printed in USA April 2002 Supersedes: November 2001 Notice The information contained in

More information

P5100A & P5150 High Voltage Probes Performance Verification and Adjustments

P5100A & P5150 High Voltage Probes Performance Verification and Adjustments x P5100A & P5150 High Voltage Probes Performance Verification and Adjustments ZZZ Technical Reference *P077053001* 077-0530-01 xx P5100A & P5150 High Voltage Probes Performance Verification and Adjustments

More information

TETRIS User's Guide. High Impedance Active Probe DO177-1

TETRIS User's Guide. High Impedance Active Probe DO177-1 TETRIS 1500 High Impedance Active Probe User's Guide DO177-1 TETRIS 1500 Copyright 2010 Ltd. All rights reserved. Information in this publication supersedes that in all previously published material. Specifications

More information

2001A. 200KHz Function Generator Instruction Manual. 99 Washington Street Melrose, MA Phone Toll Free

2001A. 200KHz Function Generator Instruction Manual. 99 Washington Street Melrose, MA Phone Toll Free 2001A 200KHz Function Generator Instruction Manual 99 Washington Street Melrose, MA 02176 Phone 781-665-1400 Toll Free 1-800-517-8431 Visit us at www.testequipmentdepot.com WARRANTY Global Specialties

More information

GT-1050A 2 GHz to 50 GHz Microwave Power Amplifier

GT-1050A 2 GHz to 50 GHz Microwave Power Amplifier Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Giga-tronics GT-1050A Microwave Power Amplifier GT-1050A 2 GHz to 50 GHz Microwave Power Amplifier Operation Manual

More information

Agilent 81980/ 81940A, Agilent 81989/ 81949A, Agilent 81944A Compact Tunable Laser Sources

Agilent 81980/ 81940A, Agilent 81989/ 81949A, Agilent 81944A Compact Tunable Laser Sources Agilent 81980/ 81940A, Agilent 81989/ 81949A, Agilent 81944A Compact Tunable Laser Sources December 2004 Agilent s Series 819xxA high-power compact tunable lasers enable optical device characterization

More information

Agilent G1888 Network Headspace Sampler

Agilent G1888 Network Headspace Sampler Agilent G1888 Network Headspace Sampler Safety and Regulatory Information Agilent Technologies Notices Agilent Technologies, Inc. 2004 No part of this manual may be reproduced in any form or by any means

More information

Agilent 81600B All-band Tunable Laser Source Technical Specifications December 2002

Agilent 81600B All-band Tunable Laser Source Technical Specifications December 2002 Agilent 81600B All-band Tunable Laser Source December 2002 The 81600B, the flagship product in Agilent s market-leading portfolio of tunable laser sources, sweeps the entire S, C and L- bands with just

More information

Agilent N6700 Modular Power System Family

Agilent N6700 Modular Power System Family Agilent N67 Modular Power System Family N6731B-N6784A DC Power Modules Specifications Guide Legal Notices Agilent Technologies, Inc. 21, 211 No part of this document may be photocopied, reproduced, or

More information

INSTRUCTION MANUAL LKG 601 Electrical Safety Analyzer

INSTRUCTION MANUAL LKG 601 Electrical Safety Analyzer INSTRUCTION MANUAL LKG 601 Electrical Safety Analyzer 110 Toledo Street Farmingdale, NY 11735 USA http://www.netech.org 510-USER-Manual Rev3 10/29/2007 Dear User, We appreciate your purchase of the LKG

More information

OPERATION & SERVICE MANUAL FOR FC 110 AC POWER SOURCE

OPERATION & SERVICE MANUAL FOR FC 110 AC POWER SOURCE OPERATION & SERVICE MANUAL FOR FC 100 SERIES AC POWER SOURCE FC 110 AC POWER SOURCE VERSION 1.3, April 2001. copyright reserved. DWG No. FC00001 TABLE OF CONTENTS CHAPTER 1 INTRODUCTION... 1 1.1 GENERAL...

More information

Model 3725/2M. Line Impedance Stabilization Network (LISN) User Manual

Model 3725/2M. Line Impedance Stabilization Network (LISN) User Manual Model 3725/2M Line Impedance Stabilization Network (LISN) User Manual ETS-Lindgren L.P. reserves the right to make changes to any product described herein in order to improve function, design, or for any

More information

Advanced Test Equipment Rentals ATEC (2832)

Advanced Test Equipment Rentals ATEC (2832) Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Agilent 81689A / 81689B / 81649A Compact Tunable Laser Modules February 2002 The 81689A, 81689B, 81649A compact tunable

More information

Artisan Scientific is You~ Source for: Quality New and Certified-Used/Pre:-awned ECJuiflment

Artisan Scientific is You~ Source for: Quality New and Certified-Used/Pre:-awned ECJuiflment Looking for more information? Visit us on the web at http://www.artisan-scientific.com for more information: Price Quotations Drivers Technical Specifications. Manuals and Documentation Artisan Scientific

More information

Keysight Technologies E4416A/4417A Power Meters

Keysight Technologies E4416A/4417A Power Meters Keysight Technologies E4416A/4417A Power Meters Service Guide Notices Copyright Notice Keysight Technologies 2001 2016 No part of this manual may be reproduced in any form or by any means (including electronic

More information

P5100A & P5150 High Voltage Probes Performance Verification and Adjustments

P5100A & P5150 High Voltage Probes Performance Verification and Adjustments x P5100A & P5150 High Voltage Probes Performance Verification and Adjustments ZZZ Technical Reference *P077053002* 077-0530-02 xx P5100A & P5150 High Voltage Probes Performance Verification and Adjustments

More information

Installation and Quick Start Guide

Installation and Quick Start Guide Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Agilent E4991A RF Impedance/Material Analyzer Installation and Quick Start Guide Tenth Edition Manufacturing No. E4991-90201

More information

OP735. Benchtop Optical Power Meter Instruction Manual

OP735. Benchtop Optical Power Meter Instruction Manual Benchtop Optical Power Meter Instruction Manual www.optotest.com 1.805.987.1700 Contacting OptoTest Corporation 1.805.987.1700 (7:30 a.m. to 5 p.m. PST) www.optotest.com engineering@optotest.com OptoTest

More information

User s Guide. RP7000 Series Active Probe. Dec RIGOL Technologies, Inc.

User s Guide. RP7000 Series Active Probe. Dec RIGOL Technologies, Inc. User s Guide RP7000 Series Active Probe Dec. 2012 RIGOL Technologies, Inc. Guaranty and Declaration Copyright 2011 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information RIGOL is a registered

More information

RIGOL. User s Guide. RP1000D Series High Voltage Differential Probe. Feb RIGOL Technologies, Inc

RIGOL. User s Guide. RP1000D Series High Voltage Differential Probe. Feb RIGOL Technologies, Inc User s Guide RP1000D Series High Voltage Differential Probe Feb. 2013 RIGOL Technologies, Inc Guaranty and Declaration Copyright 2012 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information

More information

Agilent N2902A 9000 Series Oscilloscope Rack Mount Kit

Agilent N2902A 9000 Series Oscilloscope Rack Mount Kit Agilent N2902A 9000 Series Oscilloscope Rack Mount Kit Installation Guide Agilent Technologies Notices Agilent Technologies, Inc. 2009 No part of this manual may be reproduced in any form or by any means

More information

TA MHz oscilloscope probe TA MHz oscilloscope probe

TA MHz oscilloscope probe TA MHz oscilloscope probe TA375 100 MHz oscilloscope probe TA386 200 MHz oscilloscope probe User's Guide X1 X10 TA386 X1/X10 Max. 600 Vp Introduction This passive high-impedance oscilloscope probe is suitable for most oscilloscopes

More information

Agilent 4396B Network/Spectrum/Impedance Analyzer PERFORMANCE TEST MANUAL SERIAL NUMBERS. This manual applies directly to instruments with serial

Agilent 4396B Network/Spectrum/Impedance Analyzer PERFORMANCE TEST MANUAL SERIAL NUMBERS. This manual applies directly to instruments with serial Agilent 4396B Network/Spectrum/Impedance Analyzer PERFORMANCE TEST MANUAL SERIAL NUMBERS This manual applies directly to instruments with serial number prex JP1KE, or rmware revision 1.01 and below. For

More information

Agilent 8494/95/96A/B Attenuators

Agilent 8494/95/96A/B Attenuators Agilent 8494/95/96A/B Attenuators Operating and Service Manual Agilent Technologies Notices Agilent Technologies, Inc. 2011 No part of this manual may be reproduced in any form or by any means (including

More information

Agilent N4373B Lightwave Component Analyzer Testing advanced 40Gb/s components with highest relative and absolute accuracy

Agilent N4373B Lightwave Component Analyzer Testing advanced 40Gb/s components with highest relative and absolute accuracy Agilent N4373B Lightwave Component Analyzer Testing advanced 40Gb/s components with highest relative and absolute accuracy Technical Data Sheet April 2007 The N4373B offers high accuracy determination

More information

INSTALLATION GUIDE. Video Balun Transceiver with fixed BNC for twisted pair operation with other balun transceivers or active receivers.

INSTALLATION GUIDE. Video Balun Transceiver with fixed BNC for twisted pair operation with other balun transceivers or active receivers. INSTALLATION GUIDE VB37M Video Balun Transceiver for Twisted Pair Description Video Balun Transceiver with fixed BNC for twisted pair operation with other balun transceivers or active receivers. The VB37M

More information

Agilent N6700 Modular Power System Family

Agilent N6700 Modular Power System Family Agilent N67 Modular Power System Family N6731B-N6784A DC Power Modules Specifications Guide Legal Notices Agilent Technologies, Inc. 21-212 No part of this document may be photocopied, reproduced, or translated

More information

RIGOL. Quick Guide. DG2000 Series Function/Arbitrary Waveform Generator. Sept RIGOL Technologies, Inc.

RIGOL. Quick Guide. DG2000 Series Function/Arbitrary Waveform Generator. Sept RIGOL Technologies, Inc. Quick Guide DG2000 Series Function/Arbitrary Waveform Generator Sept. 2010 RIGOL Technologies, Inc. Guaranty and Declaration Copyright 2010 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information

More information

Keysight N8975A Option K98 Blockdown Converter

Keysight N8975A Option K98 Blockdown Converter Keysight N8975A Option K98 Blockdown Converter Operating and Service Manual Special Supplement Notices Keysight Technologies, Inc. 2007-2016 No part of this manual may be reproduced in any form or by any

More information

RIGOL. User s Guide. RP5600 Passive Probe. July 2010 RIGOL Technologies, Inc.

RIGOL. User s Guide. RP5600 Passive Probe. July 2010 RIGOL Technologies, Inc. User s Guide RP5600 Passive Probe July 2010 RIGOL Technologies, Inc. Guaranty and Declaration Copyright 2010 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information RIGOL is a registered trademark

More information

Dispersion Measurements of High-Speed Lightwave Systems

Dispersion Measurements of High-Speed Lightwave Systems Lightwave Symposium Dispersion Measurements of Presented by Johann L. Fernando, Product Manager 3-1 Topics Chromatic dispersion concepts Agilent 86037C Chromatic Dispersion Measurement System Polarization

More information

Power Meter. Measurement Guide. for Anritsu RF and Microwave Handheld Instruments BTS Master Site Master Spectrum Master Cell Master

Power Meter. Measurement Guide. for Anritsu RF and Microwave Handheld Instruments BTS Master Site Master Spectrum Master Cell Master Measurement Guide Power Meter for Anritsu RF and Microwave Handheld Instruments BTS Master Site Master Spectrum Master Cell Master Power Meter Option 29 High Accuracy Power Meter Option 19 Inline Peak

More information

TIA-527 Balanced Optical/Electrical Converter. Operating Instructions

TIA-527 Balanced Optical/Electrical Converter. Operating Instructions TIA-527 Balanced Optical/Electrical Converter Operating Instructions Terahertz Technologies Inc.169 Clear Road Oriskany NY 13424 (315) 736-3642 FAX (315) 736-4078 E-mail sales@terahertztechnologies.com

More information

TIA-952 Optical/Electrical Converter. Operating Instructions

TIA-952 Optical/Electrical Converter. Operating Instructions TIA-952 Optical/Electrical Converter Operating Instructions Terahertz Technologies Inc.169 Clear Road Oriskany NY 13424 (315) 736-3642 FAX (315) 736-4078 E-mail sales@terahertztechnologies.com 2/2012 Contents

More information

E5382B Single-ended Flying Lead Probe Set (for analyzers with 90-pin pod connectors) User Guide

E5382B Single-ended Flying Lead Probe Set (for analyzers with 90-pin pod connectors) User Guide E5382B Single-ended Flying Lead Probe Set (for analyzers with 90-pin pod connectors) User Guide Notices Agilent Technologies, Inc. 2013 No part of this manual may be reproduced in any form or by any means

More information

User s Guide Volume 2. Measurement and Analysis

User s Guide Volume 2. Measurement and Analysis User s Guide Volume 2 Measurement and Analysis Agilent 4155B Semiconductor Parameter Analyzer Agilent 4156B Precision Semiconductor Parameter Analyzer Agilent Part No. 04156-90200 Printed in Japan May

More information

HTA125A/250A. Power Amplifiers. Installation & Use Manual

HTA125A/250A. Power Amplifiers. Installation & Use Manual HTA125A/250A Power Amplifiers Installation & Use Manual Specifications subject to change without notice. 2010 Bogen Communications, Inc. All rights reserved. 54-5832-04B 1011 NOTICE: Every effort was made

More information

A Channel Amplifier

A Channel Amplifier Installation Manual A2150 2 Channel Amplifier Table of Contents Installation Requirements and Recommendations 1 What s included 1 Speaker Wire Recommendations 1 Setup 2 Rack Mounting 2 Individually Protected

More information

DATASHEET AND OPERATING GUIDE TCS Series Thermistors

DATASHEET AND OPERATING GUIDE TCS Series Thermistors DATASHEET AND OPERATING GUIDE TCS Series Thermistors CYLINDRICAL HEAD CYLINDRICAL HEAD THERMISTOR This ±1% thermistor is encapsulated in a polyimide tube, for assemblies where surface mounting or embedding

More information

A-16D A-Net Distributor

A-16D A-Net Distributor A-16D A-Net Distributor For use with the Personal Monitor Mixing System Information in this document is subject to change. All rights reserved. Copyright 2003 Aviom, Inc. Printed in USA Document Rev. 1.03

More information

AC 3. Active Antenna Combiner. Instruction manual

AC 3. Active Antenna Combiner. Instruction manual AC 3 Active Antenna Combiner Instruction manual Contents Contents Important safety instructions... 2 The AC 3 active transmitter combiner... 4 Delivery includes... 4 Operating controls... 5 Block diagram...

More information

Agilent N2780A, N2781A, N2782A, and N2783A Current Probes

Agilent N2780A, N2781A, N2782A, and N2783A Current Probes Agilent N2780A, N2781A, N2782A, and N2783A Current Probes User s and Service Guide Agilent Technologies Notices Agilent Technologies, Inc. 2007 No part of this manual may be reproduced in any form or by

More information

Agilent 71400C Lightwave Signal Analyzer Product Overview. Calibrated measurements of high-speed modulation, RIN, and laser linewidth

Agilent 71400C Lightwave Signal Analyzer Product Overview. Calibrated measurements of high-speed modulation, RIN, and laser linewidth Agilent 71400C Lightwave Signal Analyzer Product Overview Calibrated measurements of high-speed modulation, RIN, and laser linewidth High-Speed Lightwave Analysis 2 The Agilent 71400C lightwave signal

More information

Keysight N2771B 30 kv High Voltage Probe

Keysight N2771B 30 kv High Voltage Probe Keysight N2771B 30 kv High Voltage Probe User s Guide Notices Keysight Technologies, Inc. 2012-2015 No part of this manual may be reproduced in any form or by any means (including electronic storage and

More information

Agilent E5505A Phase Noise Measurement System

Agilent E5505A Phase Noise Measurement System Agilent E5505A Phase Noise Measurement System Notice: This document contains references to Agilent. Please note that Agilent s Test and Measurement business has become Keysight Technologies. For more information,

More information

Model 7000 Low Noise Differential Preamplifier

Model 7000 Low Noise Differential Preamplifier Model 7000 Low Noise Differential Preamplifier Operating Manual Service and Warranty Krohn-Hite Instruments are designed and manufactured in accordance with sound engineering practices and should give

More information

Keysight N4373E 43.5/50/67 GHz Single-Mode Fiber Lightwave Component Analyzer for 100G/400G/1T Electro-Optical Test

Keysight N4373E 43.5/50/67 GHz Single-Mode Fiber Lightwave Component Analyzer for 100G/400G/1T Electro-Optical Test DATA SHEET Keysight N4373E 43.5/50/67 GHz Single-Mode Fiber Lightwave Component Analyzer for 100G/400G/1T Electro-Optical Test General Information The performance of digital, photonic transmission is ultimately

More information

Installation & Operation Manual SAGA1-K Series Industrial Radio Remote Control

Installation & Operation Manual SAGA1-K Series Industrial Radio Remote Control Installation & Operation Manual SAGA1-K Series Industrial Radio Remote Control Gain Electronic Co. Ltd. Table Of Contents Safety Considerations ------------------------------------------------------------2

More information

Introduction to New Features

Introduction to New Features Introduction to New Features Agilent Technologies 8510C Network Analyzer Revision 7.XX (7.00 and Greater) Part Number 11575-90024 Printed in USA March 1995 Edition 1 Certification Hewlett-Packard Company

More information

Noise Figure Analyzers NFA Series

Noise Figure Analyzers NFA Series Noise Figure Analyzers NFA Series User s Guide Manufacturing Part Number: N8972-90080 May 2001 Copyright 2001 Agilent Technologies Safety Notices This product and related documentation must be reviewed

More information

Type N Coaxial Calibration Kit

Type N Coaxial Calibration Kit User Guide Type N Coaxial Calibration Kit DC to 18 GHz Model 8850CK30/31 8850-531 (A) 3/15 User Guide Type N Coaxial Calibration Kit DC to 18 GHz Model 8850CK30/31 2900 Inland Empire Boulevard Ontario,

More information

Broadband Step-Up Transformer. User Manual

Broadband Step-Up Transformer. User Manual Broadband Step-Up Transformer User Manual 990-1930 09/2004 Introduction Introduction About this unit The APC Step-Up Transformer provides 220 V power from 60 VAC Broadband cable systems. Safety Electrical

More information

User Manual CXE Rev (12) CXX Series. User Manual. Teleste Corporation. CXE880 Fibre node

User Manual CXE Rev (12) CXX Series. User Manual. Teleste Corporation. CXE880 Fibre node 17.12.2012 1(12) CXX Series User Manual Teleste Corporation CXE880 Fibre node 17.12.2012 2(12) Contents Introduction... 3 Installation... 3 Housing... 3 Powering... 3 Status monitoring card (optional)...

More information

Antenna Splitter ASA 1. Instruction manual

Antenna Splitter ASA 1. Instruction manual Antenna Splitter ASA 1 Instruction manual Contents Contents Important safety instructions... 2 The ASA 1 active antenna splitter... 4 Combination possibilities of ASA 1/ASA 1-1G8... 5 Delivery includes...

More information

LTX-5520 Electrical / Optical Converter Operating Instructions

LTX-5520 Electrical / Optical Converter Operating Instructions LTX-5520 Electrical / Optical Converter Operating Instructions Terahertz Technologies Inc. 169 Clear Road, Oriskany, NY 13424 (315) 736-3642 FAX (315) 736-4078 E-mail sales@terahertztechnologies.com Quick

More information

HP 8509B Lightwave Polarization Analyzer. Product Overview. Optical polarization measurements of signal and components nm to 1600 nm

HP 8509B Lightwave Polarization Analyzer. Product Overview. Optical polarization measurements of signal and components nm to 1600 nm HP 8509B Lightwave Polarization Analyzer Product Overview polarization measurements of signal and components 1200 nm to 1600 nm 2 The HP 8509B Lightwave Polarization Analyzer The HP 8509B lightwave polarization

More information

Agilent 1146A AC/DC Oscilloscope Current Probe

Agilent 1146A AC/DC Oscilloscope Current Probe A User s Guide Publication number 01146-92003 May 2005 Copyright Agilent Technologies 1996-2005 All Rights Reserved Contents Receiving Your Shipment -2 Packaging -2 Description -3 Compatibility -3 Control

More information

1157A 2.5 GHz Active Probe

1157A 2.5 GHz Active Probe User s Guide A Publication number 01157-97002 September 2005 For Safety and Regulatory information, see the pages at the back of this guide. Copyright Agilent Technologies 2001-2002, 2005 All Rights Reserved.

More information

RIGOL. Quick Guide. DG1000 Series Dual-Channel Function/Arbitrary Waveform Generator. Jul RIGOL Technologies, Inc.

RIGOL. Quick Guide. DG1000 Series Dual-Channel Function/Arbitrary Waveform Generator. Jul RIGOL Technologies, Inc. Quick Guide DG1000 Series Dual-Channel Function/Arbitrary Waveform Generator Jul. 2012 RIGOL Technologies, Inc. Guaranty and Declaration RIGOL Copyright 2011 RIGOL Technologies, Inc. All Rights Reserved.

More information

1156A 1.5 GHz Active Probe

1156A 1.5 GHz Active Probe User s Guide A Publication number 01156-97002 September 2005 For Safety and Regulatory information, see the pages at the back of this guide. Copyright Agilent Technologies 2001-2002, 2005 All Rights Reserved.

More information

Distribution Amplifiers 1

Distribution Amplifiers 1 Distribution Amplifiers 1-30dB PUT 49-750 MHz 43 db GA POWER DOUBLED P/N: 1002705 REVERSE GA M MAX DESCRIPTION The R.L. DRAKE models DA8642, DA8632,, and DA7533, are broadband distribution amplifiers designed

More information

Agilent 86146B Optical Spectrum Analyzer Technical Specifications

Agilent 86146B Optical Spectrum Analyzer Technical Specifications Agilent 86146B Optical Spectrum Analyzer Technical Specifications November 2005 Full-Feature Optical Spectrum Analyzer Exhibits excellent speed and dynamic range with convenient and powerful user interface.

More information

Advanced Test Equipment Rentals ATEC (2832)

Advanced Test Equipment Rentals ATEC (2832) Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) A.H. Systems Model Active Monopole Antennas Active Monopole Antenna Series Operation Manual 1 TABLE OF CONTENTS INTRODUCTION

More information

COUPLING DECOUPLING NETWORK MODEL CDN-AF4

COUPLING DECOUPLING NETWORK MODEL CDN-AF4 COUPLING DECOUPLING NETWORK MODEL CDN-AF4 II Warranty Com-Power warrants to its Customers that the products it manufactures will be free from defects in materials and workmanship for a period of 2 years.

More information

USER GUIDE 2.92mm Coaxial Calibration Kit

USER GUIDE 2.92mm Coaxial Calibration Kit USER GUIDE 2.92mm Coaxial Calibration Kit DC to 40 GHz Model 8770CK30/31 8770-532 (A) 03/16 USER GUIDE 2.92mm Coaxial Calibration Kit DC to 40 GHz Model: 8770CK30/31 Please note: This manual applies to

More information

N2792A and N2793A Differential Probes User s Guide

N2792A and N2793A Differential Probes User s Guide N2792A and N2793A Differential Probes User s Guide Copyright Agilent Technologies 2009 All Rights Reserved. Contents Inspecting the Probe 3 Cleaning the Probe 3 Handling the Probe 3 N2792A and N2793A Differential

More information

Agilent ParBERT Measurement Software. Fast Eye Mask Measurement User Guide

Agilent ParBERT Measurement Software. Fast Eye Mask Measurement User Guide S Agilent ParBERT 81250 Measurement Software Fast Eye Mask Measurement User Guide S1 Important Notice Agilent Technologies, Inc. 2002 Revision June 2002 Printed in Germany Agilent Technologies Herrenberger

More information

Signal Forge 2500M Frequency Expansion Module. 1.5 GHz to 2.6 GHz. User Manual

Signal Forge 2500M Frequency Expansion Module. 1.5 GHz to 2.6 GHz. User Manual TM TM Signal Forge 2500M Frequency Expansion Module 1.5 GHz to 2.6 GHz User Manual Technical Support Email: Support@signalforge.com Phone: 512.275.3733 x2 Contact Information Web: www.signalforge.com Sales

More information