Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected END_BYTE found <2> instead of <192> #20

Open
npdrbong opened this issue Dec 28, 2022 · 1 comment
Open

Unexpected END_BYTE found <2> instead of <192> #20

npdrbong opened this issue Dec 28, 2022 · 1 comment

Comments

@npdrbong
Copy link

Hi, everyone.

I am new on openbci and try to make it lsl stream for my research.

when I try to start lsl, this error message printed.

Do you have any idea what's going on and how can I fix this?
Streaming data... WARNING:root:ID:<1> <Unexpected END_BYTE found <2> instead of <192> Warning: ID:<1> <Unexpected END_BYTE found <2> instead of <192> Exception in thread Thread-1 (start_streaming): Traceback (most recent call last): File "C:\Users\Bong Suhyeon\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\Bong Suhyeon\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\Bong Suhyeon\Downloads\OpenBCI_LSL-master\OpenBCI_LSL-master\lib\open_bci_v3.py", line 158, in start_streaming sample = self._read_serial_binary() File "C:\Users\Bong Suhyeon\Downloads\OpenBCI_LSL-master\OpenBCI_LSL-master\lib\open_bci_v3.py", line 225, in _read_serial_binary unpacked = struct.unpack('3B', literal_read) struct.error: unpack requires a buffer of 3 bytes

@jielingl11
Copy link

So have you solved this problem? I encountered the same warning messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants