diff --git a/docs/2._Services_Portfolio/Services/04_data.md b/docs/2._Services_Portfolio/Services/04_data.md index f0ec9649..8ec142d1 100644 --- a/docs/2._Services_Portfolio/Services/04_data.md +++ b/docs/2._Services_Portfolio/Services/04_data.md @@ -9,6 +9,30 @@ tags: # EPICS Data Archiving -# BS Data +We operate the EPICS archivers that continuously record Process Variables (PVs) from the PSI facilities, so that historical data is available for analysis, troubleshooting and machine studies. -# Online Data Processing \ No newline at end of file +Each PV is configured individually: you choose which storage terms (short, mid and long term) it is written to and how often it is recorded. Retention times depend on the facility and are listed in the README of each configuration repository. + +Beam-synchronous data at SwissFEL is recorded separately by the data and image buffers, see [High-speed DAQ](05_datahs.md). + +## Archivers + +| Archiver | PV configuration | +| --- | --- | +| SLS | [sls_archiver](https://gitea.psi.ch/archiver_config/sls_archiver) | +| SwissFEL | [sf_archiver](https://gitea.psi.ch/archiver_config/sf_archiver) | +| HIPA | [hipa_archiver](https://gitea.psi.ch/archiver_config/hipa_archiver) | +| PROSCAN | [proscan_archiver](https://gitea.psi.ch/archiver_config/proscan_archiver) | +| TWLHA | [twlha_archiver](https://gitea.psi.ch/archiver_config/twlha_archiver) | +| Office (systems on the PSI office network) | [office_archiver](https://gitea.psi.ch/archiver_config/office_archiver) | + +To add or change PVs, see [How-To: Archiver Configurations](../../3._Knowledge_Center/03_how_to/06_archiver_config.md). + +## Retrieving data + +- [Archiver Viewer](../Tools/07_archiver_viewer.md) +- [Data Hub](../Tools/04_data_hub.md) + +## Contact + +[archiver@psi.ch](mailto:archiver@psi.ch), or the archiver contacts listed under [Controls Services](../../4._Contacts_Support/Service.md). diff --git a/docs/2._Services_Portfolio/Services/05_datahs.md b/docs/2._Services_Portfolio/Services/05_datahs.md index 82e84c7d..48c069f4 100644 --- a/docs/2._Services_Portfolio/Services/05_datahs.md +++ b/docs/2._Services_Portfolio/Services/05_datahs.md @@ -1,10 +1,30 @@ --- title: High-speed DAQ tags: - - SLS - - PROSCAN - SwissFEL - - HIPA --- # High-speed and beam synchronous (BS) data + +At SwissFEL, data acquired in sync with the machine pulses is recorded by dedicated buffers, separately from the [EPICS archivers](04_data.md). Sources such as IOCs and cameras stream their data via bsread, and every data point carries its pulse ID, so data from different sources can be correlated pulse by pulse. + +How long data is kept is set by data policies matched to channel names. By default data is kept only for a short time; selected channels can be kept longer or at a reduced rate (for example every 100th pulse). + +## Buffers + +| Buffer | Records | Configuration | +| --- | --- | --- | +| SwissFEL Data Buffer | BS scalar and waveform data | [sf_databuffer](https://gitea.psi.ch/archiver_config/sf_databuffer) | +| SwissFEL Image Buffer | Camera images | [sf_imagebuffer](https://gitea.psi.ch/archiver_config/sf_imagebuffer) | +| SwissFEL RF Data Buffer | RF data around interlocks and breakdowns, kept long term for post-mortem analysis. Retrieved together with the Data Buffer. | [sf_rf_databuffer](https://gitea.psi.ch/archiver_config/sf_rf_databuffer) | +| TWLHA Data Buffer | BS data at TWLHA | [twlha_databuffer](https://gitea.psi.ch/archiver_config/twlha_databuffer) | + +To add or change BS sources, see [How-To: Archiver Configurations](../../3._Knowledge_Center/03_how_to/06_archiver_config.md). + +## Retrieving data + +- [Data Hub](../Tools/04_data_hub.md) + +## Contact + +[archiver@psi.ch](mailto:archiver@psi.ch), or the archiver contacts listed under [Controls Services](../../4._Contacts_Support/Service.md). diff --git a/docs/3._Knowledge_Center/03_how_to/06_archiver_config.md b/docs/3._Knowledge_Center/03_how_to/06_archiver_config.md index 2402bca3..3e0e6de3 100644 --- a/docs/3._Knowledge_Center/03_how_to/06_archiver_config.md +++ b/docs/3._Knowledge_Center/03_how_to/06_archiver_config.md @@ -8,3 +8,38 @@ tags: --- # How-To: Archiver Configurations + +What the archivers and buffers record is defined in configuration repositories in the [archiver_config](https://gitea.psi.ch/archiver_config) organisation on Gitea. To record new EPICS PVs or BS sources, or to change how existing ones are recorded, you edit the configuration in the matching repository. + +The file format and the way changes are submitted differ between repositories, so always follow the README of the repository you are working in. You need to be logged in to Gitea to see the repositories, and you need write access to submit changes; each README explains how to request it. + +## EPICS PVs (archivers) + +There are currently three types of EPICS archiver, each with its own configuration format and workflow. + +### SLS and SwissFEL + +- SLS: [sls_archiver](https://gitea.psi.ch/archiver_config/sls_archiver) +- SwissFEL: [sf_archiver](https://gitea.psi.ch/archiver_config/sf_archiver) + +### HIPA, PROSCAN and TWLHA + +- HIPA: [hipa_archiver](https://gitea.psi.ch/archiver_config/hipa_archiver) +- PROSCAN: [proscan_archiver](https://gitea.psi.ch/archiver_config/proscan_archiver) +- TWLHA: [twlha_archiver](https://gitea.psi.ch/archiver_config/twlha_archiver) + +### Office archiver + +- Systems on the PSI office network: [office_archiver](https://gitea.psi.ch/archiver_config/office_archiver) + +## BS sources (buffers) + +- SwissFEL Data Buffer: [sf_databuffer](https://gitea.psi.ch/archiver_config/sf_databuffer) +- SwissFEL Image Buffer: [sf_imagebuffer](https://gitea.psi.ch/archiver_config/sf_imagebuffer) +- SwissFEL RF Data Buffer: [sf_rf_databuffer](https://gitea.psi.ch/archiver_config/sf_rf_databuffer) +- TWLHA Data Buffer: [twlha_databuffer](https://gitea.psi.ch/archiver_config/twlha_databuffer) + +## See also + +- [EPICS Data Archiving](../../2._Services_Portfolio/Services/04_data.md) +- [High-speed DAQ](../../2._Services_Portfolio/Services/05_datahs.md)