Setband; Getpassband - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Output
double *pCenLam:
pCenLam stores the center wavelength of the peak.
double *pCenPow:
pCenPow stores the center power of the peak corresponding to the center
wavelength within the specified wavelength.
Return Value
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.

setBand

Description
The setBand function sets the band for the next trace. The call to this function
switches the dual band selector module to collect data from the appropriate
transmitter.
C prototype
Int setBand( unsigned short uhBand);
VB
Declare Function setBand Lib "SWS15100"
prototype
(ByVal uhBand%) AS BOOLEAN
Inputs
Unsigned short uhBand:
let uhBand = 1 for Band C and 2 for L Band, are valid inputs for the wavelength
band.
Outputs
Return value:
When there is no error, the function returns zero.
When there is an error, the function returns an error number.

getPassBand

Description
The getPassBand function computes the passband of the largest peak
contained in the pPowData power array. Call the function after obtaining
pPowData array through a call to the getILTrace function. The refpeak
parameter must be specified by the caller.
C prototype
int getPassBand( double *pdLamData, double *pdPowData, unsigned short
dataSize, unsigned short refPeak, unsigned short baseRef, double interLevel,
unsigned short refWave, double *pdPassBand);
VB
Declare Function getPassBand Lib "SWS15100" (ByRef pLamData As Double,
prototype
ByRef pPowData As Double, ByVal dataSize%, ByVal refPeak%, ByVal
baseRef%, ByVal interLevel as Double, ByVal refWave%, ByRef pdPassBand
As Double) As Long
148 – Programming Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents