[FieldTrip] rda2ft.exe crashes seemingly at random with no error message

Jostein Holmgren holmgren.jostein at gmail.com
Mon Mar 18 15:17:16 CET 2019


Dear FieldTrip users,

I am using rda2ft.exe to facilitate real-time EEG analyses in Matlab. The EEG is being recorded in BrainVision Recorder, processed in BrainVision RecView and passed on to a separate computer via a crossover Ethernet cable. My real-time analysis script in Matlab will launch both the buffer and rda2ft tools

system(“C:\Users\User\Documents\MATLAB\fieldtrip-20171106\realtime\bin\win64\buffer &”);
cd ('C:\Users\User\Documents\MATLAB\fieldtrip-20171106\realtime\bin\win64\’);
system(‘rda2ft.exe [IP address] 51254 localhost 1972 &’);

before entering a loop in which sampling using ft_read_data and ft_read_event is performed

buff.eeg = ft_read_data(‘buffer://localhost:1972', ‘begsample’, length(dat.eeg)+1, ‘endsample’, inf);
buff.event = ft_read_event(‘buffer://localhost:1972')

This procedure seems to work flawlessly, but every now and then rda2ft.exe will hard crash with no meaningful error message (only the standard “rda2ft.exe has stopped working” Windows error message). The computer is running Windows 8.1 and Matlab R2018a. There doesn’t appear to be any consistent cause of the crashes. The real-time analysis will appear to run stably for a period of time, sometimes even more than an hour, but sometimes rda2ft.exe will crash only after a few minutes.

I realise the lack of error message is not helpful, but any help troubleshooting this issue is greatly appreciated.

Best regards,
Jostein Holmgren
----------------------

Jostein Holmgren
DPhil Student
Anaesthesia Neuroimaging Research Group
Nuffield Department of Clinical Neurosciences
Wellcome Centre for Integrative Neuroimaging, FMRIB Building
University of Oxford

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190318/1500e60c/attachment-0001.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list