Getaveragedarkvoltagepower; Istracedone - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Function
Description
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.

isTraceDone

Function
Description
Purpose
The isTraceDone function checks for the status of data acquisition.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Guide – 131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents