GithubHelp home page GithubHelp logo

Comments (2)

Andrey1994 avatar Andrey1994 commented on August 27, 2024

Hi,first of all https://docs.openbci.com/Troubleshooting/FTDI_Fix_Windows/#:~:text=The%20fix%20is%20easy.,terms%20of%20packet%20time%20intervals.

Also, idk what your code exactly does but it looks like it contributes a lot in the gaps.

To see if there are real brainflow related gaps or not, store data from a single run of get_board_data into a file and check timestamps there.

from brainflow.

ttrichar avatar ttrichar commented on August 27, 2024

Hi Andrey,

Thanks for the reply. I initially thought that my looping logic might have had something to do with it too, so I simplified the code to just take a single 5 second sampling of data, and still found that there were .5 second gaps, all within the same polling period.

Edited the code to look like this:

`board_shim.start_stream();

System.Threading.Thread.Sleep(5000);

Globals.UNPROCESSED_DATA = board_shim.get_board_data();`

I then look at the 2d array that is returned in UNPROCESSED_DATA, and found the same gaps within the data

image

image

image

image

I still need to look into the latency setting that you mentioned, although I'm not using the OpenBCI GUI, so I'm trying to find how to set the latency directly within my program

from brainflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.