Getchannellist - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

reference wavelength.
unsigned short uhListSize:
This specifies the size of the array containing the out-of-band wavelengths.
double *pdLamOutWaveList:
This is the array of out-of-band wavelengths for which crosstalk is calculated.
double dBandWidth:
This specifies the bandwidth within which to compute peak powers around
each out-of-band wavelength.
Output
double *pdInPowPeak:
This is the peak power in the in-band channel. The peak is found around the
reference wavelength, going a half-bandwidth on either side.
double *pdLeftOutPower:
This is the power in the out-of-band channel to the left of the reference
wavelength.
double *pdRightOutPower:
This is the power in the out-of-band channel to the right of the reference
wavelength.
double *pdTotalOutPower:
This is the total power in the out-of-band channels.
Return Value
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.

getChannelList

Function
Description
Purpose
The getChannelList function retrieves all the channels present on the SWS
system. Values are returned in an array list. The size of the array must be 128.
The active channels are filled from the beginning of the array. The rest of the
array, up to 128, is filled with 0.
To work properly, this function must have an array of 128 unsigned short
elements allocated for the active channel list.
C prototype
unsigned short getChannelList( unsigned short *channelList );
VB prototype
Declare Function getChannelList Lib "SWS15100"
(ByRef channelList%) As Long
Input
Unsigned short *channelList:
The channelList array contains all the channels that are present on the SWS
system.
154 – 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