beautypg.com

Spectrometer commands – Ocean Optics Ventana User Manual

Page 15

background image

Ventana Data Sheet

891-00000-200-05-201305

15

Message Type Purpose

Input Data

Output Data Notes

Reply is a single byte.

0x000 000 90

Get host
interface
firmware
revision

N/A

Unsigned
short

Firmware version as binary coded
decimal. The same value should be
available through the USB descriptor
as the bcdDevice field.

Request has no payload.

Reply is a 2-byte integer (LSB first) of
the revision.

0x000 000 91

Get FPGA
firmware
revision

N/A

Unsigned
short

Firmware revision as a binary coded
decimal for FPGA

0x000 001 00

Get serial
number

N/A

String

Spectrometer Commands

Message Type Purpose

Input Data

Output Data Notes

0x001 010 00

Get and send
corrected
spectrum
immediately

N/A

Pixel
values
(integers)

This returns the intensity of every
pixel on the detector as LSB, MSB as
soon as it is available. There is no
payload in the request. The reply has
2048 bytes of payload. The pixel
intensities are corrected for
temperature drift and fixed-pattern
noise.

0x001 100 00

Get integration
time (µs)

N/A

Unsigned
32-bit
integer

0x001 100 10

Set integration
time (µs)

Unsigned
32-bit
integer

N/A

Input is 4 bytes for time in µs. Order is
LSB, …, MSB

No reply.

The minimum is 10.