Method

AravisCameraacquisition

Declaration [src]

ArvBuffer*
arv_camera_acquisition (
  ArvCamera* camera,
  guint64 timeout,
  GError** error
)

Description [src]

Acquire one image buffer.

arv_camera_acquisition() sets the camera in SingleFrame acquisition mode. You may have to put back the camera in Continuous acquisition mode for later operations, using arv_camera_set_acquisition_mode().

Available since:0.8.0

Parameters

timeout guint64
 

Acquisition timeout in µs. Zero means no timeout.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: ArvBuffer
 

A new ArvBuffer, NULL on error. The returned buffer must be freed using g_object_unref().

 The caller of the method takes ownership of the data, and is responsible for freeing it.