Skip to content

Commit bced85d

Browse files
authored
Pass bool record *NAM fields for Bool() Attributes (#261)
1 parent 0f785f4 commit bced85d

File tree

1 file changed

+3
-0
lines changed
  • src/fastcs/transport/epics/ca

1 file changed

+3
-0
lines changed

src/fastcs/transport/epics/ca/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def _verify_in_datatype(_, value):
9292
return value in datatype.names
9393

9494
arguments["validate"] = _verify_in_datatype
95+
case Bool():
96+
arguments["ZNAM"] = "False"
97+
arguments["ONAM"] = "True"
9598

9699
return arguments
97100

0 commit comments

Comments
 (0)