CameraGain Property
Applies To
Vision Sequence
Description
Specifies the gain settings for the camera used in the current sequence. The gain determines the dynamic
range of the digital values that will be assigned to the video signal in the A/D converter on the camera.
(Also known as Contrast.)
Usage
VGet Sequence.CameraGain, var
VSet Sequence.CameraGain, value
Sequence Name of a sequence or string variable containing a sequence name.
var Integer variable that will contain the value of the property.
value Integer expression for the new value of the property.
Values
Integer value from 0 - 255
Default: 80
Remarks
Adjust the value of the CameraGain property when you want to change the contrast of an acquisition. The
CameraGain property can have values in the range of 0-255, with lower values representing higher gain in
the analog section.
The CameraGain property is normally left at a value of 80. Setting too high or low CameraGain property
value may cause improper vision processing.
See Also
Camera Property, CameraOffset Property, Sequence Tab, Vision Sequences
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 19