GEV_STATUS GevGetNextImage

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

Description

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

Parameters

handle

Handle to the camera

image_object_ptr

Pointer to receive the image object pointer.

pTimeout

Pointer to a struct timeval (microsecond precision) for the timeout period to wait for the next frame.

Return Value

GEV_STATUS

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEVLIB_ERROR_TIME_OUT
GEVLIB_ERROR_NULL_PTR

Replacement Function

GevGetNextFrame

Related Topics

Appendix D: Legacy Functions