Agilent Technologies 86038A User Manual page 134

Optical dispersion analyzer
Table of Contents

Advertisement

Remote Operation
134
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:
Recommended Control Sequence
Agilent 86038A Optical Dispersion Analyzer, Third Edition

Advertisement

Table of Contents
loading

Table of Contents