[aravis] camera: mor simplification in trigger configuration.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] camera: mor simplification in trigger configuration.
- Date: Thu, 17 Feb 2011 16:17:18 +0000 (UTC)
commit 000cd0b59ff1dc2e2285820128d1d6a45046f95c
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Thu Feb 17 17:16:52 2011 +0100
camera: mor simplification in trigger configuration.
src/arvcamera.c | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/src/arvcamera.c b/src/arvcamera.c
index 81b8e20..cbe7236 100644
--- a/src/arvcamera.c
+++ b/src/arvcamera.c
@@ -505,19 +505,8 @@ arv_camera_set_trigger (ArvCamera *camera, const char *source)
g_return_if_fail (ARV_IS_CAMERA (camera));
g_return_if_fail (source != NULL);
- switch (camera->priv->series) {
- case ARV_CAMERA_SERIES_BASLER_SCOUT:
- arv_device_set_integer_feature_value (camera->priv->device, "AcquisitionFrameRateEnable",
- 0);
- arv_device_set_string_feature_value (camera->priv->device, "TriggerSelector",
- "AcquisitionStart");
- arv_device_set_string_feature_value (camera->priv->device, "TriggerMode", "On");
- arv_device_set_string_feature_value (camera->priv->device, "TriggerActivation",
- "RisingEdge");
- arv_device_set_string_feature_value (camera->priv->device, "TriggerSource", source);
- break;
- case ARV_CAMERA_SERIES_BASLER_ACE:
- case ARV_CAMERA_SERIES_BASLER_OTHER:
+ switch (camera->priv->vendor) {
+ case ARV_CAMERA_VENDOR_BASLER:
arv_device_set_integer_feature_value (camera->priv->device, "AcquisitionFrameRateEnable",
0);
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]