User`s manual

Piranha HS 4x User’s Manual 33
DALSA Corp. PRELIMINARY 03-32-10040-03
3.11.2 Calibrating Analog Offset and Analog Gain
Values
Instead of manually setting the analog offset to a specific value, you can have the camera
determine the offset value by providing the camera with an average output level to use.
Calibrating Gains
To calibrate the analog gain, use the command:
Syntax:
cag t i
Syntax Elements:
t
Tap value. Use 0 for all taps or 1 to 4 for individual tap
selection.
i
Line average in a range dependent on the current camera
data mode setting. See table below.
Notes: See section 3.10 Returning Video Information for more
information on line averages
This function requires constant light input while executing.
Example:
cag 0 155
Table 8: Data Mode Line Averages
Data Mode Line Average Value Range
8-bit
64 to 251DN
10-bit 256 to 1007DN
Calibrating Analog Offset
To calibrate the analog offset:
Syntax:
cao t i
Syntax Elements:
t
Tap selection. Allowable range is 1 to 4, or 0 for all
taps.
i
The line average in a range from 0 to 1023DN.
Notes:
See section 3.10 Returning Video Information for
more information on line averages
Related Commands:
gla, gl
Example:
cag 1 156