Appendix G: The automated test equipment (ATE) interface
ATE functionality in MATLAB
MATLAB supports a limited subset of the OM4000 Series services, namely the
Basic service. This section describes how to create and address the functions
from MATLAB.
LRCP control
The Laser/Receiver Control Panel communicates with other programs using port
9000 on the computer running the Control Panel software. MATLAB 2009a has a
built-in capability that makes control from MATLAB easy if you are running the
February 2010 or later release of the Laser/Receiver Control Panel.
NOTE.
Ensure that the lrcp is running before using this interface.
Initialize the interface in the MATLAB desktop command window with the
following commands:
url = 'http://localhost:9000/LaserReceiverControlPanel/
Laser_ReceiverServiceBasic/?wsdl';
createClassFromWsdl(Url);
obj = Laser_ReceiverServiceBasic;
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
LRCP.
The second creates the new class based upon that API and builds a series of
M-Files for accessing the Laser/Receiver Control Panel service.
The third instantiates the object class name and opens a connection to the 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.
OM4000D Series Coherent Lightwave Signal Analyzer
167
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...