10-02-2009 09:53 AM
Solved! Go to Solution.
10-02-2009 09:58 AM - edited 10-02-2009 10:00 AM
Hi icemaker
I'm not really sure what you mean. Wouldn't a case structure be a solution?
Could you post some code so we can see what you are doing?
Best Regards
David
NISW
10-02-2009 10:04 AM
This is very similar another enquiry today...
One possibility: Add a boolean shift register to your loop, initialised outside the loop. When an error occurs and you send your message, set the boolean to a value that means you've sent your message. Your "send a message" should avoid sending a message if the flag says you've already sent one.
You may also want some means to reset the flag so you can send mesages again. Maybe make the shift register hold the time you last sent an error message, so you can send another one after a certain time has elapsed.
Just a thought.....
Rod
10-02-2009 10:08 AM
Ahh, now I get it. Just one email per error, good morning
Rod's suggestion is very good, you should give it a try.
Best Regards
David
10-02-2009 12:11 PM
10-02-2009 12:33 PM
10-02-2009 12:36 PM
10-02-2009 12:39 PM
Have you fixed your non-stop emails yet? You screen cap doesn't have the solution (shift register).
10-02-2009 12:44 PM
10-02-2009 12:55 PM