DClearAlarm()

Clears the alarm state for specified bits when alarms are configured to latch. Once the alarm condition is resolved, this method can be used to clear the latched alarm.

Function Prototype

VB .NET

Public Function DClearAlarm(portType As MccDaq.DigitalPortType, mask As UInteger) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo DClearAlarm(MccDaq.DigitalPortType portType, uint mask)

Parameters

portType

The port containing the bit(s) to clear. The specified port must be configurable for alarm output. All portType settings are MccDaq.DigitalPortType enumerated constants.

mask

The mask that determines which bits to clear. Set to all 1s to clear all bits in the port.

Returns