bluesky / ophyd-async

Hardware abstraction for bluesky written using asyncio
https://blueskyproject.io/ophyd-async
BSD 3-Clause "New" or "Revised" License
7 stars 21 forks source link

Convert signal readings and `get_values` to pure python types #360

Open DominicOram opened 3 weeks ago

DominicOram commented 3 weeks ago

When you call get_reading or get_value on a signal it returns an aioca channel access type rather than the pure python type e.g. ca_int rather than int. This has caused issues downstream e.g. https://github.com/DiamondLightSource/hyperion/issues/1417#issuecomment-2144684981. We should do the conversion every time the signal is read or the value is taken from it.

coretl commented 1 week ago

Is this fixed?