OpenPhase
public enum OpenPhase
How far along opening a camera is.
Opening a camera is not instant. The first time a given camera is opened on a machine the SDK has to acquire its calibration (reading it off the device, copying it from a directory, or downloading it), and on a slow link each of those is seconds. These are the stages worth putting in front of an operator, so that a blank tile reads as progress rather than as a hang.
These are not steps to walk through. A camera whose calibration is already on disk, which is every camera after the first open, goes from OpenPhase.Locating straight to OpenPhase.Established, and the calibration phases never appear. On USB, OpenPhase.Locating can arrive several times, because the SDK retries while USB enumeration settles. Treat a phase as "what is happening now" and never as "step 3 of 6".
The set mirrors the stages the SDK actually goes through: every value here is a state the connect path already emits, not a category invented for this API.
| Value | ||
|---|---|---|
Locating |
0 |
Looking for the camera and claiming it. |
CalibrationFromDevice |
1 |
Reading missing calibration files off the device itself. |
CalibrationFromDirectory |
2 |
Copying missing calibration files from a local directory. |
CalibrationDownload |
3 |
Downloading missing calibration files over the internet. |
CalibrationReady |
4 |
Every missing calibration file was acquired. |
CalibrationMissing |
5 |
Calibration could not be acquired, and the camera's thermal data will be invalid. |
Established |
6 |
The camera is open and ready. |