11-11-2018, 04:15 AM
It would be nice if you could utilize the highly accurate clock inside the cell phone and timestamp each data point down to the millisecond or higher.
This would become extra useful when you want to align the data with events happening on a different clock than phyphox.
Otherwise you must rely upon several potentially unstable mechanisms for timestamping the data.
Right now when I batch the data out, I am using the timestamp associated with the filename as the closest estimate to when the last datapoint was logged. This allows me to put the data on a real clock. This isnt a terrible solution as it mitigates the data traffic latency that would occur if you sample in real time, but the best solution would be to timestamp the data using the cell phones clock.
This would become extra useful when you want to align the data with events happening on a different clock than phyphox.
Otherwise you must rely upon several potentially unstable mechanisms for timestamping the data.
Right now when I batch the data out, I am using the timestamp associated with the filename as the closest estimate to when the last datapoint was logged. This allows me to put the data on a real clock. This isnt a terrible solution as it mitigates the data traffic latency that would occur if you sample in real time, but the best solution would be to timestamp the data using the cell phones clock.