Appendix G: The automated test equipment (ATE) interface
OM4006Bulk"
contract="WCFServiceOM4006Bulk.IWCFServiceOM4006Bulk"
name="BasicHttpBinding_IWCFServiceOM4006Bulk">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
OM4006ATEClientNET
assembly
This assembly includes a basic interface for retrieving MATLAB variable values
and an object oriented interface that includes specialized .NET classes for all
of the OM4000 instrument speci
fi
c variables. This interface allows a client
application to read and set all analysis parameters such as Block Size and Record
Length. It also has the ability to connect or disconnect to/from a scope based on
IP address as well as trigger single acquisitions. Additionally, the application can
register for events that occur at the end of blocks and records.
To get started add the following (highlighted in yellow) reference to your ATE
Client application. The
fi
le can be found in the folder where OM4000 OUI is
installed.
Once the reference is added it can be browsed to understand the available
functionality. Double click on the reference to bring up the Object browser.
Scroll down from Optametra.OM4006.OM4006ATEClient and double-click on
OM4006ATEClient:
The right pane on the object browser should look like the following image:
Basic method for getting
MATLAB variable values
The following is an example code block that references the OM4006 Client,
allocates a new object, registers the BER variable for the block update, connects
to a scope, acquires a single block and saves it to a local variable. This method
is straight forward but requires more code to extract values to local variables. It
allows for simpler implementation of code to extract customer de
fi
ned variables.
It requires that case sensitive strings be passed to the Register and Get methods as
shown in the following code.
Imports Optametra.OM4006.OM4006ATEClient
Imports System.IO
Imports System.Xml.Serialization
Imports System.Collections.Generic
Public Class SampleATEApplication
DIM BER as double
Dim WithEvents MyOM4006ATEClient
As OM4006ATEClient = New OM4006ATEClient()
Dim totalBits As Double
Dim totalBitsUI as double
172
OM4000D Series Coherent Lightwave Signal Analyzer
Summary of Contents for OM4006D
Page 2: ......
Page 6: ......
Page 22: ...Compliance information xvi OM4000D Series Coherent Lightwave Signal Analyzer...
Page 24: ...Preface xviii OM4000D Series Coherent Lightwave Signal Analyzer...
Page 100: ...Taking measurements 76 OM4000D Series Coherent Lightwave Signal Analyzer...
Page 146: ...Appendix D Automatic receiver deskew 122 OM4000D Series Coherent Lightwave Signal Analyzer...
Page 202: ...Appendix H Cleaning and maintenance 178 OM4000D Series Coherent Lightwave Signal Analyzer...
Page 205: ...Index W Waveform averaging 48 OM4000D Series Coherent Lightwave Signal Analyzer 181...