From 87499e9191970b3dc0ea4d7d270930976c852cf2 Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Thu, 21 Aug 2025 16:18:17 +0000 Subject: [PATCH] Pass bool record *NAM fields for Bool() Attributes --- src/fastcs/transport/epics/ca/util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fastcs/transport/epics/ca/util.py b/src/fastcs/transport/epics/ca/util.py index 66af0cd2a..312252ee3 100644 --- a/src/fastcs/transport/epics/ca/util.py +++ b/src/fastcs/transport/epics/ca/util.py @@ -92,6 +92,9 @@ def _verify_in_datatype(_, value): return value in datatype.names arguments["validate"] = _verify_in_datatype + case Bool(): + arguments["ZNAM"] = "False" + arguments["ONAM"] = "True" return arguments