alm.ack()
alm.ack([group, title, [cancel]])
Acknowledges all faults, or one specific fault; pass false to cancel an acknowledgement.
With no arguments, acknowledges every fault. Pass a group and title to
acknowledge a single fault. An optional false appended as the last argument
cancels the acknowledgement.
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| group | string | optional | — | Group of the fault. Omit to acknowledge everything. |
| title | string | optional | — | Title of the fault. |
| cancel | boolean | optional | true | Pass false to cancel the acknowledgement. |
Example
alm.ack(); // acknowledge all faults
alm.ack("UV", "Reactor A Run Failure"); // acknowledge one fault
alm.ack("UV", "Reactor A Run Failure", false); // cancel the acknowledgement