EasyManua.ls Logo

Ocean Optics Flame-S - Page 99

Ocean Optics Flame-S
130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Command Syntax:
aA
Response:
ACK or NAK
Default value
N/A
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
Command Syntax:
bB
Response:
ACK or NAK
Default value
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.
Command Syntax:
k{DATA WORD}
Value:
0 = Do not transmit checksum value
!0 = transmit checksum value at end of scan
Response:
ACK or NAK
Default value:
0
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.

Table of Contents

Related product manuals