Merge remote-tracking branch 'upstream/master' into documentathon-2026-pm
This commit is contained in:
commit
5521bfa89e
2 files changed
+163
-2
No files matched your search
@@ -1,7 +1,53 @@
|
||||
---
|
||||
title: EPICS pvAccess
|
||||
title: EPICS PVXS
|
||||
tags:
|
||||
- SLS
|
||||
- PROSCAN
|
||||
- SwissFEL
|
||||
- HIPA
|
||||
---
|
||||
|
||||
# EPICS pvAccess (PVA)
|
||||
# EPICS PVXS
|
||||
|
||||
> **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
|
||||
|
||||
- **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.
|
||||
- **Higher Performance & Scalability** — Built for high-throughput workloads, PVXS handles large arrays, detector streams, and high-frequency updates more efficiently with lower network overhead.
|
||||
- **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.
|
||||
- **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
|
||||
|
||||

|
||||
|
||||
| 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.
|
||||
|
||||
> **Impact on Users & Teams**
|
||||
>
|
||||
> **No immediate action is required.** Existing operator interfaces and workflows will continue to function as usual.
|
||||
@@ -0,0 +1,115 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 420" width="880" height="420" role="img" aria-labelledby="diagram-title diagram-desc">
|
||||
<title id="diagram-title">EPICS Channel Access (CA) vs. PVXS Comparison</title>
|
||||
<desc id="diagram-desc">Visual comparison showing Channel Access transmitting separate flat values versus PVXS transmitting unified structured data with higher performance and modern security.</desc>
|
||||
|
||||
<defs>
|
||||
<style>
|
||||
.bg { fill: #f8fafc; }
|
||||
.title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; fill: #0f172a; }
|
||||
.subtitle { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 13px; fill: #475569; }
|
||||
.card-ca { fill: #ffffff; stroke: #cbd5e1; stroke-width: 1.5; }
|
||||
.card-pvxs { fill: #ffffff; stroke: #3b82f6; stroke-width: 2; }
|
||||
.badge-ca { fill: #e2e8f0; }
|
||||
.badge-ca-text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 700; fill: #475569; letter-spacing: 0.5px; }
|
||||
.badge-pvxs { fill: #dbeafe; }
|
||||
.badge-pvxs-text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 700; fill: #1d4ed8; letter-spacing: 0.5px; }
|
||||
.heading { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 700; fill: #0f172a; }
|
||||
.box-ca { fill: #f1f5f9; stroke: #94a3b8; stroke-width: 1.2; }
|
||||
.box-pvxs { fill: #eff6ff; stroke: #60a5fa; stroke-width: 1.5; }
|
||||
.inner-pill { fill: #ffffff; stroke: #93c5fd; stroke-width: 1; }
|
||||
.label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 600; fill: #1e293b; }
|
||||
.small-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; fill: #475569; }
|
||||
.bullet-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 12.5px; font-weight: 600; fill: #1e293b; }
|
||||
.bullet-sub { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11.5px; fill: #64748b; }
|
||||
.footer-box { fill: #f0fdf4; stroke: #86efac; stroke-width: 1.2; }
|
||||
.footer-text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 12.5px; font-weight: 600; fill: #166534; }
|
||||
</style>
|
||||
|
||||
<marker id="arrow-gray" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
|
||||
<path d="M 0 1 L 10 5 L 0 9 z" fill="#94a3b8"/>
|
||||
</marker>
|
||||
<marker id="arrow-blue" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 1 L 10 5 L 0 9 z" fill="#2563eb"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- Background -->
|
||||
<rect x="0" y="0" width="880" height="420" rx="14" class="bg"/>
|
||||
|
||||
<!-- Header -->
|
||||
<text x="440" y="36" text-anchor="middle" class="title">From Channel Access (CA) to PVXS</text>
|
||||
<text x="440" y="56" text-anchor="middle" class="subtitle">Modernizing how control system data is packaged, transported, and secured</text>
|
||||
|
||||
<!-- LEFT CARD: Channel Access (CA) -->
|
||||
<rect x="28" y="76" width="388" height="270" rx="10" class="card-ca"/>
|
||||
<rect x="48" y="94" width="112" height="22" rx="11" class="badge-ca"/>
|
||||
<text x="104" y="109" text-anchor="middle" class="badge-ca-text">LEGACY PROTOCOL</text>
|
||||
<text x="48" y="140" class="heading">Channel Access (CA)</text>
|
||||
|
||||
<!-- CA Diagram: Multiple separate streams -->
|
||||
<rect x="48" y="158" width="108" height="28" rx="6" class="box-ca"/>
|
||||
<text x="102" y="176" text-anchor="middle" class="label">Value (Scalar)</text>
|
||||
|
||||
<rect x="48" y="194" width="108" height="28" rx="6" class="box-ca"/>
|
||||
<text x="102" y="212" text-anchor="middle" class="label">Status / Units</text>
|
||||
|
||||
<rect x="48" y="230" width="108" height="28" rx="6" class="box-ca"/>
|
||||
<text x="102" y="248" text-anchor="middle" class="label">Array Slice</text>
|
||||
|
||||
<!-- Arrows -->
|
||||
<line x1="162" y1="172" x2="248" y2="172" stroke="#94a3b8" stroke-width="2" stroke-dasharray="4,3" marker-end="url(#arrow-gray)"/>
|
||||
<line x1="162" y1="208" x2="248" y2="208" stroke="#94a3b8" stroke-width="2" stroke-dasharray="4,3" marker-end="url(#arrow-gray)"/>
|
||||
<line x1="162" y1="244" x2="248" y2="244" stroke="#94a3b8" stroke-width="2" stroke-dasharray="4,3" marker-end="url(#arrow-gray)"/>
|
||||
<text x="205" y="164" text-anchor="middle" class="small-label">Separate PVs</text>
|
||||
|
||||
<!-- Client box CA -->
|
||||
<rect x="256" y="166" width="140" height="84" rx="8" class="box-ca"/>
|
||||
<text x="326" y="198" text-anchor="middle" class="label">Client / App</text>
|
||||
<text x="326" y="216" text-anchor="middle" class="small-label">Must combine data</text>
|
||||
<text x="326" y="232" text-anchor="middle" class="small-label">manually</text>
|
||||
|
||||
<!-- CA Key Points -->
|
||||
<text x="48" y="286" class="bullet-title">• Simple, flat data types only</text>
|
||||
<text x="48" y="308" class="bullet-title">• Limited throughput for large datasets</text>
|
||||
<text x="48" y="330" class="bullet-title">• Maintenance-only; no modern encryption</text>
|
||||
|
||||
<!-- CENTER TRANSITION ARROW -->
|
||||
<circle cx="440" cy="211" r="18" fill="#2563eb"/>
|
||||
<path d="M 433 211 L 446 211 M 441 205 L 447 211 L 441 217" stroke="#ffffff" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
|
||||
<!-- RIGHT CARD: PVXS -->
|
||||
<rect x="464" y="76" width="388" height="270" rx="10" class="card-pvxs"/>
|
||||
<rect x="484" y="94" width="118" height="22" rx="11" class="badge-pvxs"/>
|
||||
<text x="543" y="109" text-anchor="middle" class="badge-pvxs-text">MODERN STANDARD</text>
|
||||
<text x="484" y="140" class="heading">PVXS</text>
|
||||
|
||||
<!-- PVXS Diagram: Unified Structured Package -->
|
||||
<rect x="484" y="158" width="146" height="100" rx="8" class="box-pvxs"/>
|
||||
<text x="557" y="176" text-anchor="middle" class="label" fill="#1d4ed8">Structured Data</text>
|
||||
<rect x="494" y="185" width="126" height="20" rx="4" class="inner-pill"/>
|
||||
<text x="557" y="199" text-anchor="middle" class="small-label">Values + Metadata</text>
|
||||
<rect x="494" y="210" width="126" height="20" rx="4" class="inner-pill"/>
|
||||
<text x="557" y="224" text-anchor="middle" class="small-label">Tables / Images</text>
|
||||
<rect x="494" y="235" width="126" height="16" rx="4" class="inner-pill"/>
|
||||
<text x="557" y="247" text-anchor="middle" class="small-label">Single Timestamp</text>
|
||||
|
||||
<!-- Single unified arrow -->
|
||||
<line x1="636" y1="208" x2="704" y2="208" stroke="#2563eb" stroke-width="3" marker-end="url(#arrow-blue)"/>
|
||||
<text x="670" y="196" text-anchor="middle" class="small-label" fill="#1d4ed8">Atomic</text>
|
||||
<text x="670" y="226" text-anchor="middle" class="small-label" fill="#1d4ed8">Fast</text>
|
||||
|
||||
<!-- Client box PVXS -->
|
||||
<rect x="712" y="166" width="120" height="84" rx="8" class="box-pvxs"/>
|
||||
<text x="772" y="198" text-anchor="middle" class="label">Client / App</text>
|
||||
<text x="772" y="216" text-anchor="middle" class="small-label">Receives complete,</text>
|
||||
<text x="772" y="232" text-anchor="middle" class="small-label">consistent state</text>
|
||||
|
||||
<!-- PVXS Key Points -->
|
||||
<text x="484" y="286" class="bullet-title">• Rich, structured data in one coherent update</text>
|
||||
<text x="484" y="308" class="bullet-title">• High performance for detectors & diagnostics</text>
|
||||
<text x="484" y="330" class="bullet-title">• Active EPICS 7 support & security-ready</text>
|
||||
|
||||
<!-- BOTTOM COEXISTENCE BANNER -->
|
||||
<rect x="28" y="362" width="824" height="40" rx="8" class="footer-box"/>
|
||||
<text x="440" y="387" text-anchor="middle" class="footer-text">✓ Smooth Transition: Both protocols run side-by-side during migration — existing tools continue working without disruption.</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.9 KiB |
Reference in new issue
Block a user