Setpolarizationcontrol; Getpolarizationcontrol - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Function
Description
VB prototype
Declare Function blinkLED Lib "SWS15100" (ByVal chID%, ByVal OnOff%) As
Long
Input
unsigned short chID:
This is the channel selected for blinking.
unsigned short OnOff:
This is Boolean. When the value is 1, blinking is turned ON. When the value is
0, blinking is disabled. The previous state is irrelevant.
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.

setPolarizationControl

Function
Description
Purpose
The setPolarizationControl function is used to set a flag that enables or
disables operations involving any polarization related function.
C prototype
int setPolarizationControl( short polarFlag )
VB prototype
Declare Function setPolarizationControl Lib "SWS15100" (ByVal polarFlag%)
As Long
Input
short polarFlag:
To detect at the receiver side all polarization states sent by the transmitter, the
polarFlag value must be 1. If the polarFlag value is 0, any polarization sent by
the transmitter is seen as polarization state S0.
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.

getPolarizationControl

Function
Description
Purpose
The getPolarizationControl function is used to get the status of the polarization
flag.
C prototype
int getPolarizationControl( )
VB prototype
Declare Function getPolarizationControl Lib "SWS15100" () As Long
Input
None
Output
None
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Guide – 139

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents