sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
107 stars 63 forks source link

Connection problem from Windows to Linux #202

Open satoshi5454 opened 1 year ago

satoshi5454 commented 1 year ago

I have a problem related to LSL connection from windows to Linux. An inlet working on Linux can't find an outlet working on Windows. The detail is below:

I have 3 programs.

I run program1 and program2 on the same Windows PC (Windows 10), and program3 on the Linux PC (Ubuntu 20.04). If I run program2 before program1, program3 can find the outlet of program2 and get data. But I run program1 before program2, program3 can't find the outlet of program2.

When I use Lab Recorder working on the Linux PC, Lab Recorder can't find the outlet of program2 in the case that program1 has been run before program2.

Instead of my own programs, I use the SendData.exe of the lslexamples (program1), and the simple MATLAB program that only gets data and sends it using LSL (program2), then Lab Recorder on the Linux PC can't find the outlet of the MATLAB program similarly.

Do you have any ideas to solve this problem?

cboulay commented 10 months ago

To summarize:

Windows PC: NI board C++ --> Matlab processing --> Linux (20.04): --> Python feedback

Linux cannot resolve the Matlab stream if the NI stream is created first.

Hmm, that's definitely a weird one. I guess it has to do with multicast packets.

Check here and here.