SD card time stamp
Posted: Tue Jun 11, 2013 5:52 pm
Hi
I'm making a data logger using a MIAC unit with Serial and Advanced expansion units so that I can log to an SD card and put a time stamp on each piece of data.
I'm using Flowcode 5 as I can't yet program in 'C'. I've got the card logging data okay.
When It comes to looking at data files that have been created, as you can't use long filenames in the FAT16 format, I want to use the 'date modified' to help quickly locate the files (this could be me or someone else and we will have a rough idea of when the file was created).
At the moment every file that is created has a 'date modified' of 12/10/2012 14:43. Does anyone know where this date comes from (the MIAC or the serial expansion unit) and can it be modified so that it ties up with the real time clock of the advanced expansion unit.
My fall back route is to number each file sequentially and keep a manual log of when each file was taken, backed up with a time stamp at the head of each file.
Regards Dave
I'm making a data logger using a MIAC unit with Serial and Advanced expansion units so that I can log to an SD card and put a time stamp on each piece of data.
I'm using Flowcode 5 as I can't yet program in 'C'. I've got the card logging data okay.
When It comes to looking at data files that have been created, as you can't use long filenames in the FAT16 format, I want to use the 'date modified' to help quickly locate the files (this could be me or someone else and we will have a rough idea of when the file was created).
At the moment every file that is created has a 'date modified' of 12/10/2012 14:43. Does anyone know where this date comes from (the MIAC or the serial expansion unit) and can it be modified so that it ties up with the real time clock of the advanced expansion unit.
My fall back route is to number each file sequentially and keep a manual log of when each file was taken, backed up with a time stamp at the head of each file.
Regards Dave