Feat/omny vacuum beamline state #358

Closed
holler wants to merge 2 commits from feat/omny-vacuum-beamline-state into main
pull from: feat/omny-vacuum-beamline-state
Member
No description provided.
holler added 2 commits 2026-11-17 15:29:39 +01:00
feat(client): set default beamline states for LamNI, OMNY and flOMNI sessions
CI for csaxs_bec / test (push) Successful in 4m17s
CI for csaxs_bec / test (pull_request) Successful in 3m41s
1d34028481
The scan interlock of the tomography scans watches the beamline states.
At client startup of the lamni, omny and flomni sessions the states are
made exactly the defaults (ring current >= 380, idgap <= 8, shutter,
ofb and shutter_es >= 0.5, tolerance 0.1): if they differ, all states
are deleted and the defaults added.

- states are global: if they already match, nothing is touched, so a
  client started during a running scan does not disturb the interlock
- if a device of the defaults is not loaded, the existing states are
  kept
- never raises; problems are printed and logged, startup continues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M8zoDzRrboFFDabqB9bLNZ
feat(client): OMNY session beamline state omny_vacuum (+ scan interlock entry)
CI for csaxs_bec / test (push) Successful in 4m44s
CI for csaxs_bec / test (pull_request) Successful in 4m11s
8e69aac2fe
SESSION_BEAMLINE_STATES: per-session states added to the defaults; OMNY: omny_vacuum =
DeviceWithinLimitsState on omny_vcs.measurement_ok (0.5..1.5; vacuum PLC alive, EXPVG1 + EXPVG2
OPEN, WI2VG1 CLOSED). Skipped when omny_vcs is not loaded. The session states are added to the
scan interlock (required valid) in their session and removed from it in the others, so a
flOMNI/LamNI session is never locked by a missing state; default states' interlock entries are
not touched. post_startup passes the session name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M8zoDygkWk6LupmHh3tyET
holler closed this pull request 2026-11-17 15:31:10 +01:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#358