From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

In Lookout 6.2 how can I send an email when an alarm has deactivated or cleared?

I need to send an email when an alarm has deativated. Such as, AC power fails and the generator is running. Whne the AC power is restored, I want to send an email as well as when the generator stops running. I have created mailer objects to do this based on the data member for each being "false". The problem is, that if the system does a restart then emails go out for all of those data members because they start up as "false" in the normal condition. Anyone have a suggestion?

 

Thanks

 

Brad Adams

Communications Group Inc.

brad@commtechradio.com

0 Kudos
Message 1 of 2
(5,502 Views)

Simplest way i can think of is a FlipFlop or a latchgate obect to ensure it did start first.  Reset the flipflop/latchgate when the email is sent.

 

Mike

Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 2 of 2
(5,500 Views)