feat(client): set default beamline states for LamNI, OMNY and flOMNI sessions #357

Merged
holler merged 2 commits from feature/set_beamline_states into main 2026-11-17 15:29:15 +01:00
Member

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

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
holler added 1 commit 2026-11-17 15:22:18 +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
holler added 1 commit 2026-11-17 15:23:33 +01:00
Merge branch 'main' into feature/set_beamline_states
CI for csaxs_bec / test (push) Successful in 3m54s
CI for csaxs_bec / test (pull_request) Successful in 4m11s
59d62e41cb
holler merged commit 660532db79 into main 2026-11-17 15:29:15 +01:00
holler deleted branch feature/set_beamline_states 2026-11-17 15:29:15 +01:00
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#357