Page 1 of 1

analyze neuroscan datas in realtime?

Posted: 14 Sep 2016, 19:42
by d5006erh
i want to use bci2000 and neuroscan to contribute an online system in able to use matlab functions to analyze eeg signals in realtime.
i have set bci2000 and neuroscan into an online simulator,and i use it acquire eeg signals.
i have some matlab functions can analyze neuroscan data(.cnt) files.
but bci2000 can only get eeg signals in *.dat files.
are there any ways to convert the file format from *.dat to *cnt?or any other solution to solve this problem?



sorry for my poor english
saku

Re: analyze neuroscan datas in realtime?

Posted: 15 Sep 2016, 18:10
by pbrunner
D5006ehr,

you have several options to export the data:

1) In real-time you can stream the data to an application listening at an UDP port:
http://www.bci2000.org/wiki/index.php/T ... _Connector

2) Offline by converting the BCI2000 data file into ASCII format:
http://www.bci2000.org/wiki/index.php/U ... 2000Export

3) Offline by loading the BCI2000 data into MATLAB:
http://www.bci2000.org/wiki/index.php/U ... _MEX_Files

4) Offline by loading the BCI2000 data into EEG-Lab:
http://www.bci2000.org/wiki/index.php/U ... GLabImport

Let me know if this answers your question.

Regards, Peter

Re: analyze neuroscan datas in realtime?

Posted: 27 Sep 2016, 01:47
by d5006erh
hi,peter

sorry for the late reply´╝îand thank you for your valuable advice
i will try these options,and i will give the feedback for several days,maybe in this week

thanks
saku

Re: analyze neuroscan datas in realtime?

Posted: 19 Oct 2016, 18:12
by d5006erh
pbrunner wrote:D5006ehr,

you have several options to export the data:

1) In real-time you can stream the data to an application listening at an UDP port:
http://www.bci2000.org/wiki/index.php/T ... _Connector

2) Offline by converting the BCI2000 data file into ASCII format:
http://www.bci2000.org/wiki/index.php/U ... 2000Export

3) Offline by loading the BCI2000 data into MATLAB:
http://www.bci2000.org/wiki/index.php/U ... _MEX_Files

4) Offline by loading the BCI2000 data into EEG-Lab:
http://www.bci2000.org/wiki/index.php/U ... GLabImport

Let me know if this answers your question.

Regards, Peter
hi peter,
sorry for late reply.
Now i can stream neuroscan data to bci2000 with the toolbox of matlab called fieldtrip,but the streams can only be read in matlab,not analysis.
And i can use the EEGLabImport loading the data files,i don't know how to use it to analysis the eeg data.
Our lab have some method(based on eeglab) to analyze the cnt of neuroscan,I tried to convert the program in order to deal with bci2000 dat files,but i failed.
I think next step should be stream bci2000 data into eeglab of matlab,or any other suggestions?
Thank you for your help

saku

Re: analyze neuroscan datas in realtime?

Posted: 19 Oct 2016, 18:47
by pbrunner
D5006ehr,

you have two options to acquire data from Neuroscan devices in BCI2000 and to process them in real-time using MATLAB code.

(1) Using the NeuroscanADC.exe as the source module [1] and the MatlabSignalProcessing.exe as the signal processing module [2]. This requires that you have the Scan 4.5 application along with the necessary dongle running on your acquisition machine.

(2) Using the NeuroscanAccessSDK.exe as the source module [3] and theMatlabSignalProcessing.exe as the signal processing module [2]. This requires that you have a dongle for the NeuroscanAccessSDK.

Regards, Peter

[1] http://www.bci2000.org/wiki/index.php/P ... tlabFilter
[2] http://www.bci2000.org/wiki/index.php/C ... nAccessSDK
[3] http://bci2000.org/phpbb/viewtopic.php?f=9&t=3460

Re: analyze neuroscan datas in realtime?

Posted: 19 Oct 2016, 18:47
by pbrunner
D5006ehr,

you have two options to acquire data from Neuroscan devices in BCI2000 and to process them in real-time using MATLAB code.

(1) Using the NeuroscanADC.exe as the source module [1] and the MatlabSignalProcessing.exe as the signal processing module [2]. This requires that you have the Scan 4.5 application along with the necessary dongle running on your acquisition machine.

(2) Using the NeuroscanAccessSDK.exe as the source module [3] and theMatlabSignalProcessing.exe as the signal processing module [2]. This requires that you have a dongle for the NeuroscanAccessSDK.

Regards, Peter

[1] http://www.bci2000.org/wiki/index.php/P ... tlabFilter
[2] http://www.bci2000.org/wiki/index.php/C ... nAccessSDK
[3] http://bci2000.org/phpbb/viewtopic.php?f=9&t=3460