Thanks, I can run a BAT file (windows cmd lines are the limit of my programming skills!) that renames the PLW file with time and date, this is fine for completed PLW files but it also grabs the file being written to by Picolog and renames it, this confuses Picolog. Is there a windows cmd line that will force Picolog to stop writing to file test1.PLW and then start writing to a "new" test1.PLW? So every hour Picolog would stop writing to file test1.PLW, this would be renamed and moved to another folder, Picolog would then start writing to a "new" test1.PLW file.
The PLW Files DO contain the start date and time
Take a look at the Picolog Manual at http://www.picotech.com/document/pdf/plw.en-3.pdf
Page 102
.plw data file
The .plw file has a fixed-length header, followed by a data record for each sample. It
is terminated by a copy of the .pls file that was used to record it.
The first two-byte field of the header contains the length, in bytes, of the header. The
remaining fields are as follows:
.......
PICODATE start_date;
FULLTIME start_time;
Given the start date and time and the interval each sample can be related to a date/time