Getcrosstalk - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

double dStartWave:
Specifies the start wavelength or frequency.
double dStopWave:
Specifies the stop wavelength or frequency.
unsigned short uhITUunits:
This is either UNITS_NM or UNITS_GHZ. This tells the function how to interpret
the start and stop wavelength or frequency.
Output
double *pdITUGrid:
The ITUGrid, in terms of wavelengths, that mark the start of a new ITU
channel, are returned in the array. The values returned are in the units
specified by uhITUunits.
Return Value
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.

getCrossTalk

Description
The getCrossTalk function computes the power levels required to compute the
crosstalk. Call the function after obtaining pPowData array through a call to the
getILTrace function.
C prototype
int getCrossTalk( double *adLamData, double *adPowData, unsigned short
uhDataSize, double dRefWave, unsigned short uhListSize, double
*pdLamOutWaveList, double dBandWidth, double *pdInPowPeak, double
*pdLeftOutPower, double *pdRightOutPower, double *pdTotalOutPower );
VB prototype
Declare Function getCrossTalk Lib "SWS15100" (ByRef adLamData As
Double, ByRef adPowData As Double, ByVal uhDataSize%, ByVal dRefWave
As Double, ByVal uhListSize%, ByRef pdLamOutWaveList As Double, ByVal
dBandWidth As Double, ByRef pdInPowPeak As Double, ByRef
pdLeftOutPower As Double, ByRef pdRightOutPower As Double, ByRef
pdTotalOutPower As Double) As Long
Input
double *pLamData:
The adLamData array stores wavelength points of the trace.
double *pPowData:
The adPowData array stores IL power level (dB scale) points. Each point from
the pPowData array has a corresponding point in the pLamData array.
unsigned short dataSize:
This is the size of arrays pLamData and pPowData allocated by the user. This
is the size of the acquired trace retrieved by the user using the function
getDataSize.
double dRefWave:
Specifies the wavelength relative to which crosstalk is calculated, or the
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Guide – 153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents