![Ocean Optics Flame-S User Manual Download Page 92](http://html1.mh-extra.com/html/ocean-optics/flame-s/flame-s_user-manual_3228091092.webp)
8: Firmware and Advanced Communications
82
225-00000-000-11-201604
Instruction Set
Command Syntax
The list of the commands is shown in the following table along with the microcode version
number they were introduced with. All commands consist of an ASCII character passed over the
serial port, followed by some data. The length of the data depends on the command. The
format for the data is either ASCII or binary (default). The ASCII mode is set with the “a”
command and the binary mode with the “b” command. To insure accurate communications, all
commands respond with an ACK (ASCII 6) for an acceptable command or a NAK (ASCII 21) for
an unacceptable command (i.e. data value specified out of range).
In the ASCII data value mode, the Flame “echoes” the command back out the RS-232 port. In
binary mode all data, except where noted, passes as 16-bit unsigned integers (WORDs) with
the MSB followed by the LSB. By issuing the “v command” (Version number query), the data
mode can be determined by viewing the response (ASCII or binary).
In a typical data acquisition session, the user sends commands to implement the desired
spectral acquisition parameters (integration time, etc.). Then the user sends commands to
acquire spectra (S command) with the previously set parameters. If necessary, the baud rate
can be changed at the beginning of this sequence to speed up the data transmission process.
RS232 Command Summary
Letter
Description
A
Adds scans
B
Set Pixel Boxcar
C
D
E
F
***Non functional but follows SAD500 command format***
G
Set Data Compression
H
***Non functional but follows SAD500 command format***
I
Sets integration time
J
Sets Lamp Enable Line
K
Changes baud rate
L
Clear Memory
M
Set Data Storage Mode
N
Summary of Contents for Flame-S
Page 18: ...1 Introduction 8 225 00000 000 11 201604...
Page 32: ...2 Installation and Setup 22 225 00000 000 11 201604...
Page 46: ...4 Troubleshooting 36 225 00000 000 11 201604...
Page 54: ...5 How the Flame Spectrometer Works 44 225 00000 000 11 201604...
Page 74: ...7 Calibration 64 225 00000 000 11 201604...
Page 130: ...Index 120 225 00000 000 11 201604...