Agilent Technologies 86038B User Manual page 137

Photonic dispersion and loss analyzer
Table of Contents

Advertisement

N O TE
Agilent 86038B Photonic Dispersion and Loss Analyzer, Second Edition
A VC++ remote programming example has not been provided
because:
• .NET passes its arrays to COM as Safe Arrays. This is easily
handled by
VB 6.0 but VC++ takes a lot of extra work. The Class Wizard
cannot handle them all. Programmatically it takes a bit of
code to do this on the VC++ side (but according to the
documentation it can be done). This primarily affects the
retrieval of the raw data array.
• VC++ has difficulty dealing with two DLLs that have
interdependencies. The RemoteClient DLL uses data types in
the InstrumentObjects DLL. One example used the Class
Wizard and converted all the data types to basic data types,
for example, int, double, and long. The InstrumentObjects
data types are much easier to use.
• Events may not be threadsafe in VC++. Internally in the
RemoteClient, code has been added to pass the events to the
clients GUI thread. This may not work in VC++ and the client
may have to do this.
The electronic version of the User's Guide is available from
Tip:
the PDLA Help menu and on the CD that was supplied with the
instrument.
Because this manual is also distributed electronically, the
formatting of code segments has been left to line-break where it
needs to. This allows you to use the text selector tool to grab the
code and paste it into your program. This means that the word-
processor may occasionally insert a dash on the text as it
appears on the screen that is not there when you copy the text.
If you are manually typing the lines, you have to watch for and
remove those dashes.
137

Advertisement

Table of Contents
loading

Table of Contents