Isdarkvoltagedone; Getaveragedarkvoltagepower - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Function
Description
Return Value
When there is no error, the function returns the value of the polarFlag as set by
the function setPolarizationControl ( ).
When there is an error, the return value contains the error number.

isDarkVoltageDone

Function
Description
Purpose
The isDarkVoltageDone function is used to check if a dark voltage
measurement has been performed for the specified channel.
C prototype
int isDarkvolatgeDone( unsigned short chID, char *timeStamp )
VB prototype
Declare Function isDarkVoltageDone Lib "SWS15100" (ByVal chID%, ByVal
timeStamp$) As Long
Input
unsigned short chID:
This is the channel to be checked.
Output
char *timeStamp:
This is the time of the last zero loss reference for the specified polarization. At
least 32 characters must be assigned to this array.
Return Value
When a dark voltage measurement has been done for the specified channel,
the return value is 1 (TRUE).
When a dark voltage measurement has been done for the specified channel,
the return value is 0 (FALSE).
When there is an error, the return value contains the error number.

getAverageDarkVoltagePower

Function
Description
Purpose
The getAverageDarkVoltagePower function is used to get the average power
measured during a dark voltage measurement. This function is called after the
dark voltage measurement for the specified channel has been performed.
C prototype
int getAverageDarkVoltagePower( unsigned short chID, double *dAvePower)
VB prototype
Declare Function getAverageDarkVoltagePower Lib "SWS15100" (ByVal
chID%, ByRef dAvePower As Double) As Long
Input
unsigned short chID:
This is the channel number.
Output
double *dAvePower:
This is the average dark voltage power in dBm.
Return Value
If there is no error, the return value is 0.
If there is an error, the return value contains the error number.
140 – 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