You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #276, we fixed the bug that the panda intialises an analogOut with precision 0 as an int. The signal is made (correctly) with an int, however make_converter fails
We've decided these kind of checks shouldn't be handled in ophyd-async - pandablocks-ioc should be using an int for the record if ophyd-async expects an int datatype.
evalott100
changed the title
Make p4p backend allow using int datatypes for float PVs only if PREC is 0
Drop changes from #276
May 7, 2024
In #276, we fixed the bug that the panda intialises an analogOut with precision 0 as an int. The signal is made (correctly) with an
int
, howevermake_converter
failsophyd-async/src/ophyd_async/epics/_backend/_p4p.py
Lines 219 to 220 in 58e1cf4
since
float
is not a subclass ofint
.The fix in in #276 allows the signal to be made anyway. We should add the constraint that
.PREC == 0
.The text was updated successfully, but these errors were encountered: