Events.Alarm.Copy
-----------------

Creates a copy of the alarm.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Alarm.Copy"; EKAlarm ) 

**MBS**( **"Events.Alarm.Copy";** /\* Creates a copy of the alarm. \*/  
**$EKAlarm**) /\* The reference to the alarm.e.g. $Alarm \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKAlarm | The reference to the alarm. | $Alarm |

### Result

Returns alram ID or error.

### Description

Creates a copy of the alarm.  
Returns a new alarm's ID.  
### See also

- [Events.Alarm.Type](EventsAlarmType.md)

This function checks for a license.

Created 10th March 2016 , last changed 12nd March 2016

  
[EventMonitor.SetEnabled](EventMonitorSetEnabled.md) - [Events.Alarm.GetAbsoluteDate](EventsAlarmGetAbsoluteDate.md)

[HTML Version](EventsAlarmCopy.shtml)