OpenBCI_Python and Unusual Dongle Behaviour
Hi there.
I have recently encountered an issue. I was attempting to stream from the OpenBCI board using Python and in the beginning it seemed to work fine, until midway through, the stream was lost. I stopped the stream and exited user.py. I reconnected the dongle, but this time, when I plugged it into my PC, the red LED started blinking a few seconds instead of the usual quick flash. When it switched off, leaving only the blue LED, I tried running user.py and I got this error.
Could someone kindly explain this? I have encountered issues with the dongle before but they are mostly due to the driver. I am not sure about this one, though.C:\OpenBCI_Python-master>python user.py -p=COM3 --add streamer_lslUSER.pyuser.py: open_bci_v3...------------SETTINGS-------------('Notch filtering:', True)user.py: Logging Disabled.-------INSTANTIATING BOARD-------Connecting to V3 at port COM3Serial established...Traceback (most recent call last):File "user.py", line 98, in <module>log=args.log)File "C:\OpenBCI_Python-master\open_bci_v3.py", line 88, in __init__self.print_incoming_text()File "C:\OpenBCI_Python-master\open_bci_v3.py", line 319, in print_incoming_textc = self.ser.read().decode('utf-8')File "C:\Python27\lib\encodings\utf_8.py", line 16, in decodereturn codecs.utf_8_decode(input, errors, True)UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 0: unexpected end of data
Regards,
Sam
Comments