Skip to content

Commit 9f6bc7e

Browse files
committed
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 ???
1 parent 58532e8 commit 9f6bc7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pymodaq_plugins_thorlabs/daq_viewer_plugins/plugins_2D/daq_2Dviewer_Thorlabs_TSI.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def grab_data(self, Naverage=1, **kwargs):
244244
# Warning, acquisition_in_progress returns 1,0 and not a real bool
245245
if not self.controller.acquisition_in_progress():
246246
self.controller.clear_acquisition()
247-
self.controller.start_acquisition()
247+
self.controller.start_acquisition(nframes=10)
248248
#Then start the acquisition
249249
self.callback_signal.emit() # will trigger the wait for acquisition
250250

@@ -351,4 +351,4 @@ def wait_for_acquisition(self):
351351

352352

353353
if __name__ == '__main__':
354-
main(__file__, init=False)
354+
main(__file__, init=True)

0 commit comments

Comments
 (0)