# mUpdateAlarmState

## `AlarmManagerBuffer.mUpdateAlarmState` (METH)

METHOD mUpdateAlarmState

This method updates the AlarmState immediately with the current state of the alarm.

InOut:

| Scope | Name              | Type                      |
| ----- | ----------------- | ------------------------- |
| Input | `udiInternalID`   | `UDINT`                   |
| Input | `udiAlarmGroupID` | `UDINT`                   |
| Input | `eAlarmState`     | `AlarmManager.AlarmState` |
| Input | `psAlarmText`     | POINTER TO STRING(255)    |
