fastcs.transports.epics.util#
Members
Maximum length of an EPICS PV name, enforced by both CA and PVA transports. |
|
Derive an EPICS PV prefix from a controller path. |
|
Reject controller ids that wouldn't be safe in an EPICS PV name. |
- fastcs.transports.epics.util.EPICS_MAX_NAME_LENGTH = 60#
Maximum length of an EPICS PV name, enforced by both CA and PVA transports.
- fastcs.transports.epics.util.pv_prefix_from_path(path: list[str]) str[source]#
Derive an EPICS PV prefix from a controller path.
The first segment (the controller id) is used verbatim; later segments are converted snake_case → PascalCase. Joined with ‘:’.
- fastcs.transports.epics.util.validate_epics_pv_id(controller_api: ControllerAPI, *, transport_label: str, id_re: Pattern[str]) None[source]#
Reject controller ids that wouldn’t be safe in an EPICS PV name.
Rejects ids with characters not matched by
id_reand rejects setups where the longest derivable PV prefix already exceeds theEPICS_MAX_NAME_LENGTHPV name limit.transport_labelis the transport-specific tag (e.g."EPICS CA id") that appears in the illegal-characters error message.