EasyManua.ls Logo

Ocean Optics Flame-S - Page 121

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 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.

Table of Contents

Related product manuals