GithubHelp home page GithubHelp logo

Comments (10)

JohnGriffiths avatar JohnGriffiths commented on September 15, 2024

Can you repeat and show screen outputs for device = muse2_bfn ?

from eeg-expy.

Parvfect avatar Parvfect commented on September 15, 2024

I get a key-error when I run with muse2_bfn as the device. Am I doing something wrong?

from eeg-expy.

JohnGriffiths avatar JohnGriffiths commented on September 15, 2024

Yes something not right if you're using the above script and getting a key error.

We need to get back to step 1.

Please try:

  • fresh clone of eeg-notebooks (rename as '_temp' or '_v2' or whatev)
  • go in to folder, create new environment, activate environment, pip install -e .
  • Turn on muse
  • On command line eegnb checksigqual -ed muse2_bfn
  • If not working: repeat a few times; make sure bluetooth is on
  • If you get errors from this, please share screenshot here.

from eeg-expy.

Parvfect avatar Parvfect commented on September 15, 2024

So it works with muse2 (the signal quality check), but if I do muse2_bfn, I get this
image

from eeg-expy.

JohnGriffiths avatar JohnGriffiths commented on September 15, 2024

Do you mean it works with muse2 when bluemuse is running?

Try one more time: close conda terminal, close bluemuse, open new conda terminal, run _bfn signal check.

(Brainflow can get confused if there's been other recent communication with the device by currently running programs)

from eeg-expy.

Parvfect avatar Parvfect commented on September 15, 2024

Yeah so it works with bluemuse and muse2. On closing bluemuse and independently running brainflow via the _bfn run check, I get this error as before
image

from eeg-expy.

JohnGriffiths avatar JohnGriffiths commented on September 15, 2024

Next steps on this:

  • try again a few times; reset computer, turn off bluetooth, reset muse, etc.

  • do you have another computer you could try this on by any chance?

  • if problem still persists then post issue in brainflow-dev/brainflow github repo with the screenshot you took using the brainflow calls directly. Key information here would be if the enable_dev_board_logger has added any usable error info, such as a text snippet with error number or message or something

  • drop link to the brainflow-posted issue in comment on this thread, and also link back to this thread on the brainflow issue. Also repeat the brainflow issue post, at least in part, on this thread for clarity.

  • I believe brainflow has been having some issues with some Windows 11 releases. Solution may be to compile brainflow locally, rather than pip install. A bit of a drag but not a huge deal, easy to do. Let's see what Andrey says.

from eeg-expy.

Parvfect avatar Parvfect commented on September 15, 2024

brainflow-dev/brainflow#531

Issue opened in Brainflow

Unable to prepare the streaming session after finding Muse2 using direct calls to Brainflow.

Code:

from brainflow.board_shim import BoardShim, BoardIds, BrainFlowInputParams

params = BrainFlowInputParams()
board_id = BoardIds.MUSE_2_BOARD

board = BoardShim(board_id, params)
board.enable_dev_board_logger()

board.prepare_session()

Screenshot of Error
image

from eeg-expy.

Parvfect avatar Parvfect commented on September 15, 2024

Original problem with respect to data streaming has been solved by using BlueMuse backend. The problem was that my file had an open call to streaming which was fixed by adding the following,

if __name__ == '__main__':
    # Do the Experiment

However, setting up a streaming session using Brainflow is still unresolved and listed above.

from eeg-expy.

oreHGA avatar oreHGA commented on September 15, 2024

Summary:

from eeg-expy.

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.