OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

CalibrationStatus

public enum CalibrationStatus

Where a camera's calibration came from, or why it has none.

A camera whose calibration files could not be found opens anyway, streams anyway, and reports temperatures anyway -- and they are wrong. ThermalCamera.ConnectionStatus will not tell you: the link is fine, and the link is all it reports. This is the other axis.

A reason rather than a boolean, because the situations are not equivalent to whoever has to act on them. "Not calibrated" is a camera whose numbers must not be shown. CalibrationStatus.Acquired is a camera that is fully calibrated but had to fetch its files on this open -- worth knowing on a machine about to be taken offline, and not worth warning a user about.

This enum is : int to match the C ABI. New members may be appended by a future SDK, so a switch over it should have a default arm.

Value
Unknown 0 Nobody has looked yet: the camera is not open, or this source has no calibration to speak of (simulated, playback).
Calibrated 1 Every file the camera needs was already on this machine.
Acquired 2 Files were missing and were successfully obtained -- from the camera itself, from a directory you named, or from Optris over the internet.
Missing 3 Files were missing and could not be obtained. The camera is streaming and its temperatures are wrong.