I am trying to mask an alarm until it is cleared using an SLNet call. The current SLNet call, SetAlarmStateMessage, only lets me change the state of an alarm. I can currently mask the alarm but I also want that alarm to be unmasked once it is cleared.
Have you tried using State = 8 using the SetAlarmStateMessage? I tried an example call and that seems to be the state for Mask until cleared for a specific alarm. The message structure should like something like this:
AlarmId = YOUR_ALARM_ID
DataMinerID = YOUR_DMA_ID
ElementID = YOUR_ELEMENT_ID
State = 8