8: Firmware and Advanced Communications
225-00000-000-11-201604 89
ASCII Data Mode
Sets the mode in which data values are interpreted to be ASCII. Only unsigned integer values
(0 – 65535) are allowed in this mode and the data values are terminated with a carriage return
(ASCII 13) or linefeed (ASCII 10). In this mode the Flame “echoes” the command and data
values back out the RS-232 port.
The command requires that the string “aA” be sent without any CR or LF. This is an
attempt to insure that this mode is not entered inadvertently.
A legible response to the Version number query (v command) indicates the Flame is in
the ASCII data mode.
Binary Data Mode
Sets the mode in which data values are interpreted to be binary. Only 16 bit unsigned integer
values (0 – 65535) are allowed in this mode with the MSB followed by the LSB
Default at power up – not changed by Q command
The command requires that the string “bB” be sent without any CR or LF. This is an
attempt to insure that this mode is not entered inadvertently.
Checksum Mode
Specifies whether the Flame will generate and transmit a 16-bit checksum of the spectral data.
This checksum can be used to test the validity of the spectral data, and its use is recommended
when reliable data scans are required.
0 = Do not transmit checksum value
!0 = transmit checksum value at end of scan
Version Number Query
Returns the version number of the code running on the microcontroller. A returned value of
1000 is interpreted as 1.00.0.