Keysight Technologies N7700 User Manual page 74

Photonic application suite
Table of Contents

Advertisement

4
Automation
method LoadReference
method SaveReference
property ReferenceList
74
Reverts the currently loaded reference to the state prior to the last
reference operation. The saved file will not be changed by this operation.
To update the saved reference file, the modified reference needs to be
saved with the same filename.
Type-Library:
HRESULT LoadReference([in] BSTR Filename);
MATLAB:
Engine.LoadReference('Reference.omr');
Loads a reference file in OMR format for the current TLS.
Note that the file must be present on the computer running the server, not
the client. Use
Engine.ReferenceList
present on the server.
Type-Library:
HRESULT SaveReference([in] BSTR Filename, [in] BOOL
Overwrite);
MATLAB:
Engine.SaveReference('Reference.omr', 1);
Saves the current reference to an omr file. Will not overwrite an existing
file unless Overwrite parameter is set to 1.
Note that the file will be stored on the computer running the server, not
the client.
Type-Library:
get: HRESULT ReferenceList([out, retval] BSTR* pVal);
MATLAB:
s = Engine.ReferenceList;
Returns an xml string containing the filenames and important parameters
for all reference files available on the engine server.
Keysight N7700 Photonic Application Suite, Fast Spectral Loss Engine, User's Guide
to get a list of reference files

Advertisement

Table of Contents
loading

Table of Contents