January 2001 SD000317 Rev. G
Enabling Wavelength Diagnostics on C-Band and L-Band SWS Systems....................118
Changing the .INI File on C-Band Systems .........................................................119
Changing the .INI File on L-Band Systems..........................................................119
Resetting the Number of Points on the Source Optics Module...........................119
Calibrating Wavelength for Diagnostics...............................................................121
Using Wavelength Diagnostics............................................................................121
Maintaining the System ........................................................................................121
Programming Guide ..................................................................................................................122
Application Development using the SWS DLLs ..............................................................122
DLL Architecture ..................................................................................................122
Installing the Dynamic Link Libraries....................................................................122
Using the DLL Components.................................................................................123
Development Environment...................................................................................123
DLL Function Descriptions ..................................................................................125
Initializing and Referencing the SWS..................................................................125
Insertion Loss Functions......................................................................................125
Polarization Dependent Loss Functions..............................................................126
Choosing between C and L Band........................................................................126
Analytical Functions .............................................................................................127
Miscellaneous Functions......................................................................................128
Finishing Your SWS Session...............................................................................128
Interface Descriptions ......................................................................................................129
initSWS................................................................................................................129
triggerTrace..........................................................................................................129
getTraceStatus.....................................................................................................130
getChannelPolarization........................................................................................130
isDarkVoltageDone ..............................................................................................130
getAverageDarkVoltagePower.............................................................................131
isTraceDone.........................................................................................................131
getTraces .............................................................................................................132
getTracePolarization............................................................................................132
getDataSize..........................................................................................................133
getReference........................................................................................................133
getDarkVoltage.....................................................................................................134
getILTrace............................................................................................................134
getPeakPower......................................................................................................135
getBandwidth........................................................................................................136
getCenterWave....................................................................................................137
writeLED...............................................................................................................138
blinkLED...............................................................................................................138
setPolarizationControl..........................................................................................139
getPolarizationControl..........................................................................................139
isDarkVoltageDone ..............................................................................................140
getAverageDarkVoltagePower.............................................................................140
getChannelPolarization........................................................................................141
isZeroLossDone...................................................................................................141
getPDLReferences ..............................................................................................142
acquirePDL..........................................................................................................142
processPDL.........................................................................................................143
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com