From 599f97b74d4a70003da3b411f4211cf1183e2d6a Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Fri, 15 Nov 2024 16:01:56 +0000 Subject: [PATCH] Fix wrong function call name for str waveform that causes issue when setting a shorter value --- src/ophyd_async/epics/core/_aioca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ophyd_async/epics/core/_aioca.py b/src/ophyd_async/epics/core/_aioca.py index a11821be3..d8e753713 100644 --- a/src/ophyd_async/epics/core/_aioca.py +++ b/src/ophyd_async/epics/core/_aioca.py @@ -115,7 +115,7 @@ class CaLongStrConverter(CaConverter[str]): def __init__(self): super().__init__(str, dbr.DBR_CHAR_STR, dbr.DBR_CHAR_STR) - def write_value_and_dbr(self, value: Any) -> Any: + def write_value(self, value: Any) -> Any: # Add a null in here as this is what the commandline caput does # TODO: this should be in the server so check if it can be pushed to asyn return value + "\0"