Standardise message for device_async_readback & device_monitor endpoints; data access from DeviceMessage
Feature Summary
Both endpoints device_async_readback
and device_monitor
should return a DeviceMessage to possibly standardise data access in future.
Problem Description
Apart from motors
or monitors
, detectors would typically have readback that can be of any shape. Both endpoints, device_async_readback
and device_monitor
are designed to receive data from devices (0D, 1D and 2D) for each scan_segment. To be able to standardise data access for usage in DAP and plotting tools, both should host the same Message Type.
Proposed Solution
Standardise message type for both endpoints
Additional Comments
Besides the named changes above, it will be crucial to also standardise access to data within DeviceMessages. This should be discussed and addressed, e.g. messages to the device_monitor
endpoint need to host the same metadata in DeviceMessages
that allows to reconstruct the data for visualisation or data analysis tools.