SetMaskTag
SetMaskTag(AlarmId As String/Integer, MaskTagId As String/Integer, bMaskOnReset As Boolean) As Integer
Sets the masking tag of the alarm identified by <AlarmId>. <AlarmId> can be the numeric object Id of the alarm tag or its alphanumeric identifier depending on the type of the parameter (Integer or String).
The masking tag is defined by <MaskTagId>, numeric identifier (Integer) or alphanumeric identifier (String).
The <bMaskOnReset> parameter specifies whether alarm masking of <AlarmId> is triggered by the alarm state (FALSE) or the reset (TRUE) of <MaskTagId>.
Returns 0 if no error, 6 for an invalid alarm ID.