3 If it is not already installed, install the PNA-Proxy.
For help, see the document “dcom.rtf” on the network
analyzer support CD.
4 Open the Excel workbook “example.xls”.
In the field “LCA Name”, enter the host name or the IP
address of the LCA.
The blue button combines the grey buttons, and runs a full
measurement.
N O TE
If you encounter COM automation errors when running this example, copy
the file “Ecel.exe.config” into the folder where the Excel executable is
located. This forces the runtime environment to bind Excel with .NET 2.0 at
startup.
If you have an older version of Excel it might be bound to an older version
of the .NET framework by default. Since an application can only be bound
to one version of the .NET framework you will see errors in this case,
because the LCA Remote Client requires .NET 2.0.
This .config file can be found in the same folder as the file “example.xls”.
Change the LCA
parameters.
Select the type of
measurement
Connect to the LCA and start a
new session.
Click “measure” to start a
measurement. The results are
shown on sheet 2 (Data).
Click “Draw a chart” to
generate a graph of your
measurement results (on sheet
2).
Disconnect the LCA from the
remote interface (end session).
Programming Examples
76
Keysight N437x Series Lightwave Component Analyzer, Programmer’s Guide
Содержание N437 Series
Страница 1: ...Keysight N437x Series Lightwave Component Analyzer Programmer s Guide ...
Страница 2: ......
Страница 3: ......
Страница 78: ...Programming Examples 78 Keysight N437x Series Lightwave Component Analyzer Programmer s Guide ...