OptrisOptrisDocumentation

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

FrameQueuePolicy

public enum FrameQueuePolicy

Which frame the SDK's acquisition queue loses when it overflows.

The queue behind ThermalCamera.TryAcquireFrame(…) and ThermalCamera.AcquireFrameAsync(…) holds four frames. This says which one is lost when a fifth arrives before the consumer has taken any.

It does not apply to ThermalCamera.FramesAsync(…), which is fed by a separate buffer inside this package and always drops its oldest.

Value
DropOldest 0 Evict the oldest queued frame to make room for the newest, so a pull always returns one of the four most recent frames.
DropNewest 1 Discard the arriving frame and keep the queued ones in order.