Aiming Apis; Camturnaimingon; Camturnaimingoff; Camgetaimingstatus - Metrologic IS4910 Series Programmer's Manual

Metrologic instruments area imaging engine programmer's manual
Table of Contents

Advertisement

C
S
AMERA
UPPORT

Aiming APIs

The camera's aiming system can be turned on or off by calling camTurnAimingOn() or
camTurnAimingOff() respectively. Note, however, that even if the aiming is turned on, the function
camStartVideo() turns the aiming off until the video is stopped.

camTurnAimingOn

This function turns the IS4910 camera's aiming system on.
Prototype:
int camTurnAimingOn (int cam_handle);
Parameters:
cam_handle
- [in] handle to the camera device returned by the camOpen function.
Return Value:
0: Success; -1: Failure

camTurnAimingOff

This function turns the IS4910 camera's aiming system off.
Prototype:
int camTurnAimingOff (int cam_handle);
Parameters:
cam_handle
- [in] handle to the camera device returned by the camOpen function.
Return Value:
0: Success; -1: Failure

camGetAimingStatus

This function returns the current status of IS4910 camera's aiming system.
Prototype:
int camGetAimingStatus (int cam_handle, int *aiming_status);
Parameters:
cam_handle
- [in] handle to the camera device returned by the camOpen function.
aiming_status - [out] 1: on; 0: off.
Return Value:
0: Success; -1: Failure
22
L
C
IBRARY
AM
L
IB

Advertisement

Table of Contents
loading

Table of Contents