Starting A Vb.net Pdla Application; Install Software; Application Shell - Agilent Technologies 86038B User Manual

Photonic dispersion and loss analyzer
Table of Contents

Advertisement

Starting a VB.NET PDLA Application

Install Software

Application Shell

178
Refer to
"Recommended Control Sequence" on page
The following steps show you how to build a simple shell to
connect to the PDLA.
1 Run Visual Studio .NET.
2 Open a new project and save it to a local directory. Use the
default file name of WindowsApplication1.
This creates a project with a blank frame. To add controls to
the frame, click
View
toolbar.)
3 From the toolbox, add a label with a Caption "PDLA Name:"
and a text box named tbPdlaName. In the Properties dialog,
click on Text and type the network name of your PDLA as the
default text.(Refer to PDLA Help > About to find your PDLA
network name.
4 From the main menu, click
brings up a dialog that defaults to the .NET tab. You will be
adding the .NET incarnation of the PDLA.
5 Select Browse, then navigate to C:\Program
Files\Agilent\Agilent PDLA Remote Control.
6 Click I
nstrumentObjects.dll
(you can add both at once.) Select
back to the References dialog. You will see the two dll's in the
Selected Components pane. Select
InstrumentObjects and RemoteClient will appear in the
Solution Explorer on the right side of the Visual Studio
window.
7 Right click on the form and select View Code. This brings up
a simple From1.vb code window. Find the line that reads:
Inherits System.Windows.Forms.Form. and add right after
that line the pdla client object as a member:
Private WithEvents pdlaClient As RemoteClient.Communicator
Agilent 86038B Photonic Dispersion and Loss Analyzer, Second Edition
>
(or click the icon on the
Toolbox
>
Project
Add Reference
, then ctrl-click on
, which brings you
Open
, and
OK
138.
. This
RemoteClient.dll

Advertisement

Table of Contents
loading

Table of Contents