Data Log File Update Cycle

yoosungyoosung South Korea

Hi,
I would love to get some advice from the forum Gurus on the Data Log file update cycle.

In terms of the Ganglion board, which has a sampling rate of 200Hz, does the Data Log file get updated with 200 samples per second as well?

In short, what is the update cycle of the Data Log file?

Insight would be much appreciated!
Thank you.

Best regards,
Yoosung

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Yoosung, hi.

    Generally operating system file I/O functions are BUFFERED. So that data is accumulated until the buffer is filled, then it is flushed to disk. So the answer is, no, the disk file is not updated 200 times per second.

    If you want faster access to the data stream, you can use the Brainflow library from your language of choice. Or alternatively, the GUI has a Networking Widget, that can stream out the data in the protocol of your choice.

    William

  • yoosungyoosung South Korea

    Thanks William.
    On another note, I find that changing the file's location (Brainflow Streamer -> File -> Custom) gives me only the csv file.
    Is there a way to get the txt file as well?

    Best,
    Yoosung

  • wjcroftwjcroft Mount Shasta, CA

    @yoosung said:
    On another note, I find that changing the file's location (Brainflow Streamer -> File -> Custom) gives me only the csv file.
    Is there a way to get the txt file as well?

    See this related thread,

    https://openbci.com/forum/index.php?p=/discussion/3533/gui-v5-1-0-missing-playback-file#latest

Sign In or Register to comment.