Illumination, Camsetillumcontrol, Camgetillumcontrol – Metrologic Instruments IS4910 Series User Manual

Page 23: Camsetminflashtime, Camsetminflashtimer, Amera, Upport, Ibrary

Advertising
background image

17

C

AMERA

S

UPPORT

L

IBRARY

C

AM

L

IB

Parameters:

cam_handle

- [in] handle to the camera device returned by the camOpen function.

reverse_left_right - [out] 0 if normal readout from left to right, or 1 if inverted.
reverse_top_bottom - [out] 0 if normal readout from top to bottom, or 1 if inverted.

Return Value:

0: Success; -1: Failure

Illumination

The IS4910 camera has an integrated illumination system. In the snapshot mode of operation, the
minimum and maximum illumination flash time can be specified. Note that the maximum illumination flash
time in the snapshot mode always equals the image integration (exposure) time, see function
camSetIntegrationDuration() for details.

Illumination can be enabled or disabled. By default, if not specified otherwise in the IS4910 device driver
initialization file VuQuest2D.ini, illumination is enabled and the minimum illumination flash time (for
snapshot operations) is set to 0.

To enable or disable illumination while the camera is running in the video mode, the camera must be
stopped.

camSetIllumControl

This function sets the illumination control property.

Prototype:

int camSetIllumControl(int cam_handle, unsigned long flags);

Parameters:

cam_handle - [in] handle to the camera device returned by the camOpen function.
flags

- [in] 1: enable illumination; 0: disable illumination.

Return Value:

0: Success; -1: Failure

camGetIllumControl

This function returns the illumination control property.

Prototype:

int camGetIllumControl(int cam_handle, unsigned long *flags);

Parameters:

cam_handle - [in] handle to the camera device returned by the camOpen function.
flags

- [out] 1: illumination enabled; 0: illumination disabled.

Return Value:

0: Success; -1: Failure

camSetMinFlashTime

This function sets the minimum illumination flash time for the snapshot mode of camera operation.

Advertising