Contributions:How to use a Contributed Source Module
From BCI2000 Wiki
For maintenance reasons, BCI2000 supports only a limited number of amplifiers in its core distribution. In addition to these fully supported amplifiers, a larger and growing number of data acquisition systems is supported in form of contributed code, written and maintained by BCI2000 users. Contributions:ADCs provides an overview of source modules currently available.
In comparison to using an amplifier from the core distribution, you will need to perform a few additional, simple steps in order to use a contributed source module.
Obtaining a binary version of a Contributed Source Module
Binary versions of contributed source modules are available in the extended binary distribution of BCI2000. Alternatively, you can build contributed source modules from the BCI2000 source code as described here.
Creating batch files
BCI2000 consists of a number of modules that need to be started up in a certain sequence. Typically, this is done using scripts (batch files) located in BCI2000/batch (see User Reference:BCI2000Launcher for a graphical alternative to batch files).
There is one such batch file for each combination of a source module, and a BCI paradigm. In order to use a contributed source module with a certain BCI paradigm, perform these steps:
- Identify the batch file in BCI2000/parms that provides the desired paradigm using the SignalGenerator source module. For the cursor feedback paradigm, this would be CursorTask_SignalGenerator.bat.
- Create a copy of that batch file, and rename it to reflect the name of the source module you would like to use, e.g. CursorTask_Neuroscan.bat.
- Open the newly created file in a text editor.
- Identify the line that refers to SignalGenerator.exe.
- There, replace SignalGenerator.exe with your source module's executable name, e.g. Neuroscan.exe.
- Save the batch file, and run it to start BCI2000 in the desired configuration.
- Repeat these steps for all paradigms you intend to use.
See also
Contributions:ADCs, BCI2000 Binaries, Programming Howto:Building BCI2000
