
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
Содержание Flame-S
Страница 18: ...1 Introduction 8 225 00000 000 11 201604...
Страница 32: ...2 Installation and Setup 22 225 00000 000 11 201604...
Страница 46: ...4 Troubleshooting 36 225 00000 000 11 201604...
Страница 54: ...5 How the Flame Spectrometer Works 44 225 00000 000 11 201604...
Страница 58: ...6 Technical Specifications 48 225 00000 000 11 201604 Mechanical Diagram Figure 1 Flame Outer Dimensions...
Страница 74: ...7 Calibration 64 225 00000 000 11 201604...
Страница 130: ...Index 120 225 00000 000 11 201604...