Skip to main content
Version: v4 (Stable)

SetAlarmComment

SetAlarmComment(AlarmId AS String/Integer, Message AS String) As Integer

Defines a comment for the alarm defined by the <AlarmId> identifier. <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 if the alarm ID is invalid (not in alarm table), 24 if the command is denied.