OptrisOptrisDocumentation

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

SimulatedLinkChange

public enum SimulatedLinkChange

What FaultInjection.SimulateLinkChange(…) does to a simulated camera.

Value
Lost 0 The link drops, as when a cable is pulled: frames stop and ConnectionStatus.Lost is published. The camera stays on the bus, so a re-open brings it back.
Stalled 1 Frames stop while the camera stays open: ConnectionStatus.Stalled. It comes back on its own with SimulatedLinkChange.Resumed, or with a re-open.
Resumed 2 A stalled link heals on its own: frames again and ConnectionStatus.Connected, with no re-open, which a recovery reports as ReconnectPhase.Recovered with attempt 0.
Unplugged 3 The camera is unplugged: frames stop, ConnectionStatus.Lost is published and the camera leaves the bus, so automatic recovery waits for it (ReconnectPhase.WaitingForDevice) and ThermalCamera.Reconnect fails.
Replugged 4 The camera is plugged back in. Its link stays down until it is re-opened, as a real camera's does.