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.
Missing or invalid +20 kV readback clears the radiation indicator
Location:
beam_energy.py:606,beam_energy.py:1222What 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()callsapply_warning_indicators(index, None, None), and_update_radiation_indicator(None)sendsFalse.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.