runPyDM

For conceptual usage, see:

pyrogue.pydm.runPyDM(serverList='localhost:9090', ui=None, display=None, display_factory=None, title=None, sizeX=800, sizeY=1000, maxListExpand=5, maxListSize=100, linkTimeout=10.0, requestStallTimeout=None)[source]

Launch the default Rogue PyDM application.

Parameters:
  • serverList (str, default: 'localhost:9090') – Comma-separated list of host:port Rogue servers.

  • ui (str | None, default: None) – Optional UI file path. Defaults to pydmTop.py in this package if neither display nor display_factory is supplied.

  • display (type[Display] | None, default: None) – Optional top-level pydm.Display subclass to instantiate directly.

  • display_factory (Callable[..., Display] | None, default: None) – Optional factory that returns a pydm.Display instance.

  • title (str | None, default: None) – Optional window title. Defaults to "Rogue Server: <servers>".

  • sizeX (int, default: 800) – Initial window width in pixels.

  • sizeY (int, default: 1000) – Initial window height in pixels.

  • maxListExpand (int, default: 5) – Debug-tree auto-expand depth argument forwarded to the UI.

  • maxListSize (int, default: 100) – Debug-tree list-size cap argument forwarded to the UI.

  • linkTimeout (float, default: 10.0) – Idle timeout in seconds for VirtualClient link-state detection. This is the normal tuning knob for long-running hardware or simulation transactions and defaults to 10 seconds.

  • requestStallTimeout (float | None, default: None) – In-flight request age in seconds before the VirtualClient declares the server stalled. None disables stalled-request detection, which is usually the right default unless the application has a strict upper bound for valid request duration.

Returns:

This function runs the Qt event loop until the application exits.

Return type:

None