Ossila G2001 User Manual page 35

Optical spectrometer
Table of Contents

Advertisement

Spectrometer
User Manual
13.2.1 Interpreting the returned spectra
Spectral data returned from the spectrometer differs from all other data in that it is not in ASCII
format. To maximise the speed of transmission, it is returned in binary 16-bit integer format. It
also has unique start and end characters used to detect when the data has become corrupted
between the device and the PC. A spectrum will consist of 1600 numbers between the values of 0
and 65353. These will be preceded by a value of 65354 and followed by a value of 65355. The
spectrometer uses a 16-bit analogue-to-digital converter to digitise the optical signal. This can have
output values between 0 and 65355, so to protect the starting and ending values, if any output in
the data is above 65353, it is coerced down to this value. This has a negligible effect on the dynamic
range of the system. An example of the spectral output of the system will therefore look like:
65354 7 19 ................................... 89 76 65355
1600 values
An example of reading a spectrum using the Python programming language is given in Section 14.
www.ossila.com
35
Ossila Limited © 2023

Advertisement

Table of Contents
loading

This manual is also suitable for:

G2001a1

Table of Contents