Tamarisk
®
640
Software ICD
44
6
checksum
Frame check sequence.
Response Format:
Table 81 – AGC Manual Gain Set Response Format
Byte
Value
Description
1
0x01
Start of message.
2
0x02
ACK Response
3
0x02
Parameters length.
4, 5
0x0032
AGC Manual Gain Set Command ID
6
checksum
Frame check sequence.
3.3.7 AGC Manual Level Set – 0x33
Description
: Sets level value used by AGC when configured to Manual Mode.
NOTE
This command has no effect if ICE is enabled.
Command Format:
Table 82 – AGC Manual Level Set Command Format
Byte
Value
Description
1
0x01
Start of message.
2
0x33
AGC Manual Level Set Command ID.
3
0x02
Parameters length.
4,5
unsigned integer
0 to 4095
AGC manual level value.
0
= minimum level
4095 (0x0FFF) = maximum level
6
checksum
Frame check sequence.
The minimum and maximum pixel values (X0 and X1) that the AGC will display are
centered around the manual level value. The separation between X0 and X1 is determined
by the manual gain value. X0 and X1 are calculated as follows:
X0 = level + ceil (-(4095 - gain)/2)
X1 = level + ceil ( (4095 - gain)/2) + 1