Snapshot Comparison¶
The comparison view lets you see differences between two snapshots side by side, making it easy to identify what changed between configurations.
Starting a Comparison¶
- Open the details page of the first snapshot. This is the baseline.
- Click Compare with another snapshot, next to the baseline's card.
- In Select Snapshot to Compare, choose the second snapshot. Click Load older snapshots to see further back.
- Click Compare.
Understanding the Comparison View¶
The two snapshots are shown as cards at the top: BASELINE and COMPARING. The comparing card shows how many PVs differ.
The table lists every PV in the baseline snapshot:
| Column | Description |
|---|---|
| Device | The device the PV belongs to |
| Setpoint | The setpoint PV address |
| Readback | The readback PV address |
| Setpoint (comparison) | The setpoint values from both snapshots |
| Readback (comparison) | The readback values from both snapshots |
Only PVs in the baseline snapshot are listed. A PV that is only in the comparing snapshot doesn't appear.
Reading Differences¶
When a value is the same in both snapshots, its cell shows it once. When it differs, the cell shows the baseline value on the left and the comparing value on the right, with the change between them below: green with an up arrow for an increase, red with a down arrow for a decrease.
Numbers in the comparison columns, and the change between them, are always shown to 3 decimal places, whatever the PV's precision. A change smaller than that is still counted as a difference, but can show as +0.000.
Any change counts as a difference, however small. PV tolerances aren't applied here; they're used only to highlight live values on a snapshot's details page.
Filtering the Comparison¶
Use the controls at the top to focus on specific PVs:
- Search - Show PVs whose setpoint, readback, device, or description contains the text
- Tag filter - Show only PVs with specific tags
Ending a Comparison¶
To stop comparing, close the COMPARING card; you return to the baseline's details page. Closing the BASELINE card instead opens the comparing snapshot's details page.
Performance¶
The comparison view uses virtual scrolling to handle large numbers of PVs efficiently. Even with 10,000+ PVs, scrolling remains smooth.
Use Cases¶
Before/After Maintenance¶
Compare a "before maintenance" snapshot with an "after maintenance" snapshot to verify only intended changes were made.
Configuration Drift Detection¶
Take a new snapshot and compare it against a baseline snapshot to identify unexpected changes.
Troubleshooting¶
Take a new snapshot and compare it with a "working" snapshot to identify what changed before a problem occurred.