ophyd.device.BlueskyInterface.read

BlueskyInterface.read() → ophyd.device.OrderedDictType[str, typing.Dict[str, typing.Any]]

Read data from the device.

This method is expected to be as instantaneous as possible, with any substantial acquisition time taken care of in trigger().

The OrderedDict returned by this method must have identical keys (in the same order) as the OrderedDict returned by describe().

By convention, the first key in the return is the ‘primary’ key and maybe used by heuristics in bluesky.

The values in the ordered dictionary must be dict (-likes) with the keys {'value', 'timestamp'}. The 'value' may have any type, the timestamp must be a float UNIX epoch timestamp in UTC.

Returns:
data : OrderedDict

The keys must be strings and the values must be dict-like with the keys {'value', 'timestamp'}