EasyManua.ls Logo

JDS Uniphase SWS15100 - Getdarkvoltage; Getiltrace

Default Icon
251 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
134 – Programming Guide
getDarkVoltage
Function Description
Purpose The getDarkVoltage function acquires a new dark voltage value for the
specified channel. This function is called after the user acquires raw data
through a call to triggerTrace and isTraceDone functions with the setup for a
dark voltage measurement in place (for example, detector capped).
C prototype int getDarkVoltage( unsigned short chID );
VB prototype Declare Function getDarkVoltage Lib "SWS15100" (ByVal chID%) As Long
Input unsigned short chID:
This is the channel ID for which the dark voltage measurement is updated.
Output None
Return Value When there is no error, the function returns zero.
When there is an error, the return value contains the error number.
getILTrace
Function Description
Purpose The getILTrace function calculates the IL of a DUT that is connected to the
specified channel chID. The user must allocate space for pLamData and
pPowData arrays that become filled with IL trace points.
C prototype int getILTrace( unsigned short chID,
double *pLamData, double *pPowData,
unsigned short dataSize, short *pola);
VB prototype Declare Function getILTrace Lib "SWS15100" (ByVal chID%, ByRef
pLamData As Double, ByRef pPowData As Double, ByVal dataSize As Long,
ByRef pola%) As Long
Input unsigned short chID:
This is the channel ID for which the IL trace is required.
unsigned short dataSize:
dataSize 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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents