Laser Receiver Control Panel (LRCP) Software User Manual EN US
Laser Receiver Control Panel (LRCP) Software User Manual EN US
User Manual
*P077112701*
077-1127-01
xx Laser Receiver Control Panel (LRCP)
Software
ZZZ
User Manual
www.tek.com
077-1127-01
Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries
or suppliers, and are protected by national copyright laws and international treaty provisions.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supersedes that in all previously published material. Specifications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
MATLAB is a registered trademark of The MathWorks, Inc.
Other product and company names listed are trademarks and trade names of their respective companies.
Contacting Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 500
Beaverton, OR 97077
USA
Install software
Install software.................................................................................................... 1-1
PC hardware requirements.................................................................................. 1-1
What software to install ..................................................................................... 1-1
Install LRCP software ....................................................................................... 1-2
Operating basics
LRCP operating basics ........................................................................................... 3-1
Start LRCP ................................................................................................... 3-1
Detect OM instruments on a network ..................................................................... 3-2
Connect to an OM instrument .............................................................................. 3-4
Saving and loading configurations ........................................................................ 3-5
Controller tab fields.......................................................................................... 3-6
The Laser controls ...................................................................................... 3-6
The Modulator controls ................................................................................ 3-8
The Driver Amp controls ............................................................................ 3-11
Appendices
Appendix A: OM5110 theory of operation ................................................................... A-1
Appendix B: The LRCP automated test equipment (ATE) interface ...................................... B-1
The LRCP ATE interface .................................................................................. B-1
ATE functionality in MATLAB .......................................................................... B-15
Index
Index
List of Figures
Figure A-1: OM5110 block diagram .......................................................................... A-1
List of Tables
Table 1-1: Software to install based on instrument configuration........................................... 1-1
Table 3-1: Laser controls ........................................................................................ 3-6
Table 3-2: Modulator controls (Auto-Set mode) .............................................................. 3-8
Table 3-3: Modulator controls (manual mode) .............................................................. 3-10
Table 3-4: Driver Amp controls............................................................................... 3-12
Preface
This document describes how to install, configure, and operate the Laser Receiver
Control Panel (LRCP), used to locate and control Tektronix OM5110, OM4245,
OM4225, OM4106D, OM4006D, OM2210, and OM2012 instruments that
are connected to a local network. The LRCP interface automates locating and
configuring instruments and simplifies laser, modulator, and driver amplifier
control, eliminating the need to use low-level ITLA commands.
The LRCP software application’s main use is to control OM5110 or
OM2012 instruments that are used in a stand-alone configuration as individual
instruments or used together (OM5110 plus OM2012). LRCP can also control
and configure other OM instruments (OM4200 series, OM4000 series, OM2210),
though these instruments are normally accessed from the OM1106 Modulation
Analysis Software. See the OM1106 Modulation Analysis Software User Manual
(Tektronix part number 077-1093-xx), available to download from the Tektronix
Web site (www.tek.com).
PC hardware requirements
The following are the PC requirements to install and run the standalone LRCP
software. The term PC applies to a supported oscilloscope, PC, or laptop on which
the software is installed, and that is connected to OM instruments over a network.
Item Description
Operating U.S.A. Microsoft Windows 7 (32- or 64-bit)
system
Processor Intel i7, i5 or equivalent; min clock speed 2 GHz
RAM Minimum: 4 GB
Hard Drive Minimum: 20 GB
Space
Networking Gigabit Ethernet (1 Gb/s) or Fast Ethernet (100 Mb/s)
Other 2 USB 2.0 ports
Hardware
Adobe Reader Adobe reader used for viewing PDF format files
NOTE. Read the installation notes and/or instructions that are in each
application’s installation folder before installing that software. Only install
the software that is appropriate for your OM instrument, PC, and oscilloscope
configuration.
AWG file library for OM5110 The product software USB flashdrive also contains an AWG file library (at
(optional) OM5110\AWG Files) for use with Tektronix AWG70001A and AWG70002A
Arbitrary Waveform Generators, for generating standard and custom optical
modulation signals. These files are precompensated to work with a typical
AWG70001A and OM5110 combination.
See the file OM5110 app note.pdf in the AWG Files folder of the software media
for information on using the AWG library files with the OM5110.
If the Device Setup dialog does not list all connected instruments:
Verify that instruments are connected to the correct DHCP-enabled
network and that the DHCP server is set to provide IP addresses on the
same subnet
Verify that instruments are powered on after connecting to the network
Reboot the missing OM instruments by holding down their front-panel
power button for 10 seconds, then repeat the Auto Configure.
Work with your IT resource to resolve the connection problem.
7. Click OK to close the Device Setup dialog box and return to the LRCP
window. The detected instruments display as tabs in the main LRCP window.
Click a tab to show that instrument’s settings.
You are now ready to use LRCP to configure and control instruments. (See
page 3-1, LRCP operating basics.)
NOTE. Make sure to record the IP addresses used for each OM instrument, or
attach a label with the new IP address to the instrument.
If you are setting up a new isolated network just for controlling OM and associated
instruments, Tektronix recommends using the OM instrument default IP subnet
address of 172.17.200.XXX, where XXX is any number between 0 and 255.
NOTE. Use the system configuration tools on the oscilloscope and computer to
set their IP addresses.
NOTE. If you need to change the default IP address of more than one OM
instrument, you must connect each instrument separately to change the IP address.
13. Power off the OM instrument(s) and connect it to the non-DHCP network.
14. Run LRCP on the non-DHCP network and use the Auto Config button in
the Device Setup dialog box to verify that the instrument is listed with the
new IP address.
NOTE. If you need to change the default IP address of more than one OM
instrument using this procedure, you must connect each instrument separately to
change the IP address.
NOTE. The LRCP software does not acquire or analyze data from connected
instruments. Use the OM1106 Optical Modulation Analyzer software to acquire,
demodulate, analyze, and visualize complex modulated signals.
Start LRCP
Double-click the LRCP icon on the PC desktop to open the application user
interface.
3. Click Auto Configure (right edge of dialog box) to search the network and
list all detected OM instruments. This search can take a few minutes.
If the Device Setup dialog does not list all known connected instruments:
Verify that OM instruments are connected to the correct network
Verify that instruments are powered on and their network connection is
enabled (the On/ Standby button on the front panel is on )
Reboot the missing OM instruments by holding down their front-panel
power button for 10 seconds, and then repeat the Auto Configure
If the above items do not help, work with your IT resource to resolve the
connection problem
4. (Optional) Use the Friendly Name field to attach custom labels to OM
instruments that help you identify the type and/or location of the instruments.
Friendly Names are retained in the LRCP software and are tied to the
corresponding instrument MAC address.
5. (Optional) Use the Set IP button to manually set the instrument IP address.
This is only necessary in a network environment that is not using DHCP to
automatically assign IP Addresses. (See page 2-1, Verify or set instrument IP
address.) The Set IP button only changes the IP address and does not save
other modified fields like Friendly Name.
6. (Optional) Select Auto Start to enable auto connection and configuration
of this hardware when the LRCP is launched. The Auto Start hardware is
configured at OUI/LRCP launch to match the state when the LRCP was last
closed. The hardware must be present at the last known IP address for the
automatic connection to work.
7. Click OK to exit the dialog and save any changes (such as Friendly Name).
LRCP lists the detected OM devices as tabs on the main screen, using the
friendly name and IP address to allow for easy identification.
NOTE. If you do not click OK, the listed instruments are not connected to LRCP
or saved in the software.
NOTE. LRCP does not automatically update the connected devices list on startup.
Disconnected or powered-off instruments will still be shown in the list and be
shown as offline. You should run the Auto Configure task after starting LRCP
to update the connected device list or when the software has been running for
a long time.
Connect to an OM instrument
Once detected using the Device Setup dialog box, LRCP lists the OM devices
as tabs on the main screen, using the friendly name and IP address to allow for
easy identification.
To connect to an instrument:
1. Click an instrument tab.
2. Click the Offline button. The button changes colors to show the connection
status:
a. The button turns yellow and reads "Connecting…" to show that a physical
network connection is being established over a socket.
b. The button turns teal and reads "Connected…" to show that a session is
established between the device and Control Panel. Commands are sent to
initialize the communications with the laser and identify their capabilities.
c. The button turns bright green when the controller and lasers are ready to
operate from the software.
NOTE. The button color scheme (bright green = running or active; gray =
off line or inactive; red = warning or error state) is consistent throughout
the application.
3. Once the instrument is connected, the tab populates with controls and fields
relevant to the connected OM device ( instrument name, laser manufacturer
and model, available parameters, and so on). You can now change settings
and turn the laser(s) on or off.
NOTE. The very first time the LRCP connects to an OM5110, there is a delay
while the LRCP calculates the initial modulator parameters so that they may be
stored away in the LRCP Program Files directory. The modulator parameters,
including optimum bias voltages and Vpi voltages for the various modulator
sections, are needed to obtain proper optical bias for the modulator. The LRCP
saves the current state of each OM5110 on first connection so that you can restore
the parameters if needed. More information on setting the modulator parameters
using the “Set Params” button is later in this section.
Save Configuration Click the Save Configuration button to open up a "Save As" dialog box. Browse
to the desired folder and enter a name for the configuration file. Click save to
store all the settings of the OM hardware showing a green "Running" status on its
LRCP tab to this file.
Click the Load Configuration to open the "Open" dialog box. Browse to the
desired folder and find the file. Click Open to restore all the settings to the OM
hardware listed in the specified configuration file. If the OM hardware is not
in the green Running state, the LRCP attempts to connect to the hardware at
the last known IP address so that the settings of that hardware may be restored.
Laser emission status will also be restored. This means that if the laser was on
when the configuration was saved, that laser emission is turned on when the
configuration is loaded.
Loading a configuration may take some time. The status of each piece of OM
hardware is displayed on its LRCP tab in the connect button area. The status of
"configuring" indicates that settings are being restored. Wait for the status to
change to Running before attempting to use the hardware.
Channel setting within the ITLA grid gives the corresponding frequency (in THz)
and wavelength (in nm). Power is set within the range allowed by the laser.
Use the Fine Tune slider bar to fine tune the laser, which typically works over a
range of ±10 GHz from the center frequency of the channel selected.
The Modulator controls When connected to an OM5510, the Modulator section of an instrument tab sets
the optical modulator bias parameters. Which controls and fields are shown
depends on whether Auto-Set is enabled or disabled (check box at the bottom of
the tab).
The Auto-Set check box enables or disables the modulator automatic optical
bias function settings. When the check box is selected, settings are controlled
automatically based on the specified signal level and type. When Auto-Set is
cleared, you can manually enter modulator settings.
Manual settings view (Auto-Set check box cleared). The Manual Settings View
provides the greatest degree of control flexibility, but is more complex than
Automatic Settings View. Since each setting may take five seconds to be stored in
an instrument, and possibly several minutes to reach steady state, it is best to use
the Automatic Settings View where all the settings are established at once. The
Manual Settings View is helpful when it is necessary to make fine adjustments to
optimize a signal, or when it is desirable to impair the signal.
3. Deselect the Auto-Set box to see the Manual Settings view. Wait for the
analyzer to report that the optical bias is correct.
4. If the optical bias does not meet your requirements, use the Manual Control
Mode or the Offset function to correct the optical bias. This is easiest if
the OM5110 is connected for single polarization IQ operation. That is,
there should be proper drive signals connected to either XI and XQ or to YI
and YQ. The X parameters are determined with XI and XQ driven, the Y
parameters are determined with YI and YQ driven. It is important to drive
both I and Q or the phase (XP or YP) will not be known.
After connecting the XI and XQ signals, use Auto Control Mode for XI, XQ,
YI, YQ, and manual control for XP and YP. Try several values for XP leaving
YP alone, waiting each time for XI, XQ, YI, and YQ to auto bias. Once proper
X constellation bias is achieved, record these values and then move the drive
signals to YI and YQ and repeat the process.
If the autobias does not work for several different XP voltage settings, verify
that the signal levels are < 300 mVpp or > 500 mVpp and that the Auto Set
panel was correspondingly configured and Applied.
5. Record the voltages shown on the Manual Settings view once the optical
bias value meets your requirements.
6. Click Set Params. Enter the voltages shown in the Manual Settings view
(step 5) as the Null Voltages in the Set Parameters dialog box.
NOTE. If using Set Params results in worse values, click Restore Initial Values
to reload the settings originally detected by the LRCP at first connection to the
OM5110.
7. Click OK.
8. To verify the Null Voltage values, change every segment to Manual Control
Mode and click Reset. The voltages shown should match those found in
step 5) to within 0.01 V.
9. Return to the Auto-Set view and click Apply to return to automatic control.
The Driver Amp controls The Driver Amp control area of the LRCP software controls the behavior of the
optical modulator RF Input electrical amplifier. This two-stage amplifier can
work in both linear and nonlinear modes to enable both linear electrical-to-optical
conversion and binary optical signal generation which is insensitive to the
electrical input signal level.
Each of the adjustments for linear gain, nonlinear crossing point, and nonlinear
amplitude are indicated by a value in percent. This value is provided to help
documentation of the amplifier settings. The control is not strictly proportional
to this value, so these settings must be determined experimentally using the
appropriate optical signal analyzer.
The block diagram image to the right of the Driver Amp is for reference to show
the signal flow relationship of the Laser, Modulator, and Driver Amp controls. The
diagram does not change or show any values while changing control parameters.
LRCP basic service The basic service for LRCP is available on port 9000.
interface The basic service uses wsBasicHTTPBinding to be compatible with
applications like MATLAB or Labview that only support the simpler binding.
Exposes a subset of the advanced service commands.
The basic service is referenced at the following URL:
http://localhost:9000/LaserReceiverControlPanel/Laser_ReceiverServiceBasic/
LRCP advanced service The LRCP advanced service is available on port 9300.
interface The LRCP advanced service uses a netTcpBinding (which is not available in
MATLAB) and uses events to provide a time-efficient interface.
The advanced service is referenced at the following URL:
net.tcp://localhost:9300/LaserReceiverControlPanel/Laser_ReceiverService/
Wrapper client DLLs (LRCPATEClient.DLL) have been installed into your
documents folder under \TekApplications\ATE Support Files. Copy the
NOTE. In previous releases it was required that the user edit their App.Config
file for the client applications to supply URL information for accessing the
advanced service. This is no longer necessary if user adds the reference to
LRCPATEClient.DLL to their client ATE application. The detail of the WCF
Service is wrapped in the DLL.
A new constructor was added to the LRCPATEClient class to allow the user to
change the service's URL and/or port. This is useful for accessing the service
remotely or for dealing with port conflicts.
Syntax: LRCPATEClient(string url, int port)
Coding example: (C#):
LRCPATEClient myLRCPService = new LRCPATEClient("155.90.55.23",
9300);
NOTE. MATLAB returns strings, not numeric values. To convert returned string
values to numeric values, use the following: VarName = CmndName(obj);
x = str2num(VarName). For example: LoFreq = GetLOFreq(obj); x =
str2num(LoFreq).
WARNING. WCF services can turn lasers on and off. Verify that no one is
physically working with lasers or fibre while running ATE applications. Power off
the OM instruments to disable lasers.
LRCP ATE service function The following are the available instrument commands (OM4000 series,
list OM2000 series, OM5110) for both the basic and advanced service interfaces, and
show their functionality using the MATLAB syntax. Each command lists the
instruments with which that command operates.
int AvailableLasers(classname);
Description: Returns the count of available lasers on the active controller.
Controller Types: All
Example: AvailableLasers(obj);
Returns: ans = 2
bool Calibrate(classname); (OM5110 only)
Description: Performs an automatic modulator calibration to determine
the optimal modulator parameters. These are the same parameters that
are manually set using the user interface Set Params button, or the
SetManualCalibration() function.
Calibrate() is an automatic calibration that requires the modulator control mode
(see GetActualModulatorMode()) be set to 2-pol QPSK and that >500 mVpp
binary signals are applied to all four inputs. Longer patterns are better (231
PRBS is optimal). Each of the four input patterns should be different in some
way: a different pattern, the same pattern delayed, or a different seed.
The modulator must receive adequate input power levels to produce a signal
power that is high enough to avoid a power level warning. If these conditions
are not met the resulting calibration can result in unstable optical bias. See the
section on Set Paramaters to restore these values to factory values.
Controller Types: OM5110
Example: Calibrate(obj);
Returns: ans = true/false
bool Connect(classname);
Description: Connects to the active controller, starts controller running.
Controller Types: All
Example: Connect(obj);
Returns: ans = true
bool Disconnect(classname);
Description: Disconnects from the active controller, takes offline.
Controller Types: All
Example: Disconnect(obj);
Returns: ans = true
bool GetActualCavityLock(classname);
Description: Returns the actual cavity lock state for the active controller/laser.
Locked = True.
Controller Types: All
Example: GetActualCavityLock(obj);
Returns: ans = true
double GetActualChannel(classname);
Description: Returns the actual channel number for the active controller/laser.
Controller Types: All
Example: GetActualChannel(obj);
Returns: ans = 1
double GetActualChannel1(classname);
Description: Returns the actual channel 1 frequency (in THz) for the active
laser.
Controller Types: All
Example: GetActualChannel1(obj);
Returns: ans = 191.5
controlmode GetActualControlMode(classname, enum_modulator);
(OM5110 only)
Description: Returns the control mode for the modulator that is passed in
the ‘modulator’ parameter.
Controller Types: OM5110
Example: GetActualControlMode(obj, modulator.YQ);
Returns: ans = one of the following:
controlmode.automatic
controlmode.manual
controlmode.notset
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
short GetActualFineTuneFrequency(classname);
Description: Returns the actual fine tune frequency (in MHz) of the active
laser.
Controller Types: All
Example: GetActualFineTuneFrequency(obj);
Returns: ans = 0
double GetActualGridSpacing(classname);
Description: Returns the actual grid spacing (in THz) of the active laser.
Controller Types: All
Example: GetActualGridSpacing(obj);
Returns: ans = 0.05
byte GetActualMaxPotSetting(classname, string_voltageName);
(OM5110 only)
Description: Returns the maximum allowed step setting value for the specified
voltage, in the range of 0 to 255
Controller Types: OM5110
Example: GetActualMaxPotSetting(obj, 'XI G1');
Returns: ans = 100
The following are valid voltageName string values:
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
float GetActualMaxVoltage(classname, string_voltageName); (OM5110
only)
Description: Returns the maximum voltage value for the specified voltage,
in Volts.
Controller Types: OM5110
Example: GetActualMaxVoltage(obj, 'YI D2');
Returns: ans = 10.2
The following are valid voltageName string values:
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
byte GetActualMinPot(classname, string_voltageName); (OM5110 only)
Description: Returns the minimum allowed step setting value for the specified
voltage, in the range of 0 to 255
Controller Types: OM5110
Example: GetActualMinPot(obj, 'XI G2');
Returns: ans = 100
The following are valid voltageName string values:
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
float GetActualMinVoltage(classname, string_voltageName); (OM5110
only)
Description: Returns the minimum voltage value for the specified voltage,
in Volts.
Controller Types: OM5110
Example: GetActualMinVoltage(obj, 'YQ G1');
Returns: ans = 5.5
The following are valid voltageName string values:
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
modulatormode GetActualModulatorMode(classname); (OM5110 only)
Description: Returns the modulator mode (notset, dpqpsk, qam, or arbirary)
Controller Types: OM5110
Example: GetActualModulatorMode(obj);
Returns: ans = one of the following:
modulatormode.notset
modulatormode.dpqpsk
modulatormode.qam
modulatormode.arbitrary
double GetActualOffset(classname, enum_modulator); (OM5110 only)
Description: Returns the offset voltage adjustment value for the modulator
that is in Automatic mode.
Controller Types: OM5110
Example: GetActualOffset(obj);
Returns: ans = offset value
double GetActualPower(classname);
Description: Returns the actual power (in dBm) of the active laser.
Controller Types: All
Example: GetActualPower(obj);
Returns: ans = 14.5
byte GetActualPowerOnDefault(classname, string_voltageName);
(OM5110 only)
Description: Returns the power-on default setting for the specified voltage, in
the range of 0 to 255.
Controller Types: OM5110
Example: GetActualPowerOnDefault(obj, 'YQ G1');
Returns: ans = 150
The following are valid voltageName string values:
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
'YQ G1', 'YI G1', 'YQ G2', 'YI G2', 'YQ D2', 'YI D2', 'XI D2', 'XQ D2', 'XI
G2', 'XQ G2', 'XI G1', 'XQ G1'
bool SetManualCalibration(classname); (OM5110 only)
Description: This is the same as the SetParams button in the user interface.
It sends a new set of null voltages and Vpi voltages to the OM5110 for use
by the optical bias controller. Returns true if the calibration was successfully
started, and false if the calibration was not started.
Controller Types: OM5110
Example: Calibrate(obj, float, float, float, float, float, float, float, float, float,
float, float, float);
Returns: ans = true/false
bool SetOpticalPowerAdjustment(classname, double_power); (OM5110
only)
Description: Sets the optical power adjustment, in dBm. Returns true if power
adjustment value was set, false if the value was not set.
Controller Types: OM5110
Example: SetOpticalPowerAdjustment(obj, 10.1);
Returns: ans = true/false
bool SetPolarizationIn(classname); (OM2210 only)
Description: Puts both polarization filters in. Returning True = Successful.
Controller Types: OM2210
Example: SetPolarizationIn(obj);
Returns: ans = true
bool SetPolarizationOut(classname); (OM2210 only)
Description: Puts both polarization filters out. Returning True = Successful.
Controller Types: OM2210
Example: SetPolarizationOut(obj);
Returns: ans = true
bool SetReceiverOff(classname);
Description: Turns the receiver off in the active controller. Returning True =
Successful.
CAUTION. Make sure that laser power is off before running this command,
otherwise the photoreceiver could be damaged.
NOTE. To turn off lasers, click the LRCP software Laser Emission button to Off,
or push the front-panel Power button to power off the instrument.
LRCP control in MATLAB The Laser/Receiver Control Panel tab communicates with other programs using
port 9000 on the computer running the OMA software.
NOTE. Make sure that the LRCP tab is open before using this interface.
createClassFromWsdl(url);
obj = Laser_ReceiverServiceBasic;
Where:
‘url= ...‘ specifies the URL or path to a WSDL application programming
interface (API) that defines the web service methods, arguments, and
transactions for the Laser/Receiver Control Panel.
‘createClassFrom...’ creates the new class based on the specified API and
builds a series of M-Files for accessing the Laser/Receiver Control Panel
service.
‘obj=Laser_Receiver...’ instantiates the object class name and opens a
connection to the service.
These commands only need to be run whenever the service interface (available
methods) changes.
To display an up-to-date listing of methods for the initialized service, enter the
following in the MATLAB desktop command window:
methods(obj);
Matlab returns a list of available functions for the initialized service. The list may
also show new functions that have been added (and may not be documented in
this manual). To show information on a specific function in the list:
1. Click a function name in the list to position the cursor in that function.
2. Right-click and select Help on Selection. MATLAB displays the function
information.
LRCP control The Laser/Receiver Control Panel communicates with other programs using port
9000 on the computer running the Control Panel software. MATLAB 2009a
and later versions have 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. Make sure 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 first specifies the URL or path to a WSDL application programming interface
(API) that defines 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 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 find out the function’s parameters
by typing the function name followed by a “(“ and waiting for the help to display.
The LRCP methods which return numerical values will return the numbers as
strings in MATLAB. These strings can be turned back into numbers using the
str2num function in MATLAB.