This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

event script e os.sleep
#1
Hello
I am trying with an event-based script when the value of a byte changes, to send mail, the byte can have value 0,1,2 my problem ache inside the script I should delay sending the mail for a time and re-read the value, as it takes time to pass between the various values, I tried with os.sleep () and to read the value after the time but it doesn't work, is there another way to do this function?

thanks a lot
Reply


Messages In This Thread
event script e os.sleep - by Frank68 - 18.11.2020, 10:15
RE: event script e os.sleep - by admin - 18.11.2020, 10:20
RE: event script e os.sleep - by Frank68 - 18.11.2020, 12:40
RE: event script e os.sleep - by admin - 18.11.2020, 14:27

Forum Jump: