Skip to main content
Version: v4 (Stable)

SetMaxAlarmDuration

SetMaxAlarmDuration(TagId As String/Integer, nDuration As Integer) As Integer

Sets the maximum duration in the active state of the alarm identified by <TagId> to the value <nDuration>.

Returns an error code (0 if no error, 6 if <TagId> not defined).