GEV_STATUS GevWaitForNextFrame

(GEV_CAMERA_HANDLE handle,
 GEV_BUFFER_OBJECT **frame_object_ptr,
 struct timeval *pTimeout);

Description

Waits for the next frame object to be acquired and returns its pointer. If no frame has been acquired before the timeout period expires, a NULL pointer is returned.

Parameters

handle

Handle to the camera

frame_object_ptr

Pointer to receive the frame object pointer.

timeout

Timeout period (in msec) to wait for the next frame to arrive.

Return Value

GEV_STATUS

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEVLIB_ERROR_TIME_OUT
GEVLIB_ERROR_NULL_PTR

Related Topics

Member Function Descriptions