From e374dc6ae442f5c2e395ff301221a200a317f410 Mon Sep 17 00:00:00 2001 From: x01dc Date: Sun, 20 Sep 2026 20:55:27 +0200 Subject: [PATCH] docs(machine): document all 8 injection_status enum values List the full set of AGETI-CVME-MASTER-TMA:SR-Inj-Status-I enum strings in the config comment, not just the top-up-relevant ones, so the PV's possible states are documented in one place. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_0132KBoxsovfcMNRGJhS1Pbw --- csaxs_bec/device_configs/machine.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/csaxs_bec/device_configs/machine.yml b/csaxs_bec/device_configs/machine.yml index abc3458f..72fecf75 100644 --- a/csaxs_bec/device_configs/machine.yml +++ b/csaxs_bec/device_configs/machine.yml @@ -57,6 +57,16 @@ injection_status: # being refilled. readoutPriority is 'monitored' (not 'baseline') so this # is captured continuously throughout the scan, not just read once at # scan start - a top-up can start or stop mid-scan. + # + # Enum values of AGETI-CVME-MASTER-TMA:SR-Inj-Status-I (8 states): + # 0: Filling Storage Ring <- top-up in progress + # 1: Waiting manual trig... + # 2: Electron gun event OFF! + # 3: SR Injection ready + # 4: Inj. events OFF + # 5: Beam Dump + # 6: !Event LI-RF set on 10Hz! + # 7: !Injection guard inhibit! description: SLS injection/top-up status deviceClass: ophyd_devices.EpicsSignalRO deviceConfig: