The function SpectralRange determines the wavelength range which is required for a correct functioning of the spectral descriptor specified by the parameter idx. The variable parameters RangeLow and RangeHigh return the lower and upper limits.
The function returns the following error codes:
0 ... everything is OK
-1 ... idx is out of range (valid range: 1..NumSpdcs)
-2 ... range cannot be detected (virtual descriptor addresses undefined descriptors)
|