hynchl / lsl-gp3

Send data of GazePoint GP3 to Lab Streaming Layer (LSL)
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

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

Open Nicobruno92 opened 1 year ago

Nicobruno92 commented 1 year ago

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 commented 11 months ago

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.