Question:
How can I print a report daily, and always at a certain time (for example, 10h 41 min)?
Solution:
To do so, you can create a Demo Tag whose Scan is set to 10000ms (10 seconds), and write the following script in its OnValueChanged event:
Dim Name
IF hour == 10 AND minute == 41 AND second < 10
Name = Str(day)+Str(month)+Str(year)
Reports.Report1.PrintToFile(Name+”.csv”,1,”;”)
ENDIF