AdvancedHMI Software
General Category => Open Discussion => Topic started by: bowman@bcs4support.com on April 27, 2021, 05:55:44 PM
-
I have a display setup with tank volumes displayed. Product is consumed out of these tanks everyday. I would like to email this report to someone each day at 8am. When I look at the setup for email, looks like the trigger does not use date or time. Am I missing something?
Thanks
-
Seems like on one knows if there is a way to trigger an email based on date and time?
To me it seems like this would be a the way to send daily reports. Is there another way?
Anyone?
-
Web search:
https://www.vbforums.com/showthread.php?677489-VB-net-Sending-a-email-at-a-certain-time
https://stackoverflow.com/questions/17973665/vb-net-perform-task-at-scheduled-time
https://stackoverflow.com/questions/43275142/run-function-each-day-at-set-time
-
There are instructions on how to use the DataSubscriber to send an e-mail when certain bit goes True:
https://advancedhmi.com/forum/index.php?topic=796.msg3858#msg3858
So, find a bit in your PLC that you can use and set it up in your PLC to change to True and back to False at specific times.
This should be synchronized with your driver's poll rate so it doesn't send multiple e-mails one after another.