EasyManua.ls Logo

Ocean Optics Flame-S - Examples

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
116 225-00000-000-11-201604
Command Syntax:
?{ASCII character}
Response:
ACK followed by {DATA WORD}
Default value:
N/A
Examples
Below are examples on how to use some of the commands. Commands are in BOLD and
descriptions are in parenthesis. For clarity, the commands are shown in the ASCII mode (a
command) instead of the default binary mode. In ASCII mode, the Flame transmits a “> “
prompt that is useful to determine when it is ready to accept a command.
The desired operating conditions are: acquire spectra from the spectrometer with a 20.150ms
integration time, set number of scan to add to 5 and operate at 115,200 Baud.
aA (Set ASCII Data Mode)
> K6<CR> (Start baud rate change to 115,200)
Wait for ACK, change to 115200, wait for 20ms
> K6<CR> (Verify command, communicate at 115200)
> A5<CR> (Add 5 spectra)
> i20150<CR> (Set integration time to 20.150ms)
S (Acquire spectra)
Repeat as necessary
Application Tips
During the software development phase of a project, the operating parameters of the
Flame may become out-of-synch with the controlling program. It is good practice to
cycle power on the Flame when errors occur.
If you question the state of the Flame, you can transmit a space (or another non-
command) using a terminal emulator. If you receive a NAK, the Flame is awaiting a
command; otherwise, it is still completing the previous command.
Use a terminal emulator and configure the following port settings:
a. Bits per second (Baud rate): Set to desired rate
b. Data bits: 8
c. Parity: None
d. Stop bits: 1
e. Flow control: None

Table of Contents

Related product manuals