GEV_STATUS GevOpenCameraByAddress

(unsigned long ip_address,GevAccessMode mode,
 GEV_CAMERA_HANDLE *handle);

Description

Creates a camera handle for accessing a camera identified by a camera’s IP address.

Parameters

 

ip_address

32-bit IP address for a camera, as a number.

For example, 192.168.1.10 is 0xC0A8010A.

 

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
to receive 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