Basler A202k User Manual Page 46

  • Download
  • Add to my manuals
  • Print
  • Page
    / 118
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 45
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 4.2.4.10) and the
right side gain is set using the Right Side Gain binary command (see Section 4.2.4.12). 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 4.2.5.10). 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 4.2.5.10). 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=
Page view 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 117 118

Comments to this Manuals

No comments