
SpectralLED® RS-7 USER MANUAL
Page 31
SECTION 4
ASCII COMMAND API
4.1
Overview
Communication with the RS-7 is performed over an FTDI USB UART, with the nominal baud rate of 460.8K baud.
The unit can be optionally configured to operate at 115.2K baud instead. UART format is 8 data bits, 1 stop bit,
no parity.
Characters are not echoed as they are received by the RS-7.
DEFINITIONS
<CR>
the carriage return character, ASCII 13
<LF>
the linefeed character, ASCII 10
ACR
any boldface three-letter acronym refers to a RS-7 command & associated information
BASIC SYNTAX
Commands to the RS-7 consist of three-letter case-insensitive acronyms followed by zero or more arguments.
Arguments, when specified, may be space- or comma-delimited. The command string is terminated by a single
<CR>
.
Any whitespace between the command acronym and the first argument is ignored.
In response to the complete command string, the RS-7 will immediately first and foremost transmit:
<CR><LF>
When the operation specified by the command has completed, for those commands which return no data the
okay response will be transmitted:
Ok<CR><LF>
For those commands which return a single line’s worth of data, the data will be transmitted in place of the “Ok”
as an ASCII string terminated by
<CR><LF>
:
0.3834,0.4151<CR><LF>
For those commands which return a list (multiple lines of data), each line of the transmitted data will be
terminated by
<CR><LF>
with an final additional
<CR><LF>
to terminate the list (empty line):
113.45<CR><LF>
97.511<CR><LF>
94.159<CR><LF>
91.651<CR><LF>
<CR><LF>