GEV_STATUS GevOpenCamera

(GEV_CAMERA_INFO *device, GevAccessMode mode,
 GEV_CAMERA_HANDLE *handle);

Description

Creates a camera handle for accessing a camera identified by an input camera information structure
(type GEV_CAMERA_INFO).

Parameters

 

device

Pointer to a GEV_CAMERA_INFO structure,
allocated by the caller, passed in to identify the camera device to open.

 

mode

Required access mode. The available values are:

GevExclusiveMode        : Exclusive R/W access to the camera.
GevMonitorMode          : Shared Read-only access to the camera.
GevControlMode           : Shared R/W access to the camera.

The most commonly used mode, for user imaging applications, is GevExclusiveMode.

 

handle

Pointer to a GEV_CAMERA_HANDLE type
Receives the allocated handle to be used to access the camera.

 

Return Value

GEV_STATUS

Possible values are:

GEVLIB_ERROR_API_NOT_INITIALIZED
GEVLIB_ERROR_INVALID_HANDLE
GEVLIB_ERROR_INSUFFICIENT_MEMORY
GEVLIB_ERROR_NO_CAMERA
GEV_STATUS_ACCESS_DENIED

Related Topics

Member Function Descriptions