question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

muselsl via BLE112 not streaming on Windows 10

See original GitHub issue

Hiya, I’m running on python3.7, 32bit Win10 on a pretty old laptop that doesn’t have a built-in bluetooth receiver so am using a BLE112 dongle and the bgapi backend.

muselsl will happily find the device but when I start a stream it’s timing out almost immediately, looks like its just not getting any data through:

$ muselsl stream -b bgapi --address 00:55:DA:B3:9A:2C c:\users\michael\appdata\local\programs\python\python37-32\lib\site-packages\sklearn\externals\joblib\externals\cloudpickle\cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp Connecting to Muse : 00:55:DA:B3:9A:2C... Connected. Streaming... Disconnected.

Seems like a very similar issue to #59 Any advice?

EDIT: managed to get a visualiser to try and view the stream before it disconnects. Showing up as empty traces from -5s to 0s which further implies that it’s not receiving samples at all eegtrace_nostream muselsl view then reports: Stream transmission broke off (Input stream error.); re-connecting...

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
mgpritchardcommented, Nov 19, 2018

Thanks for the advice, that does seem to have done the trick! Running now in a miniconda environment with python 3.6.7, and the dependencies from https://github.com/amandakeasson/eeg-notebooks/blob/master/requirements_mac.txt

Now getting data through! The stream does report: missing sample 0 : 65535 but the stream no longer kicks out and is definitely receiving data: image

For completeness I should mention that I’ve also implemented the time.sleep(.25) fix referenced in peplin/pygatt/issues/118. I’d already implemented that on Friday when the stream still wasn’t working so it seems to be a wholly separate issue to do with pygatt accessing the COM port, but worth mentioning.

1reaction
jdpigeoncommented, Nov 20, 2018

This is awesome. Thanks for figuring this out

Read more comments on GitHub >

github_iconTop Results From Across the Web

muselsl · PyPI
Stream and visualize EEG data from the Muse 2016 headset.
Read more >
How to OSC streaming data with a 2016 Muse? - Mind Monitor
Here is some new staff for streaming. Not OSC streaming, but Lab Streaming Layer for Muse 2 and Muse 2016, with nice colourful...
Read more >
Muse and OpenVibe 2.1.0 - OpenViBE forum - Inria
I do following steps: 1)connect to muse via muse-lsl so to start the LSL stream ~/muse-lsl# python muse-lsl.py -n Muse-8E22
Read more >
alexandre barachant muse-lsl Issues - Giters
alexandre barachant muse-lsl: Python script to stream EEG data from the ... Using a newer version of pylsl ... ERROR on Windows 10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found