radeye_comms
High-level RadEye device class to handle the serial communication and device detection.
class
RadEyeComms:
High-level RadEye serial session.
Opens the port, detects the device type (G10 or SX), and exposes display reads and optional autosend streaming.
Parameters
- port: Serial port (e.g.
COM10or/dev/ttyUSB0)
def
set_autosend_mode(self, on: bool) -> None:
Set the autosend mode on or off.
Parameters
- on: True to enable autosend, False to disable
def
read_display_value_and_status(self) -> Optional[radeye_comms_sdk.devices.base.DisplayStatusData]:
Read the current display values and history status word.
Returns
radeye_comms_sdk.radeye.devices.DisplayStatusData, orNoneon failure