OptrisOptrisDocumentation

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

CameraOptions

class optris_sdk.camera.CameraOptions

What an open can be asked for, beyond which camera to open.

All three timeouts are carried as whole milliseconds, rounded up, and a zero is refused: zero on those fields means "use the SDK's default", so a computed zero would come out far longer than was asked for rather than shorter. Pass None for the default.

  • Parameter calibration_directory — where to look for this camera's calibration files. None leaves the SDK its own search.
  • Parameter allow_calibration_download — whether the SDK may fetch a missing calibration over the network. None keeps the SDK's default. On a factory PC behind a firewall this is the setting that decides whether an open stalls or reports CALIBRATION_MISSING at once.
  • Parameter connection_timeout_s — how long without a frame before the link is called stalled.
  • Parameter connect_timeout_s — how long to wait for the open itself. Worth setting whenever an address is: a wrong one then fails after that long rather than after the operating system's own connect timeout several times over.
  • Parameter discovery_timeout_s — how long to broadcast for a camera by serial.
  • Parameter operation_mode — the temperature range and rate to open in, as an optris_sdk.control.OperationMode index or the raw record. None opens in the camera's own current mode.

CameraOptions — methods

__repr__()