w
This commit is contained in:
@@ -243,11 +243,11 @@ class Pilatus(PSIDeviceBase, ADBase):
|
||||
# TODO should we fetch the image counter value, or rather use our own count
|
||||
# TODO check logic for xas scans!
|
||||
if self.scan_info.msg.scan_type == "step":
|
||||
logger.warning(
|
||||
f"Triggering image {self.cam.array_counter.get()} and num_ images {self.cam.num_images_counter.get()}"
|
||||
)
|
||||
img_counter = self.cam.array_counter.get()
|
||||
start_time = time.time()
|
||||
logger.warning(f"Triggering image with num_captured {self.hdf.num_captured.get()}")
|
||||
img_counter = self.hdf.num_captured.get()
|
||||
status = CompareStatus(self.cam.array_counter, img_counter + 1)
|
||||
logger.warning(f"Triggering took image {time.time() - start_time:.3f} seconds")
|
||||
self.trigger_shot.put(1)
|
||||
return status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user