Gettraces; Gettracepolarization - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Function
Description
C prototype
int isTraceDone( );
VB prototype
Declare Function isTraceDone Lib "SWS15100" () As Long
Input
None
Output
None
Return Value
When the trace is done, the function returns 1.
When the trace is not done, the function returns 0.
When there is an error, the return value contains the error number (< 0).

getTraces

Function
Description
Purpose
The getTraces function stores the raw data, to cache, acquired through a call
to the triggerTrace function.
C prototype
int getTraces( unsigned short *channelList, unsigned short numChannels);
VB prototype
Declare Function getTraces Lib "SWS15100"
(ByRef channelList%, ByVal numChannels%) As Long
Input
*channelList is a pointer to the channel list; numChannels is the number of
channels from which data is to be collected.
Output
None
Return Value When there is no error, the function returns the number of bytes written to
cache.
When there is an error, the return value contains the error number.

getTracePolarization

Function
Description
Purpose
The getTracePolarization function retrieves the polarization of the acquired
trace collected with the getTraces function.
C prototype
int getTracePolarization( short *polar );
VB prototype
Declare Function getTracePolarization Lib "SWS15100" ( ByRef polar% ) As
Long
Input
None
Output
short *polar:
This is a set of integers defined as: { S0 = 0, S1 = 1, S2 = 2, S3 = 3, S4 = 4,
POLARIZATION_END_MARKER = 5 }.
132 – 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