Duplicate Alarms


Nev

Recommended Posts

Hi,

 

Trialing the use of emails notification generated by an Alarm condition in DaqConnect. The alarms fire and reset as I expect. However on each fire and each reset 2 duplicate email are are generated.

 

Has anyone come across this? Attached is a screen capture from my external mail filter showing an example of a duplicate for a fire and subsequent reset.

 

MainWharfWind_Alarm is a channel that is replicated to DaqConnect upon which the alarm is based. In the example email capture you'll see a 2 hour delay between the fire and reset as per the delay statement in the code. Code below sets the value of the channel.

 

while (1)
if (Sx [0] > 25)
   if (Sx [0] > 35)
       MainWharfWind_Alarm.AddValue(4)
       Delay (14400)
   endif
   if (Sx [0] > 25 && (Dn [0] >= 240 && Dn [0] <= 300 ))
      MainWharfWind_Alarm.AddValue(3)
      Delay (7200)
   else
       MainWharfWind_Alarm.AddValue(2)
   endif
else
    MainWharfWind_Alarm.AddValue(1)
endif
Delay (10)
endwhile

 

In DaqConnect I have two alarms. One to fire on a value of 3 and one to fire on a value of 4. Can provide more info on the set-up of these alarms, but simply if value = then alarm.

 

Would welcome any suggestions.

 

Cheers

 

Nev
 

post-9525-0-84370100-1408337234_thumb.jp

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.