odin-detector / odin-data

DAQ software libraries for capturing and storing data from parallel detector systems
https://odin-detector.github.io/odin-data/
Apache License 2.0
8 stars 11 forks source link

Add support for warning messages in status reporting for timed out h5 calls #322

Closed GDYendell closed 11 months ago

GDYendell commented 1 year ago

Currently h5 call timeouts are reported as an error, but this is premature as the acquisition may still complete successfully without any lost data.

This adds an equivalent array of messages representing warnings to the status of FrameProcessorPlugin that can be populated with a new set_warning call and updates the FileWriterPlugin to use set_warning for timed out h5 calls instead of set_error.