SAD500 Serial Port InterfaceCommunications and Control InformationOverviewThe SAD500 Serial Port Interface is a microcontroller-based analog-to-digita
10Slow Memory AvailableDescription: Returns the amount of available slow memory in KBytes.Command Syntax: UResponse: ACK followed by {DATA WORD}Defaul
11Binary Data ModeDescription: Sets the mode in which data values are interpreted as binary. In this mode, only 16 bitunsigned integer values (0 – 655
12Query Error CodeDescription: Returns and clears the current error code.Command Syntax: qResponse: ACK followed by {DATA WORD}Default value: N/AThe f
13ExamplesBelow are examples on how to use some of the commands. Commands are in BOLD and descriptions arein parenthesis. For clarity, the commands ar
14Example 4Store 50 spectra with every 4th pixel in slow memory, read them outaA (Set ASCII Data Mode)M2 (Set storage mode to slow memory)P1 4 (Set pi
15Technical Note 1: SAD500 Data CompressionTransmission of spectral data over the serial port is a relatively slow process. Even at 115,200 baud, the
1688 -44 0xD483 -5 0xFB86 3 0x0382 -4 0xFC91 9 0x0992 1 0x0181 -11 0xF580 -1 0xFF84 4 0x0484 0 0x0085 1 0x0183 -2 0xFE80 -3 0xFD80 0 0x0088 8 0x0894 6
17Technical Note 2: Correlated Double SamplingThe S1024DW and S1024DWX can be configured to utilize a data sampling technique called correlateddouble
18Technical Note 3: SAD500 Checksum CalculationFor all uncompressed pixel modes, the checksum is simply the unsigned 16-bit sum (ignoring overflows) o
1984 0 0x00 0x000085 1 0x01 0x000183 -2 0xFE 0x00FE80 -3 0xFD 0x00FD80 0 0x00 0x000088 8 0x08 0x000894 6 0x06 0x000690 -4 0xFC 0x00FC103 13 0x0D 0x000
2Flash (Slow) MemoryThere are 4MB of flash memory for non-volatile data storage. Data is transferred from fast memory to slowmemory by the appropriate
3Command SummaryLetter Description VersionA Adds scans 1.00.0B Sets pixel boxcar width 1.00.0C Closes session and stores operating parameters 1.00.0D
4Command DescriptionsA detailed description of all SAD500 commands follows. The {} indicates a data value which is interpretedas either ASCII or binar
5Dump Fast Memory to Slow MemoryDescription: Moves spectral data from fast memory to slow memory. The current pixel mode parametersare used to determi
6Integration TimeDescription: Sets the S2000’s and S1024DW’s integration time, in milliseconds, to the value specified.Command Syntax: I{DATA WORD}Res
7Clear MemoryDescription: Clears memory based upon the value specified. If slow memory is cleared, the currentoperating parameters are written back to
8Pixel ModeDescription: Specifies which pixels are transmitted or stored in slow memory. While all pixels are acquiredon every scan, this parameter de
9Read All DataDescription: Transmits all data from either fast or slow memory. For fast memory, the current pixel mode isutilized. For slow memory, th
Commentaires sur ces manuels