Metrologic Instruments IS4910 Series Scanner User Manual


 
14
C
AMERA
S
UPPORT
L
IBRARY
C
AM
L
IB
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
gain - [out] the gain value, in dB. Can be in the range from 0 to 24 dB.
Return Value:
0: Success; -1: Failure
camSetAutoGainRange_db
This function sets the minimum and maximum boundaries for the gain value during an execution of the
automatic brightness adjustment, see the function camAdjustBrightness() for more details.
Prototype:
int camSetAutoGainRange_db (int cam_handle, float min_gain, float max_gain);
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
min_gain - [in] the minimum gain value, in dB. Can be in the range from 0 to 24 dB.
max_gain - [in] the maximum gain value, in dB. Can be in the range from 0 to 24 dB.
Return Value:
0: Success; -1: Failure
camGetAutoGainRange_db
This function returns the minimum and maximum boundaries for the gain value during an execution of the
automatic brightness adjustment, see the function camAdjustBrightness() for more details.
Prototype:
int camGetAutoGainRange_db (int cam_handle, float *min_gain, float *max_gain);
Parameters:
cam_handle - [in] handle to the camera device returned by the camOpen function.
min_gain - [out] the minimum gain value, in dB. Can be in the range from 0 to 24 dB.
max_gain - [out] the maximum gain value, in dB. Can be in the range from 0 to 24 dB.
Return Value:
0: Success; -1: Failure
Image Integration Time (Exposure)
The image integration time is the time each row of the image sensor is exposed to light.
If not specified otherwise in the IS4910 device driver initialization file VuQuest2D.ini, the default value of
image integration time is 8000 µs.
In the snapshot mode, the image integration time equals the maximum illumination flash time. In the
video mode, the image integration time is not related to IS4910 illumination.