We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7591e8f commit d6bfed5Copy full SHA for d6bfed5
src/fastcs/transport/epics/ca/ioc.py
@@ -113,9 +113,14 @@ def _add_sub_controller_pvi_info(pv_prefix: str, parent: ControllerAPI):
113
114
for child in parent.sub_apis.values():
115
child_pvi = f"{controller_pv_prefix(pv_prefix, child)}:PVI"
116
- child_name = str(child.path[-1]).lower()
+ child_name = (
117
+ f"{child.path[-2]}{child.path[-1]}" # Parent name + child idx
118
+ if isinstance(child.path[-1], int)
119
+ else str(child.path[-1]) # Child name
120
+ )
121
+
122
+ _add_pvi_info(child_pvi, parent_pvi, child_name.lower())
123
- _add_pvi_info(child_pvi, parent_pvi, child_name)
124
_add_sub_controller_pvi_info(pv_prefix, child)
125
126
0 commit comments