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

ValueError: length of the sample (35) must correspond to the stream's channel count (36). #1

Open
Nicobruno92 opened this issue Jun 2, 2023 · 1 comment

Comments

@Nicobruno92
Copy link

I am trying to run the run.bat. It starts but yield this error.

Received Variable : ['CNT', 'TIME', 'TIME_TICK', 'FPOGX', 'FPOGY', 'FPOGS', 'FPOGD', 'FPOGID', 'FPOGV', 'LPOGX', 'LPOGY', 'LPOGV', 'RPOGX', 'RPOGY', 'RPOGV', 'BPOGX', 'BPOGY', 'BPOGV', 'LPCX', 'LPCY', 'LPD', 'LPS', 'LPV', 'RPCX', 'RPCY', 'RPD', 'RPS', 'RPV', 'CX', 'CY', 'CS', 'BKID', 'BKDUR', 'BKPMIN', 'USER'] Traceback (most recent call last): File "C:\Users\cocud\Documents\lsl-gp3\gp3-to-lsl.py", line 176, in <module> outlet_gaze.push_sample(samplegaze) File "C:\ProgramData\Anaconda3\lib\site-packages\pylsl\pylsl.py", line 454, in push_sample raise ValueError("length of the sample (" + str(len(x)) + ") must " ValueError: length of the sample (35) must correspond to the stream's channel count (36).

@hynchl
Copy link
Owner

hynchl commented Oct 23, 2023

My apologies for the delay in responding.

I hope you've managed to resolve the issue by now. If not, you might want to try changing the num_column value to 35. You can find the specific code here.

Feel free to reach out if you still need help with this or have any other questions.

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