Closed tangkong closed 4 years ago
Requires {P}:HDF5:FileNumber to be incremented, which occurs every time {P}:HDF5:Capture to be switched on and off. This can be done in the main detector trigger method, but does not allow access to these files quite yet.
Need to communicate these files to the datum documents properly.
Easier solution is actually to fully leverage the "stream" mode of the HDF5 File store plugin, and write all frames from one scan into one h5 file. This involves some communication that was un-done by previous efforts.
We require:
HDF5 handler only expects one file, and will pull each frame out and fill tables as needed.
Plans need to update xs_det.total_points
to match with the number of points in a scan before the scan is started, requiring some light wrapper plans.
Describe the bug Running scan
To Reproduce Steps to reproduce the behavior:
Expected behavior files should be written with file numbers appended
Steps Look to compare Dexela behavior, which increments file number correctly during scans.