diff --git a/docs/2._Services_Portfolio/Initiatives/01_epicspva.md b/docs/2._Services_Portfolio/Initiatives/01_epicspva.md index 26c1745e..3ea99119 100644 --- a/docs/2._Services_Portfolio/Initiatives/01_epicspva.md +++ b/docs/2._Services_Portfolio/Initiatives/01_epicspva.md @@ -1,7 +1,74 @@ --- -title: EPICS pvAccess +title: EPICS PVXS tags: - SLS + - PROSCAN + - SwissFEL + - HIPA --- -# EPICS pvAccess (PVA) +# EPICS PVXS + +!!! info "Initiative at a Glance" + Our section will gradually transition EPICS control system communication from the legacy **Channel Access (CA)** protocol to **PVXS** (the modern EPICS 7 implementation of the pvAccess protocol). The rollout will be incremental and fully backward-compatible, ensuring zero disruption to ongoing operations. Currently, we are still in the discussion and planning phase, and we will communicate any relevant information in due course. + +## What We Are Doing + +EPICS relies on a network protocol to exchange live measurements, settings, and status information between hardware controllers (IOCs) and user applications (operator screens, archivers, and analysis tools). + +For decades, **Channel Access (CA)** has served as the foundation of this communication. As facility requirements have grown—such as high-rate diagnostics, detector images, and complex multi-parameter readings—CA has reached its design limits. + +Through this initiative, we are adopting **PVXS**, the actively maintained EPICS 7 library. Rather than replacing everything at once, we will be enabling PVXS alongside CA so new systems can benefit from modern capabilities while existing tools continue operating normally. After a mutually aligned transition period, the CA protocol will be removed completely. + +## Key Benefits + +
+ +- :material-package-variant-closed: **Richer, Consistent Data** + + --- + + Instead of splitting related measurements across separate channels, PVXS transmits structured data (tables, images, and grouped parameters) in a single, time-synchronized update. + +- :material-speedometer: **Higher Performance & Scalability** + + --- + + Built for high-throughput workloads, PVXS handles large arrays, detector streams, and high-frequency updates more efficiently with lower network overhead. + +- :material-shield-check-outline: **Ready for Modern Security** + + --- + + Unlike legacy CA, PVXS is designed to support modern network security standards, including authenticated and encrypted communication as facility requirements evolve. + +- :material-update: **Future-Proof & Community-Backed** + + --- + + PVXS is the strategic direction of the EPICS 7 community, ensuring long-term maintainability, active support, and compatibility with modern control system tools. + +
+ +## Channel Access vs. PVXS at a Glance + +![Comparison between EPICS Channel Access and PVXS](resources/ca-vs-pvxs.svg) + +| Aspect | Channel Access (CA) | PVXS | +| :--- | :--- | :--- | +| **Data Model** | Single scalar values or basic 1D arrays | Rich structured data (tables, images, grouped fields) | +| **Data Consistency** | Related values arrive separately | Related values arrive together with one timestamp | +| **Performance** | Suited for classic control signals | Optimized for large datasets and high data rates | +| **Security** | Legacy access controls only | Built for modern authentication and encryption | +| **Lifecycle** | Mature, maintenance-only | Actively developed EPICS 7 standard | + +## Rollout Approach + +To protect daily operations, the transition will follow a phased, low-risk path: + +1. **Coexistence (Current Phase)** — Upgraded EPICS 7 IOCs running on selected architectures can serve **both** CA and PVXS simultaneously (not supported on VME and Moxa systems - both being phased out). Existing displays, scripts, and archiving configurations continue working without changes. +2. **Gradual Adoption** — Adaptation of all client tools to be PVXS-compliant and gradual introduction of PVXS-specific features. +3. **Long-Term Consolidation** — Legacy CA dependencies are phased out naturally during planned upgrades, reducing long-term maintenance overhead. + +!!! tip "Impact on Users & Teams" + **No immediate action is required.** Existing operator interfaces and workflows will continue to function as usual. diff --git a/docs/2._Services_Portfolio/Initiatives/resources/ca-vs-pvxs.svg b/docs/2._Services_Portfolio/Initiatives/resources/ca-vs-pvxs.svg new file mode 100644 index 00000000..d2af88bf --- /dev/null +++ b/docs/2._Services_Portfolio/Initiatives/resources/ca-vs-pvxs.svg @@ -0,0 +1,115 @@ + + EPICS Channel Access (CA) vs. PVXS Comparison + Visual comparison showing Channel Access transmitting separate flat values versus PVXS transmitting unified structured data with higher performance and modern security. + + + + + + + + + + + + + + + + + From Channel Access (CA) to PVXS + Modernizing how control system data is packaged, transported, and secured + + + + + LEGACY PROTOCOL + Channel Access (CA) + + + + Value (Scalar) + + + Status / Units + + + Array Slice + + + + + + Separate PVs + + + + Client / App + Must combine data + manually + + + • Simple, flat data types only + • Limited throughput for large datasets + • Maintenance-only; no modern encryption + + + + + + + + + MODERN STANDARD + PVXS + + + + Structured Data + + Values + Metadata + + Tables / Images + + Single Timestamp + + + + Atomic + Fast + + + + Client / App + Receives complete, + consistent state + + + • Rich, structured data in one coherent update + • High performance for detectors & diagnostics + • Active EPICS 7 support & security-ready + + + + ✓ Smooth Transition: Both protocols run side-by-side during migration — existing tools continue working without disruption. +