From 24a1d9d020128c936018d93cb9f854ad13be109e Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Thu, 1 Feb 2024 17:37:44 +0000 Subject: [PATCH] WIP: try just waiting 0.5s rather than using an Event --- src/openflexure_microscope_server/things/smart_scan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index e0617ffc..83ce87e9 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -634,7 +634,8 @@ class SmartScanThing(Thing): #} ) capture_thread.start() - acquired.wait() # wait until the image is acquired + #acquired.wait() # wait until the image is acquired + time.sleep(0.5) positions.append(loc[:2]) names.append(name)