User`s manual

4M30 Camera Users Manual 24
DALSA 03-32-10030-03
Reading Channel 3 Gain from the Camera
To read the gain setting from the camera, use these commands:
Read
MSB
Read LSB
Binary 0110 0110 0110 0101
Hex 66h 65h
3.10 Adjusting User Offset
User offset is adjustable from minus full scale to plus full scale (±4095) by a 16 bit value as
an MS and LS byte (only the 14 most significant bits of this value are actually used). There
are 4 ADC video boards in the 4M30 and each can be controlled independently.
Normally, the same value will be written to all four channels. The value is calculated
according to the following equation:
Value # 218 u Offset/Gain
Where Offset is in counts and 4095
d Offset d 4095
And 1
d Gain d 10 and is defined as above.
This means that the offset is dependent on the gain and can be adjusted with a resolution
of 0.5 x Gain (in DN counts).
Example: Set Channel 2 to 20 DN Offset @ 2.5x Gain
Use these command/value pairs set the camera to an offset of 20 DN at a gain of 2.5 (you
must write both MSB and LSB values).
Value # 218 u 20/2.5
Value = 1744
= 06D0h
Write MSB Write LSB
Command Value Command Value
Binary 0001 0011 0000 0110 0001 0010 1101 0000
Hex 13h 06h 12h D0h