EasyManua.ls Logo

JDS Uniphase SWS15100 - DLL Function Descriptions; Initializing and Referencing the SWS; Insertion Loss Functions

Default Icon
251 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Guide 125
DLL Function Descriptions
The functions contained in the DLLs are listed in the following sections. For each function, the
calling sequence and parameters are provided for both C and Visual Basic (VB). In addition, a
short description of the function’s purpose is provided.
Initializing and Referencing the SWS
The following functions are used to initialize and reference the SWS.
Note that a separate getPDLReference function is used to get zero loss references in PDL
mode. That function is documented under the section PDL Functions.
Function Name Description
initSWS Initializes the DLL sub-system
getDarkVoltage Collects the dark voltage trace from the hardware
IsDarkVoltage
Done
Checks if a dark voltage measurement has been performed for the
specified channel.
GetAverageDark
VoltagePower
Finds average power measured during a dark voltage
measurement.
isZeroLossDone Checks if a zero loss reference has been done for a specified
polarization
getReference
Collects the zero loss reference trace data from the hardware. Call
this function after triggering a trace with the triggerTrace function.
getAverageZeroLoss
Power
Gets the average zero loss power for a specified channel and
polarization
Insertion Loss Functions
The following functions are used to acquire Insertion Loss traces from the SWS. Follow the
programming flowcharts in the Programming Guide to tie these functions together.
Function Name Description
getTraceStatus Gets the hardware trace status.
triggerTrace Triggers a new trace
isTraceDone..................... Determines whether the trace has been completed
getTraces Collects the trace data from the hardware
getDataSize Determines the length of the trace from the start wavelength to the
maximum wavelength, defined by LambdaMax in the SWS15100.INI
file
getILTrace Returns the IL trace from the last collection
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents