Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement plugin callbacks #2

Open
MarkRivers opened this issue Jan 10, 2019 · 1 comment
Open

Implement plugin callbacks #2

MarkRivers opened this issue Jan 10, 2019 · 1 comment

Comments

@MarkRivers
Copy link
Member

Need to implement reading back TIFF or RAW files to do plugin callbacks.

TIFF files are just like Pilatus.

RAW files are problematic because they are not written until acquisition is complete, and a single file contains all of the images.

Perhaps we can issue the commands to write TIFF files from buffer while acquisition is in progress?

@MarkRivers
Copy link
Member Author

I asked Mark Tate:

One possibility for us to optionally get some or all of the images into areaDetector would be to collect data in "filestore 1 5" mode, but then periodically write some frames from the buffer to TIFF files while acquisition is still in progress.
Can the commands like storebuffers /path/filename tif_range low high or storebuffers /path/filename tif_single frame_number be issued while acquisition is in progress, or can they only be issued when acquisition is complete?

He replied:

It's very possible it could work.
You might also try the storebuffers command with the tif_last identifier. That will write the last image acquired (I've only used it to save a buffer after everything has stopped). The index is incremented as image frames are processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant