We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17dd1bd commit c9bdf2fCopy full SHA for c9bdf2f
pylabrobot/plate_reading/biotek_backend.py
@@ -1191,10 +1191,8 @@ async def _acquire_image(
1191
raise RuntimeError(f"Failed to execute software trigger after {num_trigger_tries} attempts")
1192
1193
try:
1194
- t0 = time.time()
1195
- image_result = self.cam.GetNextImage(1000)
1196
- t1 = time.time()
1197
- logger.debug("[cytation5] GetNextImage took %.2f seconds", t1 - t0)
+ timeout = int(self.cam.ExposureTime.GetValue() / 1000 + 1000) # from example
+ image_result = self.cam.GetNextImage(timeout)
1198
if not image_result.IsIncomplete():
1199
t0 = time.time()
1200
processor = PySpin.ImageProcessor()
0 commit comments