11-13-2009 11:26 AM
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.
11-13-2009 11:54 AM
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