OptrisOptrisDocumentation

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

ShutterEvent

class optris_sdk.control.ShutterEvent

The shutter moved.

  • Attribute previous — where it was, as a SHUTTER_* constant.
  • Attribute current — where it is now.
  • Attribute timestamp_us — the frame clock, a stopwatch reading rather than a date.
  • Attribute host_time_us — the system clock, microseconds since the Unix epoch. It can jump when the machine's clock is stepped, which timestamp_us never does, so order by sequence and display this.
  • Attribute sequence — monotonic within one camera.

ShutterEvent — properties

is_closing

Whether this transition takes the shutter off the scene.

True for the commanded close and for the confirmed closed state. Written out because the tempting test -- "not open" -- is also true of SHUTTER_ERROR, where the cycle failed and the previous correction was kept.

ShutterEvent — methods

__repr__()