
SpectralLED® RS-7 USER MANUAL
Page 48
STS.
The data are sent from/to the RS-7 in the format specified by
STM
over the wavelength range specified by
WLR.
When sending a target spectrum to the RS-7, data points outside the
WLR
are set to 0.
Syntax:
TSP
transmit the current target spectrum to host
TSP
[data],[data],…,[data]
send target spectrum to RS-7 using
STM
0
TSP
[data]
send target spectrum to RS-7 using
STM
1
[data]
…
[data]
TSP
&
alternative format to send target spectrum to RS-7 using
STM
1
[data]
[data]
[data]
…
[data]
where [data] is an ASCII float and the number of data points is set by
WLR
([endWL] – [startWL] + 1)
Examples:
stm0
set
STM
mode 0 (not required if mode has already been set to 0)
Ok
tsp0.1941,0.298,0.4059,0.5991,…,0.09919
Ok
4.4.5
- FTS - Fit to TSP
Performs a least-squares arithmetic fit to the target spectrum
TSP
over the wavelength range
WLR
and sets the
RS-7 output
OSP
to the resultant spectrum. Only channels with wavelengths within the
WLR
+/- 5nm will be
utilized (meaning channels as far as 5nm outside
WLR
will be utilized). The addition of the
W
suffix to the
FTS
command will also include broadband white channels as part of the solution.
Syntax:
FTS
fit to target spectrum using only the monochromatic channels (white channels not included)
FTS W
fit to target spectrum using all channels, including white channels
FTS M
fit to target spectrum at maximum possible output power as set by
SLM
(target spectrum
TSP
will be scaled accordingly)
The RS-7 will attempt to fit the currently defined target spectrum
TSP.
Examples:
stm0
set spectral transfer mode 0