cbDClearAlarm()

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

Function Prototype

C/C++

int cbDClearAlarm(int BoardNum, int PortType, uint Mask)

Visual Basic

Function cbDClearAlarm(ByVal BoardNum&, ByVal PortType&, ByVal Mask&) As Long

Arguments

BoardNum

The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). BoardNum may be 0 to 99.

PortType

The port containing the bit(s) to clear. The specified port must be configurable for alarm output.

Mask

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

Returns