XIIMUS R-GB-IR CL User Manual. Version 1.2
Error Codes:
Error decimal
hexadecimal
binary ASCII
START and/or
STOP bit error
101
followed by
49
65
followed by
31
0110 0101
followed by
0011 0001
e1
Illegal command
101
followed by
50
65
followed by
32
0110 0101
followed by
0011 0010
e2
Illegal data
101
followed by
51
65
followed by
33
0110 0101
followed by
0011 0011
e3
Illegal data for
the LOAD
command
101
followed by
52
65
followed by
34
0110 0101
followed by
0011 0100
e4
Illegal data for
the SAVE
command
101
followed by
53
65
followed by
35
0110 0101
followed by
0011 0101
e5
Data mismatch
101
followed by
54
65
followed by
36
0110 0101
followed by
0011 0110
e6
PCU load timeout
101
followed by
55
65
followed by
37
0110 0101
followed by
0011 0111
e7
3.1.
PCU setup commands (address 181)
The camera incorporates a real time Pixel Correction Unit. This command performs reads or
writes of correction coefficients between PC and camera using the serial port. Loading and
saving of correction data to or from the nonvolatile memory of the camera is also supported.
The written set of coefficients will be used for calculations performed by the Pixel Correction
Unit, if the correction unit is enabled.
Function decimal
hexadecimal binary
PCU Setup
Commands
181 B5
1011
0101
The data byte for this command can take following values:
181 = download correction data to camera for use (not saved to nonvolatile memory)
182 = download and save correction data to camera nonvolatile memory (data is not in use)
183 = load correction data from nonvolatile memory to camera for use
184 = upload correction data from nonvolatile memory to PC via RS-232
RS-232 port:
When using the RS-232 port for the first two downloading operations, the issued command is
followed by 9 bytes of data per pixel starting with the first pixel in the line. This equals 24 bits
or three bytes per colour. The topmost 14 bits of each colour makes up the multiplier and the
bottom most 10 bits accordingly define the offset to be subtracted before multiplication.
The ordering of the bytes is shown below:
IrIrIr RRR GbGbGb
© TVI Vision, 18 October 2006 page 36 ( 57 )