atomic361 Posted April 20, 2010 Share Posted April 20, 2010 Hi, I need to log data every 60 seconds over a twenty four hour period with a new file name starting at midnight i have attached the code for the sequence, but i get an error and no file is created. I think the sequence hangs up at line 8 beginlogging (Panel_01) // loop forever: while (1) // wait until 11:59pm waituntil(23h59m) // wait another minute to move us into tomorrow delay(1m) // set logging file name: Logging.Panel_01.strFileName = "D:\Logging Folder\Area1 Logging\Area1 " + FormatDateTime("%d_%m_%y.csv",SysTime()) // and repeat endwhile Hope you can help...! Regards, Link to comment Share on other sites More sharing options...
AzeoTech Posted April 21, 2010 Share Posted April 21, 2010 Please see this post: http://www.azeotech.com/board/index.php?showtopic=3995 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.