Appendix G: The automated test equipment (ATE) interface
OUI control in MATLAB
The OM4000 OUI software communicates with other programs via port 9200 on
the computer running the OUI software.
NOTE.
Ensure that the OUI is running before using this interface.
To get an up-to-date listing of methods for the OUI basic service type the
following: methods(obj) MATLAB should return the same functions (See
page 168,
.) and any new functions that have been added.
These functions are self-documented when they are generated.
By enabling the MATLAB help window, you can
fi
nd out the function’s
parameters by typing the function name followed by a “(“ and waiting for the
help to pop up.
Initialize the interface in the MATLAB desktop command window with the
following commands:
url = 'http://localhost:9200/Optametra/OM4006/
WCFServiceOM4006Basic/?wsdl';
createClassFromWsdl(Url);
obj = WCFServiceOM4006Basic;
Where:
The
fi
rst speci
fi
es the URL or path to a WSDL application programming interface
(API) that de
fi
nes the web service methods, arguments, and transactions for the
OUI web service.
The second creates the new class based upon that API and builds a series of
M-Files for accessing the OUI basic service.
The third instantiates the object class name and opens a connection to the OUI
basic service.
These commands only need to be run anytime the service interface (available
methods) changes.
To get an up-to-date listing of methods for the service, type the following:
methods(obj)
Matlab should return the same functions (See page 168,
and any new functions that have been added. These functions are self-documented
when they are generated. By enabling the MATLAB help window, you can
fi
nd
out the function’s parameters by typing the function name followed by a “(“ and
waiting for the help to display.
168
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...