![Ocean Optics Flame-S User Manual Download Page 121](http://html1.mh-extra.com/html/ocean-optics/flame-s/flame-s_user-manual_3228091121.webp)
8: Firmware and Advanced Communications
225-00000-000-11-201604
111
Note
Since most applications only require a subset of the spectrum, this mode can
greatly reduce the amount of time required to transmit a spectrum while still
providing all of the desired data. This mode is helpful when interfacing to PLCs or
other processing equipment.
Spectral Acquisition
Acquires spectra with the current set of operating parameters. When executed, this command
determines the amount of memory required. If sufficient memory does not exist, an ETX (ASCII
3) is immediately returned and no spectra are acquired. An STX (ASCII 2) is sent once the data
is acquired and stored. If the Data Storage Mode value is 0, then the data is transmitted
immediately. If the Scans to Accumulate is 1, then the data is returned as WORDs. However, if
it is greater than 1, then the data is returned as DWORDs to avoid overflow.
Command Syntax:
S
Response:
If successful, STX followed by data
If unsuccessful, ETX
The format of returned spectra includes a header to indicate scan number, channel number,
pixel mode, etc. The format is as follows:
WORD 0xFFFF – start of spectrum
WORD Data size flag (0=Data is WORDs, 1=Data is DWORDs)
WORD Number of Scans Accumulated
WORD Integration time in milliseconds
WORD FPGA Established Baseline value (MSW)
WORD FPGA Established Baseline value (LSW)
WORD pixel mode
WORDs if pixel mode not 0, indicates parameters passed to the Pixel Mode command
(P)
(D)WORDs spectral data depending on Data size flag
WORD 0xFFFD – end of spectrum
Trigger Mode
Sets the Flame’s external trigger mode to the value specified.
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...