![JDS Uniphase SWS15100 Скачать руководство пользователя страница 153](http://html1.mh-extra.com/html/jds-uniphase/sws15100/sws15100_user-manual_3587431153.webp)
138 – Programming Guide
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 )
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание SWS15100
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 13: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 201: ...186 Programming Guide Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...