summaryrefslogtreecommitdiffstats
path: root/plugins/pylon/uca-pylon-camera.c
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2015-05-18 16:54:06 +0200
committerMihael Koep <koep@schneide.com>2015-05-18 17:26:53 +0200
commit4f15fc39f9abbe9532a047112d8995e38481cf88 (patch)
tree7146a036d361487651ced25d1158dbca31976991 /plugins/pylon/uca-pylon-camera.c
parenta26120e69e26186454becc7658859224a4a3de2c (diff)
downloaduca-4f15fc39f9abbe9532a047112d8995e38481cf88.tar.gz
uca-4f15fc39f9abbe9532a047112d8995e38481cf88.tar.bz2
uca-4f15fc39f9abbe9532a047112d8995e38481cf88.tar.xz
uca-4f15fc39f9abbe9532a047112d8995e38481cf88.zip
Update pylon and dexela plugins to the new trigger API
Diffstat (limited to 'plugins/pylon/uca-pylon-camera.c')
-rw-r--r--plugins/pylon/uca-pylon-camera.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/pylon/uca-pylon-camera.c b/plugins/pylon/uca-pylon-camera.c
index af6b8cf..0265ade 100644
--- a/plugins/pylon/uca-pylon-camera.c
+++ b/plugins/pylon/uca-pylon-camera.c
@@ -68,7 +68,7 @@ static gint base_overrideables[] = {
PROP_SENSOR_HORIZONTAL_BINNINGS,
PROP_SENSOR_VERTICAL_BINNING,
PROP_SENSOR_VERTICAL_BINNINGS,
- PROP_TRIGGER_MODE,
+ PROP_TRIGGER_SOURCE,
PROP_EXPOSURE_TIME,
PROP_ROI_X,
PROP_ROI_Y,
@@ -149,7 +149,8 @@ static void uca_pylon_camera_set_property(GObject *object, guint property_id, co
/* intentional fall-through*/
case PROP_SENSOR_VERTICAL_BINNING:
/* intentional fall-through*/
- case PROP_TRIGGER_MODE:
+ case PROP_TRIGGER_SOURCE:
+ /* this plugin supports AUTO triggering only ATM */
break;
case PROP_BALANCE_WHITE_AUTO:
{
@@ -262,8 +263,8 @@ static void uca_pylon_camera_get_property(GObject *object, guint property_id, GV
g_value_set_boxed(value, priv->binnings);
break;
- case PROP_TRIGGER_MODE:
- g_value_set_enum(value, UCA_CAMERA_TRIGGER_AUTO);
+ case PROP_TRIGGER_SOURCE:
+ g_value_set_enum(value, UCA_CAMERA_TRIGGER_SOURCE_AUTO);
break;
case PROP_HAS_STREAMING: