Skip to main content
Version: v4 (Stable)

GetMaxAlarmDuration

GetMaxAlarmDuration(TagId AS Integer/String, nDuration AS Integer) AS Integer

Returns in <nDuration> the maximum duration in the active state of the alarm identified by <TagId>.

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