-
Notifications
You must be signed in to change notification settings - Fork 45
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
Labrecorder freezers when trying to save a stream with markers #77
Comments
Yes, this works fine. We actually discovered that the problem is that we cannot collect 2 streams at once. Only the EEG or only the LSL marker stream works just fine. Problem is we need both to test the delay between the amplifier and LSL stream
<edited by cboulay to delete e-mail cruft>
|
LabRecorder can record from many streams. Make sure that each stream has its own unique name and unique_id. |
Thank you so much for replying to us. Yes, the Lab Recorder can record any streams only if they are not empty, otherwise, it would be crashed. And yes we are going to send our customized markers and collect it as well as the BrainAmp markers at the same time. Below is a test script used to create 2 streams. The data being pushed into the 2ed stream is empty and can not be collected by LabRecord or something. This issue happened in some particular computers but works well in others. Thank you again and if you have any idea about this I would be very appreciated!
|
I don't see any obvious reason why this wouldn't work. There might be something strange about the Matlab lib in certain operating systems. Could it be necessary to open multiple independent instances of the library? That seems strange. I'm sorry but I almost never use the Matlab library so I have no guesses here. Let's ping @dmedine who has more experience in Matlab and with BrainAmp. |
Thank you that's helpful! |
That is very unusual. Can you tell me more about the computer that is having trouble? Is it a Mac? Does it have VM or Docker installed? Sometimes liblsl has trouble advertising a stream to its neighbours when it can't figure out which devices it should use to do its networking. It can get confused by virtual network adapters created for VMs. There was a recent change to liblsl in version 1.16 (in a branch, not yet in main) that fixes this. Maybe that will help you. But usually when that happens it manifests as the stream not being visible. But it sounds like in your case that the stream is visible only it's not transmitting data (or at least the data aren't being received). I still think it's a bad network configuration but I can't narrow it down more than that. There are some things that can be done to debug but that would require building C++ applications and using a debugger. If you're willing to go through that then I can provide a little extra guidance. If you are not willing to do that then the next step would be to reinstall the OS. |
It's Windows 10. I will check more information when I access the lab pc. Before that, I just found the exact same issue has been put out Issue23, which is streaminfos always just contains a single pointer to a stream, although there are multiple streams visible from lab recorde. And you also answered it at the end saying modifying the KnownPeers parameter in the lsl_api.cfg file. But I could not find a lsl_api.cfg anyway, and also the link you've game might be expired? So can you maybe specific the solution of "modifying lsl_api.cfg"? Thank you for helping! |
Sorry I don't know how I missed this message before. https://labstreaminglayer.readthedocs.io/info/lslapicfg.html |
Thank you! That would be helpful! |
Dear all,
We are working on Windows PC with x64 processor and Windows 10 installed. For timing testing purposes we are sending out a marker stream and brainamp eeg stream. The recording starts as normal but when saving the lab recorder freezes and the markers are not saved in the data file. We tried all 4 releases of labrecorder. Any idea what could be the problem?
Best
Inge (Maastricht University)
The text was updated successfully, but these errors were encountered: