16 channel sample rate, streaming vs SDcard
Hi Folks
Having fun working with the OpenBCI Cyton board with the daisy board. I'm still struggling trying to figure out the sampling rate and am hoping someone out there can help. The documentation says that the sampling rate is set to 125Hz when streaming 16 channels of data. However, in the code everything seems to assume the data are coming in at 250Hz. I'm getting ready to start collecting EEG data and can't really figure out a reliable way to test and see what the actual sampling rate of the incoming data is. I don't have a function generator that can generate small enough signals, and I can't figure out exactly what the "test" signal is so that I can use that to try to figure this out. Can any of the gurus out there answer these 3 questions for me:
(1) When streaming 16 channels of data, what is the sampling rate of the recorded stream of data?
(2) When collecting 16 channels of data, what is the sampling rate of the data recorded on the SD card (I'm pretty sure this is 250Hz)?
(3) If I start collecting data with the GUI and close the GUI without stopping the stream, will data continue being collected on the SD card?
I've been trying hard to figure out the answers to my questions by looking through the GUI code, and have figured out the answers to a bunch of other questions, but I'm still struggling with these. Any input would be GREATLY appreciated. I'd really like to start collecting some EEG data next week.
Thanks!
Dan
Comments
Mentioning @dancingdarwin, AJ Keller @pushtheworld, and @yj.
The SD card does record directly at 250 Hz. When streaming however, the over-the-air samples are (essentially) averaged / alternated 8 channels at a time, downsampled to 125 Hz. It's possible to avoid this by using the wired USB option, then you get the full intact stream in realtime, at up to 500 Hz. But this is somewhat tricky to setup; a couple other threads cover this.
I'm going to let yj or AJ answer the SDcard continuity question.
William
http://openbci.com/forum/index.php?p=/discussion/comment/4225/#Comment_4225
Dan
AJ has plans for integrating the wired USB capability into V3 of the firmware. There is a V2 version available here,
http://openbci.com/forum/index.php?p=/discussion/915/using-wired-usb-connection-with-firmware-2-x-x#latest
The V1 version is on that previous link I gave regarding how the 125 hz averaging is done.
William