Writeled; Blinkled - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Function
Description
calculated.
unsigned short baseref:
This is Boolean. For minimum peaks, the baseref is 1 and the bandwidth of the
peak is calculated from the base of the peak. For maximum peaks, the baseref
is 0 and the bandwidth is calculated from the peak.
Output
double *pCenLam:
pCenLam stores the center wavelength of the peak.
double *pCenPow:
pCenPow stores the center power of the peak corresponding to center
wavelength.
Return Value
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.

writeLED

Function
Description
Purpose
The writeLED function is used to write a string of characters to the LED
display of a selected channel.
C prototype
int writeLED( unsigned short chID, char *atext )
VB prototype
Declare Function writeLED Lib "SWS15100" (ByVal chID%, ByVal atext$) As
Long
Input
unsigned short chID:
This is the channel selected for writing.
char *atext:
This is a string that the user writes to the channel's LED. The string must have
exactly four characters.
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.

blinkLED

Function
Description
Purpose
The blinkLED function is used to control the blink of the LED display of the
selected channel.
C prototype
int blinkLED( unsigned short chID, unsigned short OnOff )
138 – 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