OptrisOptrisDocumentation

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

PifHardwareInfo

public sealed class PifHardwareInfo

What the attached process interface can do, as data.

Read these rather than branching on PifIdentity.Kind. A zero channel count is a real answer, not a missing one: the Xi80 and Xi410 have no digital inputs at all, which is why an analog input with a threshold is the only way those cameras take a signal in.

PifHardwareInfo: properties

public int AnalogInputCount { get; }

How many analog input channels exist.

public int AnalogOutputCount { get; }

How many analog output channels exist.

public PifAutonomy Autonomy { get; }

How much of the interface the camera firmware drives unattended.

public int DigitalInputCount { get; }

How many digital input channels exist.

public int DigitalOutputCount { get; }

How many digital output channels exist.

public TimeSpan FailSafeRelayHold { get; }

How long this interface's fail-safe relay stays energised after it is retriggered. TimeSpan.Zero when PifHardwareInfo.HasFailSafe is false.

The relay is a retriggerable monoflop and the line retriggers it once per cycle, so two edges have to fit inside this, not one. Measured on an industrial current PIF on a PI 400: about 1.1 seconds, with the interface reporting a fault at about 1.5 seconds. That is the only variant that has been on an oscilloscope; every interface reports the same number until a second one is measured.

public bool HasFailSafe { get; }

Whether a fail-safe line exists at all.

public bool IsSdkCalibrated { get; }

Whether this kind of interface carries a per-channel calibration slope that the device applies, in converter-code space.

A property of the interface kind, not of the SDK. It does not mean the SDK is applying a calibration, and it says nothing about AnalogCalibration, which the SDK does not apply at all. The slope it refers to is the interface's own factory trim, per channel, which ProcessInterface.GetChannelTrim(…) reports.

public TimeSpan MaxFailSafePeriod { get; }

The longest FailSafeConfiguration.Period this interface accepts. TimeSpan.Zero when PifHardwareInfo.HasFailSafe is false.

Derived from PifHardwareInfo.FailSafeRelayHold and deliberately well below the point at which the relay breaks: it is the largest period at which the SDK can miss an entire cycle (a long shutter cycle, a stalled transfer, a host under load), and the relay still holds.

public int MaximumStackableDeviceCount { get; }

The largest deviceCount ProcessInterface.DeclareIdentity(…) accepts on this camera.

PifHardwareInfo.StackableDeviceCount is what the flat channel space spans now, which is zero on a camera with nothing detected, so it cannot say whether offering the user two or three stacked PIFs is sensible. This is the camera family's bound and does not move when a declaration does. 1 means "no stack": every kind other than PifDeviceKind.Stackable is exactly one device.

public int StackableDeviceCount { get; }

How many physical devices the flat channel space spans.

public int SupportedAnalogOutputRangeCount { get; }

How many analog output ranges the hardware supports.