Environment Variables#

OPHYD_ASYNC_PRESERVE_DETECTOR_STATE#

Controls the implicit prepare performed by StandardDetector.trigger() when prepare() has not been called since the last stage().

Value

Behaviour

YES

Calls DetectorTriggerLogic.default_trigger_info() to read current hardware state before the implicit prepare. Raises RuntimeError if default_trigger_info() is not implemented on the trigger logic.

anything else (default)

Uses a bare TriggerInfo(), resetting detector state to defaults.

See ADR 0013 for rationale.