Ocean Optics SAD500 Communications and Control User Manual
Page 11

11
Binary Data Mode
Description: Sets the mode in which data values are interpreted as binary. In this mode, only 16 bit
unsigned integer values (0 – 65535) -- with the MSB followed by the LSB -- are allowed.
Command Syntax:
bB
Response:
ACK or NAK
Default value:
Default at power up – not changed by Q command
This command requires that the string “bB” be sent without any CR or LF to insure that this mode
is not entered inadvertently.
Correlated Double Sampling (CDS) Mode
Description: Specifies whether the data transmitted by the SAD500 is assumed to be correlated double
sampled data when using the S1024DW. When in the CDS mode, the data pixels are transferred first,
followed by the dark pixels. For example, when in pixel mode 512 (all pixels transferred) 1024 data
pixels will be followed by 1024 dark pixels. For more information on Correlated Double Sampling, see
Technical Note 2.
Command Syntax:
H{
DATA WORD
}
Value:
0 = do not use correlated double sampling
1 = use correlated double sampling
Response:
ACK or NAK
Default value:
0
This mode can only be used with the S1024DW spectrometer
Checksum Mode
Description: Specifies whether the SAD500 will generate and transmit a 16-bit checksum of the specstral
data. This checksum can be used to test the validity of the spectral data, and its use is recommended when
communicating at 115,200 baud. For more information on the SAD5000 Checksum Calculation, see
Technical Note 3.
Command Syntax:
k{
DATA WORD
}
Value:
0 = do not transmit the checksum
1 = use correlated double sampling
Response:
ACK or NAK
Default value:
0
Find Maximum Spectral Reading
Description: Returns the maximum value of the last spectra acquired.
Command Syntax:
l (lower case letter l)
Response:
ACK or NAK followed by {Data Word}
Default value:
N/A
Immediately after power up, this command will return a non-zero value that is due to the Fast
memory data segment being at some undefined state.