openyou / emokit

Open source driver for accessing raw data from the Emotiv EPOC EEG headset

Home Page:http://www.openyou.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

headset.dequeue() is None

shihray opened this issue · comments

Hello, I'm trying to use a thread to do my work before start load packet using headset.dequeue()
then I can't get the packet result (it will become None)
so is that can't use thread with emokit together?

Your thread is executing before data is returned from the headset.

You need to add a check:

if packet is not None:
    print(packet)

@bschumacher I doing this before my work
my question is the data return from headset was all None
I can't get another result