From 9f6bc7e033456cd6565078eb7bb56e8ab959cde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Weber?= Date: Mon, 20 Oct 2025 17:24:36 +0200 Subject: [PATCH] set the default number of frames of the ring buffer to 10 because a higher number induce an issue on the tl_camera_arm method when using CS126MU camera ??? --- .../plugins_2D/daq_2Dviewer_Thorlabs_TSI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pymodaq_plugins_thorlabs/daq_viewer_plugins/plugins_2D/daq_2Dviewer_Thorlabs_TSI.py b/src/pymodaq_plugins_thorlabs/daq_viewer_plugins/plugins_2D/daq_2Dviewer_Thorlabs_TSI.py index e9c3534..d8c3614 100644 --- a/src/pymodaq_plugins_thorlabs/daq_viewer_plugins/plugins_2D/daq_2Dviewer_Thorlabs_TSI.py +++ b/src/pymodaq_plugins_thorlabs/daq_viewer_plugins/plugins_2D/daq_2Dviewer_Thorlabs_TSI.py @@ -244,7 +244,7 @@ def grab_data(self, Naverage=1, **kwargs): # Warning, acquisition_in_progress returns 1,0 and not a real bool if not self.controller.acquisition_in_progress(): self.controller.clear_acquisition() - self.controller.start_acquisition() + self.controller.start_acquisition(nframes=10) #Then start the acquisition self.callback_signal.emit() # will trigger the wait for acquisition @@ -351,4 +351,4 @@ def wait_for_acquisition(self): if __name__ == '__main__': - main(__file__, init=False) + main(__file__, init=True)