From dcaf1ec4ab320f757f2a8256de5754db998846d5 Mon Sep 17 00:00:00 2001 From: PONS Date: Thu, 11 Jun 2026 10:29:29 +0200 Subject: [PATCH] Updated BESSY2 example --- examples/BESSY2_example/BESSY2Chroma.yaml | 10 ++-------- examples/BESSY2_example/BESSY2Tune.yaml | 13 +++++-------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/examples/BESSY2_example/BESSY2Chroma.yaml b/examples/BESSY2_example/BESSY2Chroma.yaml index e53233a23..0222f93b3 100644 --- a/examples/BESSY2_example/BESSY2Chroma.yaml +++ b/examples/BESSY2_example/BESSY2Chroma.yaml @@ -17,14 +17,8 @@ data_folder: /data/store devices: - type: pyaml.diagnostics.tune_monitor name: BETATRON_TUNE - tune_h: - type: pyaml_cs_oa.epicsR - read_pvname: beam:twiss:x:tune - unit: '' - tune_v: - type: pyaml_cs_oa.epicsR - read_pvname: beam:twiss:y:tune - unit: '' + tune_h: beam:twiss:x:tune + tune_v: beam:twiss:y:tune - type: pyaml.tuning_tools.chromaticity_monitor name: KSI betatron_tune_name: BETATRON_TUNE diff --git a/examples/BESSY2_example/BESSY2Tune.yaml b/examples/BESSY2_example/BESSY2Tune.yaml index 3dc795d8c..8dd29446b 100644 --- a/examples/BESSY2_example/BESSY2Tune.yaml +++ b/examples/BESSY2_example/BESSY2Tune.yaml @@ -10,6 +10,9 @@ controls: - type: pyaml_cs_oa.controlsystem prefix: 'pons:' name: live + catalog: + type: pyaml_cs_oa.dynamic_catalog + backend: epics data_folder: /data/store arrays: - type: pyaml.arrays.magnet @@ -882,14 +885,8 @@ devices: unit: A - type: pyaml.diagnostics.tune_monitor name: BETATRON_TUNE - tune_h: - type: pyaml_cs_oa.epicsR - read_pvname: beam:twiss:x:tune - unit: '' - tune_v: - type: pyaml_cs_oa.epicsR - read_pvname: beam:twiss:y:tune - unit: '' + tune_h: beam:twiss:x:tune + tune_v: beam:twiss:y:tune - type: pyaml.tuning_tools.tune name: DEFAULT_TUNE_CORRECTION quad_array_name: QForTune