how to connect BCI and NeuroScan Software

This forum deals with BCI2000 configuration issues.
oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

how to connect BCI and NeuroScan Software

Post by oubosarah » 03 Oct 2008, 15:47

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

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Neuroscan ...

Post by gschalk » 03 Oct 2008, 20:17

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

oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

module "neuroscan.exe"

Post by oubosarah » 09 Oct 2008, 15:35

Hi, Grev

Thanks for your help last time. Now I have another question, how to build the module "neuroscan.exe". Thanks again.

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

building BCI2000

Post by gschalk » 09 Oct 2008, 15:39


oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

Post by oubosarah » 09 Oct 2008, 17:39

Hi, Grev

I wonder where is BCI2000 "src" directory, because I cannot find it in the installation files. Thanks very much!


Bo

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

source code ...

Post by gschalk » 09 Oct 2008, 19:33

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

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

binaries ...

Post by gschalk » 10 Oct 2008, 07:03

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

oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

Post by oubosarah » 17 Oct 2008, 16:24

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?

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Post by mellinger » 18 Oct 2008, 11:20

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

oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

Post by oubosarah » 20 Oct 2008, 16:49

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

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Neuroscan ...

Post by gschalk » 20 Oct 2008, 20:51

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

oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

Post by oubosarah » 28 Oct 2008, 11:58

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

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

examples ...

Post by gschalk » 29 Oct 2008, 07:01

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

oubosarah
Posts: 10
Joined: 03 Oct 2008, 15:34

Post by oubosarah » 31 Oct 2008, 16:04

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?

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Exception

Post by gschalk » 01 Nov 2008, 07:16

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

Locked

Who is online

Users browsing this forum: No registered users and 0 guests