Skip to main content
Version: v4 (Stable)

SetAlarmPriority

SetAlarmPriority(AlarmId As String/Integer, nPriority As Integer)

Defines in <nPriority> the priority of the alarm identified by <AlarmId>. <AlarmId> can be the numeric object Id of the tag or its alphanumeric identifier depending on the type of the parameter (Integer or String).

Returns 0 if no error, 6 for an invalid alarm ID.