From c5ce2edb9f39f3bd6a71875a1f1e7c2f4380e6e6 Mon Sep 17 00:00:00 2001 From: Valentin Valls Date: Mon, 25 May 2020 13:48:53 +0200 Subject: [PATCH] Tango event for video_live --- LimaCCDs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LimaCCDs.py b/LimaCCDs.py index 34bb4f0..873aaa0 100755 --- a/LimaCCDs.py +++ b/LimaCCDs.py @@ -582,7 +582,7 @@ def init_device(self) : "last_counter_ready", "last_image_acquired", "last_image_ready", "last_image_saved", "video_last_image", "video_last_image_counter", - "acq_status"]: + "video_live", "acq_status"]: attr = attr_list.get_attr_by_name(attr_name) attr.set_change_event(True, False) @@ -1556,6 +1556,7 @@ def write_video_live(self,attr) : video.startLive() else: video.stopLive() + self.push_change_event("video_live", video.getLive()) def read_video_exposure(self,attr) : video = self.__control.video()