pylabrobot.byonoy.luminescence_96.ByonoyLuminescence96.cancel#

async ByonoyLuminescence96.cancel() None#

Abort the in-flight measurement via REP_ABORT_REPORT_OUT (0x0060).

Uses the report id tracked by the read method’s _measurement_in_flight context. If no measurement is in flight, this is a no-op.

Empirically the firmware stops emitting result chunks but sends no closing notification, so we also raise _abort_requested; subclasses’ read loops poll the flag and bail out instead of waiting 120 s for the hard timeout.

Return type:

None