OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Python API referencev12.0

NucCycleReport

class optris_sdk.control.NucCycleReport

What one shutter cycle measured.

sequence == 0 means no cycle has been reported on this camera yet. That is an answer rather than a failure: it is also what a simulated camera, a recording, and a camera whose every cycle was abandoned report.

delivery_share is None when the camera could not be measured, and that matters more than it looks. A share of 0 would read as "no frames arrived" while the SDK itself reads an unmeasurable camera as a share of 1, so the two cases mean opposite things about whether a short cycle was the host's fault. Only the absence tells them apart.

NucCycleReport — properties

reported

Whether any cycle has been reported on this camera at all.

sequence is zero until one has, and every other field is then a zero that means nothing -- so read this before any of them.

outcome_name

NucCycleReport — methods

__repr__()