I have tried to create a serial data logger using the pi and a small tracer that can be used in a car. It logs in various information about the car like the GPS information, the temperature,the battery information and various other things and could be used for trouble shooting in case of some problems in the car. I have successfully been able to connect to the logger and access the trace data via the raspberry pi. I store all the information into a file called 'testing.py' .
But I dont want all the data to be stored in the same file by just appending it. I want to try and save the log data in different files with different time stamps. I have not much idea on how to create separate files with different time stamps.
Please help.I have synced the raspberry pi's time with the GPS in the serial device.
Any suggestions are welcome
Namita.