EpicsPvServer

class pyrogue.protocols.epicsV4.EpicsPvServer(*, base, root, incGroups=None, excGroups=None, pvMap=None)[source]

EPICS PV server that exposes PyRogue variables as EPICS process variables.

Uses P4P to serve variables from a PyRogue tree over the EPICS protocol.

Parameters:
  • base (str) – Base string prepended to PV names.

  • root (Root) – PyRogue root node containing variables to expose.

  • incGroups (str | list[str] | None, default: None) – Include only variables in these groups.

  • excGroups (str | list[str] | None, default: None) – Exclude variables in these groups.

  • pvMap (dict[str, str] | None, default: None) – Explicit path-to-PV-name mapping.

list()[source]

Get the PyRogue path to EPICS PV name mapping.

Returns:

Mapping of variable paths to EPICS PV names.

Return type:

dict[str, str]

dump(fname=None)[source]

Print or write the PV mapping to file.

Parameters:

fname (str | None, default: None) – If provided, write mapping to this file; otherwise print to stdout.

Return type:

None