eiger: prepare getting file info from scaninfo
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
from ophyd import (
|
||||
ADComponent as ADCpt,
|
||||
Device,
|
||||
@@ -51,6 +53,14 @@ class Eiger500KSetup(CustomDetectorMixin):
|
||||
self.parent.cam.acquire.put(1, wait=False) # arm
|
||||
|
||||
# file writer
|
||||
# TODO: enable this when new storage path is consistent on bec server and consoles.
|
||||
# self.parent.filepath.set(
|
||||
# self.parent.filewriter.compile_full_filename(f"{self.parent.name}")
|
||||
# ).wait()
|
||||
# file_path, file_name = os.path.split(self.parent.filepath.get())
|
||||
# self.parent.hdf.file_path.put(file_path)
|
||||
# self.parent.hdf.file_name.put(file_name)
|
||||
# self.parent.hdf.file_template.put("%s%s")
|
||||
self.parent.hdf.lazy_open.put(1)
|
||||
self.parent.hdf.num_capture.put(num_points)
|
||||
self.parent.hdf.file_write_mode.put(2) # Stream
|
||||
|
||||
Reference in New Issue
Block a user