# d_clear_alarm()

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.

## Prototype

d_clear_alarm(board_num, port_type, mask)

## Parameters

board_num (int)

The number associated with the board when it was installed with InstaCal or created with create_daq_device().

port_type (DigitalPortType)

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

mask (int)

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