Welcome! Log In Create A New Profile

Advanced

EEG event markers not coming inside .xdf file

Posted by palash 
EEG event markers not coming inside .xdf file
February 22, 2025 01:27PM
Hi Jaweon,

I am trying to add event markers inside EEG stream via lsl using Neuroelectrics eeg device but event markers aren't visible inside .xdf file which is recorded using lab-recorder.

I am wondering if there's any way to get event markers inside .xdf file , so that i can do post analysis on eeglab.

It's hard to analyse EEG timeseries data stored inside analog.lsl variable and that's not preferred too.
Re: EEG event markers not coming inside .xdf file
February 22, 2025 04:15PM
You are asking the question to a wrong person. You should ask it to the maker of the software that generates the .xdf file.
Re: EEG event markers not coming inside .xdf file
February 22, 2025 07:00PM
I mean event markers are coming properly using psychopy in .xdf file but not in monkeylogic using matlab code.

Seems like there's a miscommunication between monkeylogic and EEG device.

Can you please provide any matlab functions which will ensure that event markers are properly aligned using lsl and stored inside .xdf file.
Re: EEG event markers not coming inside .xdf file
February 24, 2025 07:32PM
If you have a psychopy function that works for this already, why don't you write a MATLAB function that does the same thing? Are you saying that you did so but it did not work?

By the way, you can call python functions from MATLAB, too.
Re: EEG event markers not coming inside .xdf file
February 27, 2025 05:18AM
Yes , i did so but lsl_loadlib library is not even detecting the defined lsl streams and Monkey logic Gui hangs up if i try to open lab recorder in background to record the data in xdf format.
Re: EEG event markers not coming inside .xdf file
February 27, 2025 11:07PM
I guess you probably did not use lsl_loadlib correctly, but neither lsl_loadlib nor LabRecorder was built by me, so you have to contact the developers of those applications if you think there is something wrong with them.

I do not know whether LabRecorder allows running other applications at the same time. You should try running it on another computer. It is not a good idea anyway to slow down NIMH ML by running other applications together.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.