GEV_STATUS GevReleaseFrameBuffer(GEV_CAMERA_HANDLE handle, void **frame_buffer_ptr);

Description

Releases a buffer object back to the acquisition process for re-use. The buffer object is identified from the frame buffer pointer passed in to the function. It is mandatory to call this function for a transfer using the SynchronousNextEmpty cycle mode in order to avoid running out of buffers for the acquisition process to fill. It is not necessary to call this function for a transfer using the Asynchronous cycle mode.

Parameters

handle

Handle to the camera

frame_buffer_ptr

Pointer to  the frame buffer data for the image object being released,.

Return Value

GEV_STATUS

Possible values are

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEVLIB_ERROR_PARAMETER_INVALID
GEVLIB_ERROR_ARG_INVALID  

Related Topics

Member Function Descriptions