Skip to content

Commit d439dab

Browse files
committed
Fix alarm status on Command PVs
Add ZNAM, ONAM and initial_value to underlying bool record
1 parent aecb4c3 commit d439dab

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/ioc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ async def wrapped_method(_: Any):
269269
f"{pv_prefix}:{pv_name}",
270270
on_update=wrapped_method,
271271
blocking=True,
272+
initial_value=0,
273+
ZNAM="Idle",
274+
ONAM="Active",
272275
)
273276

274277
_add_attr_pvi_info(record, pv_prefix, attr_name, "x")

0 commit comments

Comments
 (0)