OptrisOptrisDocumentation

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

PifFailSafeStatus

class optris_sdk.pif.PifFailSafeStatus

What the fail-safe line is doing, as opposed to what was asked for.

Read this rather than the snapshot's fail-safe level: that reports the instantaneous level of a line whose whole job is to alternate, so it flickers between high and low on a perfectly healthy system and is not a health indicator.

Answered at the moment of the call, from the time since the last edge, so a heartbeat that has stopped is reported as stopped.

  • Attribute longest_gap_ms — the longest interval between edges since the line was armed, including the gap still open now. A line that was late an hour ago looks healthy the moment you ask; this is what a support report needs.
  • Attribute was_ever_late — whether the line has ever been late since it was armed, whatever it is doing now.
  • Attribute detail — the same answer in words, naming the numbers behind it. Never empty.

PifFailSafeStatus — properties

health_name

is_beating

Whether edges are arriving inside the interface's budget.

The only state in which the relay is being retriggered and held. arming and late both leave anything wired to the terminals reading a fault.

PifFailSafeStatus — methods

__repr__()