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