28 Spyder2 User’s Manual
03-032-10091-06 Teledyne DALSA
3.13 Setting Gains
Optimizing gain in the analog domain allows you to achieve a better signal-to-noise ratio
(dynamic range) than you would achieve by trying to optimize the gain in the digital
domain.
To set the analog gain mode, use the command:
Sy n t ax :
sg t f
Sy ntax Elements:
t
Tap selection. Allowable values are 1 for one tap or 0 for all
taps. Si nce the Sp y d er 2 is a one tap camera, the val ues 1 or 0
ar e i nter changeable.
f
Gain setting. A gain value of 0 sets the camera to its nomi nal
gai n (0dB). The all ow abl e gai n value range is from –10 to
Example:
sg 0 5.2
To set the digital gain, following a background subtraction, use the command:
Sy n t ax :
ssg t i
Sy ntax Elements:
t
Tap selection. Allowable values are 1 for one tap or 0 for all
taps. Si nce the Sp y d er 2 is a one tap camera, the val ues 1 or 0
ar e i nter changeable.
i
Gain setting. The gain ranges are
to
(equal to a gain
fr om 1 to 1.999). Use this command in conjunction with the
command.
Rel ated Commands:
ssb
Example:
ssg 1 15
Calibrating Gains
Instead of setting the analog gain to a specific value, you can have the camera determine
the gain v al ue by providing the camera w ith an average output level to use.
Note: This function requires a constant light input while it executes. This feature is
beneficial for achieving a common output level for multiple cameras in a system.
To calibrate the analog gain:
Sy n t ax :
cag t i
Sy n t ax Elements:
t
Tap selection. Allowable values are 1 for one tap or 0 for all
taps. Si nce the Sp y d er 2 is a one tap camera, the val ues 1 or 0