Snapshots¶
Snapshots are the core feature of Squirrel. A snapshot captures the values of all configured PVs at a specific point in time, allowing you to save, compare, and restore control system states.
What is a Snapshot?¶
A snapshot contains:
- Title - A short name for the snapshot
- Description - Optional notes on its purpose
- Created - When it was taken
- PV Values - The setpoint and readback values of each PV at that moment, with their alarm status and severity
Viewing the Snapshot List¶
Click View Snapshots in the sidebar to see all saved snapshots, newest first.

The list shows:
| Column | Description |
|---|---|
| Title | The snapshot's title |
| Description | Its description |
| Created | When it was taken |
| meta PV columns | One column per active meta PV, showing its saved value |
| PV Count | How many PVs it holds |
Type in Search title... to show snapshots whose title contains the text, and use Start date and End date to show only snapshots taken in that range. More snapshots load as you scroll.
The list only shows snapshots from the facility chosen in the header, including facilities below it. Choose All facilities to see every snapshot. See Facilities.
Creating a Snapshot¶
- Click Save Snapshot at the bottom of the sidebar.
- In Create Snapshot, enter a Title and, optionally, a Description.
- Leave Use PV cache as the dialog sets it, or change it (see Using the PV cache).
- Click Start Snapshot.

Naming Conventions
Use descriptive titles that indicate the purpose or state, such as "Before maintenance" or "Baseline configuration 2024-01".
The snapshot captures the current values of the PVs in the facility chosen in the header, including facilities below it. With All facilities chosen, it captures every PV. The dialog says which of the two will happen.
The snapshot is taken in the background, so you can keep working: a status card in the sidebar shows its progress, then Snapshot ready - Click to view. Click the card to open the new snapshot. If the snapshot fails, the card says so; click it to dismiss. If your API key doesn't have access to the chosen facility, the snapshot fails and the card shows why.
A PV that doesn't answer when the snapshot is taken is still included, with no saved value.
Using the PV cache¶
Reading every PV live can take a long time on a facility with many PVs. With Use PV cache checked, Canopy takes each PV's value from its PV cache, which keeps a monitor on every registered setpoint and readback, and reads live only the PVs the cache can't vouch for. While those are read, the progress line in the status card starts with how many values came from the cache.
A cached value is the PV's last monitor update. Alarm changes are posted at once, but a value change smaller than the record's monitor deadband (MDEL) isn't, so a cached value can trail a live read by up to that deadband. It keeps the timestamp of the value it holds.
The dialog asks Canopy how its cache is doing and sets the option to match:
| Cache state | Option |
|---|---|
| Running | Checked |
| Warming up, or some PVs disconnected | Checked; the PVs the cache can't vouch for are read live |
| Turned off, or not working | Unchecked and greyed out, with the reason; every PV is read live |
| Unknown (status couldn't be read) | Unchecked, with a warning; you can still check it |
The cache has to be turned on for the Canopy worker (CANOPY_SQUIRREL__PV_CACHE__ENABLED=true).
If it isn't, ask whoever runs your Canopy deployment.
Editing a Snapshot¶
With admin mode on, click the edit icon in a snapshot's row to change its Title or Description, then click Save. Its saved values can't be changed.
Viewing Snapshot Details¶
Click a snapshot to open its details.
The details page shows:
| Column | Description |
|---|---|
| Device | The device the PV belongs to |
| Setpoint | The setpoint PV address |
| Readback | The readback PV address |
| Saved Setpoint | The setpoint value when the snapshot was taken |
| Live Setpoint | The setpoint's current value, in red when it differs from the saved value |
| Saved Readback | The readback value when the snapshot was taken |
| Live Readback | The readback's current value |
A value with an alarm shows an icon next to it; hover over it for the alarm's severity and status. -- means no value: the PV has no such address, or it didn't answer when the snapshot was taken.
Live values update continuously. If Squirrel loses contact with the live-data service, a LIVE DATA DISCONNECTED banner appears and live values stop updating until it reconnects.
Filtering PVs¶
Use the controls at the top to filter the PV list:
- Search - Show PVs whose setpoint, readback, device, or description contains the text
- Tag filter - Show only PVs with specific tags; see Filtering by Tags
Selecting PVs¶
Click the checkbox next to PVs to select them for Restore, which then writes only the selected PVs' saved setpoints; see Restore.
Turn on Show selected (N) to list only the PVs you've selected.
Deleting a Snapshot¶
Admin Required
Deleting snapshots requires admin privileges.
- Click the delete icon in the snapshot's row.
- Confirm in Delete Snapshot.
Deleted snapshots cannot be recovered.
Next Steps¶
- Compare two snapshots to see differences
- Restore values from a snapshot to the control system