
SpectralLED® RS-7 USER MANUAL
Page 45
4.4
Spectral Operations
4.4.1
- WLR - Set Wavelength Range
Sets or reports the operating wavelength range for spectral operations, including spectral data transfers to and
from the RS-7.
Syntax:
WLR
[startWL],[endWL]
set wavelength range [startWL] to [endWL]
WLR
report currently set wavelength range
where [startWL] and [endWL] are integers between 360 and 1100, representing nanometers, with [startWL] <
[endWL].
The wavelength range is applicable for the following commands:
OSP
Output spectrum
TSP
Target spectrum
FTS
Fit to
TSP
REP
Report RMS Error %
OSP
vs.
TSP
Examples:
wlr
report current operating wavelength range
380,780
wlr380,920
extend wavelength range to 920 nm
Ok
4.4.2
- STM - Spectrum Transfer Mode
Establishes the format for spectral data transfers between the host & RS-7. Spectral data is always 1 nm-step
resolution, units being µW/cm²/nm (irradiant source, see
CTY
&
IRR
) or
µW/cm²/nm/sr (radiant source, see
CTY
&
IRR
) and is transferred between the host and RS-7 over the wavelength range set by
WLR
.
Syntax:
STM
[0|1|2]
set spectral transfer mode to 0, 1, or 2
STM
report current spectral transfer mode
where spectral transfer mode 0 is comma-delimited ASCII data, spectral transfer mode 1 is <CR><LF> delimited
ASCII data (columnar), and spectral transfer mode 2 is packed binary. The packed binary format is capable of
transferring a complete set of spectral data over the full wavelength range of 380 to 1100 nm at 115,200 baud in
125 milliseconds.
When transferring in packed binary format
1.
first an ASCII float representing a scale factor is sent