From f0991ea2588e364ce1665a5e9ef73df1900710a2 Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Wed, 4 Dec 2024 18:10:06 +0000 Subject: [PATCH] Add _unique_config to FrameReceiverAdapterController This prevents top-level config PVs being created for these fields, which should be unique between FrameReceiver proceses. --- src/fastcs_odin/frame_receiver.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/fastcs_odin/frame_receiver.py b/src/fastcs_odin/frame_receiver.py index e51e23c..621f528 100644 --- a/src/fastcs_odin/frame_receiver.py +++ b/src/fastcs_odin/frame_receiver.py @@ -26,6 +26,18 @@ def __decoder_parameter(parameter: OdinParameter): class FrameReceiverAdapterController(OdinDataAdapterController): _subcontroller_label = "FR" _subcontroller_cls = FrameReceiverController + _unique_config = [ + "rank", + "number", + "ctrl_endpoint", + "fr_ready_cnxn", + "fr_release_cnxn", + "frame_ready_endpoint", + "frame_release_endpoint", + "shared_buffer_name", + "rx_address", + "rx_ports", + ] class FrameReceiverDecoderController(OdinAdapterController):