Skip to main content
Version: v4 (Stable)

GetAlarmComment

GetAlarmComment(AlarmId AS String/Integer, sComment AS String, nCommentSize AS Integer) As Integer

Returns in <sComment> the alarm comment for <AlarmId>. The parameter <AlarmId> can be the tag OId or the text identifier (Integer or String). The <nCommentSize> parameter must contain the maximum requested size for the comment.

Returns 0 if no error, 6 if the alarm ID is invalid (not in alarm table), 24 if the command is denied, &h8006 if the comment is empty.