stoner_measurement.instruments.xray.protocol.ControllerStatus¶
- class stoner_measurement.instruments.xray.protocol.ControllerStatus(raw_motor: int, raw_limits: int, motor0_direction: bool, motor0_enabled: bool, motor1_direction: bool, motor1_enabled: bool, limit_input_1: bool, limit_latch_1: bool, data_ready: bool, overflow_or_infinite: bool)[source]¶
Bases:
objectRaw and provisional status flags from snapshot bytes one and two.
- classmethod from_bytes(motor: int, limits: int) ControllerStatus[source]¶
Decode provisional names while retaining both authoritative bytes.