GEV_STATUS GevRegisterReadArray

(GEV_CAMERA_HANDLE handle, GEV_REGISTER *pReg,
 int selector, UINT32 array_offset,
 UINT32 num_entries, void *data);

Description

Reads an array of 32-bit values from a memory area on the camera.

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 for arrays

array_offset

Start offset into the array.

num_entries

Number of entries to be read from the array, starting at the start offset.

*data

Pointer to a location allocated by the caller, to receive the data read from the array.

Return Value

GEV_STATUS

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
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 Write-Only register)
GEVLIB_ERROR_SOFTWARE (GEV_REGISTER struct does not define an array

Related Topics

Member Function Descriptions