Method

AravisCameraset_trigger

Declaration [src]

void
arv_camera_set_trigger (
  ArvCamera* camera,
  const char* source,
  GError** error
)

Description [src]

Configures the camera in trigger mode. Typical values for source are “Line1” or “Line2”. See the camera documentation for the allowed values. Source can also be “Software”. In this case, an acquisition is triggered by a call to arv_camera_software_trigger().

The trigger set is “FrameStart”. “AcquisitionStart” is used as a fallback if “FrameStart” is not present. All other triggers are disabled. “TriggerActivation” is set to rising edge.

For an advanced trigger configuration, use the underlying ArvDevice object returned by arv_camera_get_device().

Available since:0.8.0

Parameters

source const char*
 

Trigger source as string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.