GEV_STATUS GevRegisterReadInt

(GEV_CAMERA_HANDLE handle, GEV_REGISTER *pReg,
 int selector, UINT32 *value);

Description

Reads an integer value from a register (an integer register access function)

Parameters

handle

GEV_CAMERA_HANDLE identifying the camera.

*pReg

Pointer to the GEV_REGISTER structure for the register to be accessed.

selector

Index into a group of registers providing the same functionality. These register groups need to be set up properly in the GEV_REGISTER structure.

This is generally 0 as the ‘array’ based functions can be used to access multiple contiguous locations.

value

Pointer to a location to receive the integer value from the camera.

Return Value

GEV_STATUS

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEVLIB_ERROR_PARAMETER_INVALID (GEV_REGISTER struct is not for an Integer register)
GEVLIB_ERROR_ARG_INVALID   (GEV_REGISTER definition is invalid)
GEVLIB_ERROR_RESOURCE_NOT_ENABLED  (GEV_REGISTER struct is for a register that is not available)
GEVLIB_ERROR_NOT_IMPLEMENTED (GEV_REGISTER struct is for a Read-Only register)
GEVLIB_ERROR_SOFTWARE (GEV_REGISTER struct defines an unsupported register type)

Related Topics

Member Function Descriptions