Operation and Features
3-16
BASLER A202
k
DRAFT
3.5.2.1 Balancing Gain Settings When Using Binary Commands
The left side gain is set using the Left Side Gain binary command (see Section
) and the
right side gain is set using the Right Side Gain binary command (see Section
). Each gain
setting can be programmed on a decimal scale that ranges from 0 to 569 (0x0000 to 0x0239),
however, values lower than 288 (0x0120) should not be used.
The reference gain values can be read using the Read Reference Values binary command (see
Section
). The sample calculation below shows how to use the reference gain values.
Sample Calculation Using the Reference Gain Values
Assume that you are working with an
A202
k
, that you want to set the gain to 6 dB, and that you
want to keep the left side and the right side of the image in balance.
1. Read the reference values that were stored during the camera’s calibration procedure using
the “Read Reference Values” binary command (see Section
). For our example, we
will assume that the camera returned the following reference gain values:
Byte 1 - Low byte left side reference gain after decimal point
0x00
Byte 2 - High byte left side reference gain after decimal point
0x65
Byte 3 - Low byte left side reference gain before decimal point
0x20
Byte 4 - High byte left side reference gain before decimal point
0x01
Byte 5 - Low byte right side reference gain after decimal point
0x00
Byte 6 - High byte right side reference gain after decimal point
0xD1
Byte 7 - Low byte right side reference gain before decimal point
0x25
Byte 8 - High byte right side reference gain before decimal point
0x01
2. The reference gain values are hexadecimal. Convert them to decimal:
Byte 1 = 0
Byte 2 = 101
Byte 3 = 32
Byte 4 = 1
Byte 5 = 0
Byte 6 = 209
Byte 7 = 37
Byte 8 = 1
3. Use the decimal values of Byte 4 through Byte 1 to determine the reference gain for the left
side (RG
LS
):
RG
LS
(Byte 4 x 256)
Byte 3
Byte 2
256
-----------------
Byte 1
65536
-----------------
+
+
+
=
RG
LS
(1 x 256)
32
101
256
----------
0
65536
------------------
+
+
+
=
RG
LS
288.39
=
Summary of Contents for A202k
Page 4: ......
Page 19: ...Camera Interface BASLER A202k 2 5 DRAFT Figure 2 3 Camera Frame Grabber Interface...
Page 32: ...Operation and Features 3 2 BASLER A202k DRAFT Figure 3 1 A202k Sensor Architecture...
Page 104: ...Mechanical Considerations 5 6 BASLER A202k DRAFT...
Page 116: ...Feedback iv BASLER A202k DRAFT...