OptrisOptrisDocumentation

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

PifOutputAction

public sealed record PifOutputAction : AlarmAction, IEquatable<PifOutputAction>

Drive a process-interface output while the alarm is active.

The output follows the alarm and not the trigger: asserted while the rule is ringing, released when it clears, when it is inhibited and when the rule is disabled, whatever ActionTrigger the action carries. The trigger decides when the hold is taken.

A cycle in which the rule had no reading is not a release. A rule in AlarmState.Orphaned has no reading rather than a cleared condition, so a held output sits still through it and is still asserted when the reading comes back. If the reading never comes back, the output stays held until the rule is disabled, edited off the pin, removed, or the camera is closed; there is deliberately no timeout.

PifOutputAction: constructors

public PifOutputAction(byte Channel, bool IsDigital = true, float ActiveValue = 1, float InactiveValue = 0)

Drive a process-interface output while the alarm is active.

  • Channel: Which output.
  • IsDigital: true for a digital output, false for analog.
  • ActiveValue: Written while the alarm is active.
  • InactiveValue: Written otherwise.

The output follows the alarm and not the trigger: asserted while the rule is ringing, released when it clears, when it is inhibited and when the rule is disabled, whatever ActionTrigger the action carries. The trigger decides when the hold is taken.

A cycle in which the rule had no reading is not a release. A rule in AlarmState.Orphaned has no reading rather than a cleared condition, so a held output sits still through it and is still asserted when the reading comes back. If the reading never comes back, the output stays held until the rule is disabled, edited off the pin, removed, or the camera is closed; there is deliberately no timeout.

PifOutputAction: properties

public float ActiveValue { get; init; }

Written while the alarm is active.

public byte Channel { get; init; }

Which output.

public float InactiveValue { get; init; }

Written otherwise.

public bool IsDigital { get; init; }

true for a digital output, false for analog.