Skip to content

Missing or invalid +20 kV readback clears the radiation indicator #187

Description

@bwalkerMIR

Missing or invalid +20 kV readback clears the radiation indicator

Location: beam_energy.py:606, beam_energy.py:1222

What is wrong: Missing or invalid +20 kV readback clears the radiation indicator.

Exact scenario: +20 kV is above the radiation threshold, then KnobBox/readback communication drops. set_default_values() calls apply_warning_indicators(index, None, None), and _update_radiation_indicator(None) sends False.

Why it matters: Unknown high-voltage state should not extinguish a radiation warning light.

Recommended fix: Treat unknown readback as fail-safe: preserve/assert the indicator, or expose an explicit fault/unknown state instead of sending False.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions