Skip to content

Commit

Permalink
Add _unique_config to FrameReceiverAdapterController
Browse files Browse the repository at this point in the history
This prevents top-level config PVs being created for these fields, which
should be unique between FrameReceiver proceses.
  • Loading branch information
GDYendell committed Dec 4, 2024
1 parent 3df6b2a commit d446f19
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/fastcs_odin/frame_receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d446f19

Please sign in to comment.