Page 1 of 2
how to connect BCI and NeuroScan Software
Posted: 03 Oct 2008, 15:47
by oubosarah
Hi,
I am Bo, a new student in BCI2000. I have installed the software and want to connect the EEG system named NeuroScan with BCI together and do experiment online. However I have no idea how to deal with it. Should I "implementing a Data Acquisition Module", code by myself and then apply it? Thanks for your help!
Bo Ou
Ph.D candidate in Industrial and System Engineering
State University of New York at Buffalo
Neuroscan ...
Posted: 03 Oct 2008, 20:17
by gschalk
Bo,
You should need to write any code to use the Neuroscan devices. All relevant info is documented on doc.bci2000.org.
In particular, I would first take the introductory tour on
http://www.bci2000.org/wiki/index.php/U ... I2000_Tour
and then check out the Neuroscan documentation on
http://www.bci2000.org/wiki/index.php/C ... uroscanADC
In short, all you need to do is to:
1) compile the system or get the compiled binaries
2) modify a batch file to use Neuroscan.exe instead of the SignalGenerator.
3) Load the parameter file that corresponds to the original batch file and change the parameters to connect to the Neuroscan Scan software. When you start BCI2000, make sure that the server functionality in Scan is activated.
I hope this helps.
Gerv
module "neuroscan.exe"
Posted: 09 Oct 2008, 15:35
by oubosarah
Hi, Grev
Thanks for your help last time. Now I have another question, how to build the module "neuroscan.exe". Thanks again.
building BCI2000
Posted: 09 Oct 2008, 15:39
by gschalk
Posted: 09 Oct 2008, 17:39
by oubosarah
Hi, Grev
I wonder where is BCI2000 "src" directory, because I cannot find it in the installation files. Thanks very much!
Bo
source code ...
Posted: 09 Oct 2008, 19:33
by gschalk
Bo,
Please follow the link to "Get access to the BCI2000 Source Code" on the main documentation on doc.bci2000.org for instructions on how to download the source code.
Gerv
binaries ...
Posted: 10 Oct 2008, 07:03
by gschalk
Bo,
I forgot to mention that you may also download the binary distribution of the modules contributed by users, which includes the Neuroscan.exe module. Please see:
http://www.bci2000.org/wiki/index.php/B ... buted_Code
In case you will need to change the source code at some point, go ahead as I suggested previously.
Gerv
Posted: 17 Oct 2008, 16:24
by oubosarah
Hi, Grev
I downloaded the BCI2000Contrib.exe from the link
http://bci2000.org/downloads/bin/BCI2000Contrib.exe and then install it, however after intalling I still cannot find the file "SRC". Could you tell me why or how to fix it?
Posted: 18 Oct 2008, 11:20
by mellinger
Bo,
the BCI2000Contrib distribution contains a pre-compiled version of the Neuroscan module, located in the prog directory, and named "Neuroscan.exe".
In order to use it, modify a batch file from the batch directory that is closest to what you need. When you plan to do cursor feedback, this would be the file batch/CursorTask_SignalGenerator.bat. In a copy of this file, replace the reference to "SignalGenerator.exe" with "Neuroscan.exe".
Then, start up BCI2000 from the modified batch file.
The src directory contains the BCI2000 source code, and is not part of BCI2000 binary distributions.
You don't need access to the BCI2000 source code unless you actually want to write your own BCI2000 component, or modify an existing one. Please, see
http://www.bci2000.org/wiki/index.php/P ... ource_Code for details about how to access the BCI2000 source code.
Best,
Juergen
Posted: 20 Oct 2008, 16:49
by oubosarah
Hi,
Thanks for your help! We have connected the Neuroscan and BCI2000 together. Currently our problem is setting the parameters in Configuration. We have 40 channels cap, but the interface only shows 32 channels and also one error massage " SpatialFilter::Preflight: The input signal's number of channels must match the number of columns in the SpatialFilter parameter." Could you pls tell me how to get the parameters BCI2000 need from Neuro Aquire or how to fix the error massage?
Thanks again!
Bo
Neuroscan ...
Posted: 20 Oct 2008, 20:51
by gschalk
Bo,
Congratulations!
The answers to your remaining questions are all described in the documentation. In order to make sure you have all 40 channels and they are configured properly, please use the neurogetparams tool described on
http://www.bci2000.org/wiki/index.php/C ... uroscanADC
and make the appropriate changes to the parameters in the Source tab.
Then, make sure the number of channels you transmit to Signal Processing (using TransmitChList) equals the number of columns in the SpatialFilter as described on
http://www.bci2000.org/wiki/index.php/U ... tialFilter
If you do not want to do online signal processing at the moment, simply transmit as many channels as you have columns in your spatial filter.
Gerv
Posted: 28 Oct 2008, 11:58
by oubosarah
Hi, Grev
Thanks for your great help! The system in our lab is working now. We will run subject in next step. Do you have some suggestions for us about how to train the subjects before we do the experiment for example: the cursor task.
Bo
examples ...
Posted: 29 Oct 2008, 07:01
by gschalk
Bo,
You may want to consult the BCI2000 documentation. On the main page on doc.bci2000.org, you find tutorials on mu rhythm and P300-based BCI experiments.
I hope this helps.
Gerv
Posted: 31 Oct 2008, 16:04
by oubosarah
Hi, Grev
Today I ran the Cursor Task, and after 3 trials, there was an error"Signal Processing: caught exception Eoverflow, terminate module". What does this mean? Can you give me some suggetion to solve the problem?
Exception
Posted: 01 Nov 2008, 07:16
by gschalk
Bo,
Can you please update to the latest version of BCI2000 and try again? Are the modules that you are using standard modules or self-written routines? If the error persists and you are using a standard configuration, then we would like to get a hold of your parameter file to replicate and fix the issue.
Gerv