Data timestamp
I'm trying to write a client for OpenBCI with C#, I succeeded in getting the data into a csv, but I noticed I could not find any reliable way of telling the actual timestamp of the data origin. The 33 byte packet does not have any timestamp on it, the sample id is the same for the whole chunk of data transferred. These data chunks do not come at a regular interval or with regular size. I was able to form them into 33 byte packets and interpret the data they carry but there is no way of telling if they are ordered correct, and when they originated.
The time part is crucial for any cue based BCI. I wonder if this information is already available by some other means? How do other software like the GUI handle it?
I apologize for being superficial and not digging into the code myself, but I would like a direct answer if possible from the community.
Regards,
Dhruv
Comments
http://openbci.com/forum/index.php?p=/discussion/198/timing-marks-buffering-delays-etc
http://openbci.com/forum/index.php?p=/discussion/200/latency-timer-windows-control-panel-setting
http://openbci.com/forum/index.php?p=/discussion/199/latency-timer-os-x-new-info-plist
---
The ADS1299 is sampling at 250 samples/sec. So you can interpret the packet index as 1/250th of a second ticks. All packets are ordered as they were received. If you are referring to synchronization of your EEG with external timing signals, that's on the first link above.
No EEG amp that I am aware of puts 'absolute' time stamps in the data stream.
William
https://github.com/ChrisVeigl/BrainBay
William