User Reference:BCI2000Certification
Introduction
BCI2000 v2.0 and higher includes a certification procedure that can determine whether a computer system is capable of running all or some BCI2000 applications. Because BCI2000 does not have a standardized hardware configuration, i.e., it can run on potentially any PC, this testing procedure is capable of running on any PC with BCI2000, with the results reporting which standard BCI2000 applications meet the minimum timing requirements. Different configurations are included in the certification procedure to test a range of likely setups for a given application, in which timing characteristics such as the sampling rate, inter-stimulus intervals, and stimulus duration, and other parameters, such as the number and size of the stimuli, are changed for each configuration.
This document serves as the instruction manual for using the certification procedure, and describes how the procedure works to determine the timing characteristics of the BCI2000 system. The primary use for the certification procedure is to determine if the PC configuration used with BCI2000 is capable of running the core BCI2000 system, which is comprised of:
- Support for the the g.tec series of amplifiers, including the g.USBamp, g.MOBIlab, and the g.MOBIlab+ (bluetooth) amplifiers.
- The AR, P3, FFT, and Matlab signal processing modules.
- The CursorTask, P3Speller, and StimulusPresentation application modules.
Additionally, due to the extensibility of BCI2000, researchers who develop custom algorithms and applications, or use amplifiers not made by g.tec, can use the certification procedure to determine whether their custom modules are capable of running on a particular PC configuration.
The certification procedure works by comparing the differences in time of when BCI2000 expects an event to occur to when that event actually occurred. These events include a change in the display, an audio output through the system speakers, or an EEG sample being stored in the amplifier buffer. The times at which such events occur are recorded with the amplifier and stored in a data file. Changes in the display are found using an optical sensor in combination with the g.TRIGbox. The g.TRIGbox is a signal conditioner that generates trigger pulses for various sensors or input signals. When the sensor exceeds a threshold, the g.TRIGbox outputs a digital signal which is recorded on the amplifier. A similar procedure is used for audio detection: the sound output from the PC is input to the g.TRIGbox, and when the volume exceeds threshold, a high digital signal is output and recorded by the amplifier. This information can be used because BCI2000 stores a time-stamp for every event during an experiment. The difference between a time-stamp value and the time that the recorded event changes values are compared to find the latency for that particular event.
These latencies can be affected by many external influences, including hardware deficiencies (such as low RAM, slow CPU speed, or a video card of low quality), and other software running in the background while the experiment is being run.
This document serves as the BCI2000Certification manual. A discussion and derivation of the specific system latencies are found at HERE.
Compiling the BCI2000Certification Programs
The BCI2000Certification procedure actually consists of two separate programs, including a graphical user interface that simplifies the task of selecting and starting tests, and a program that performs the data analysis and returns results. These programs are not compiled automatically with the other BCI2000 programs, and must therefore be compiled manually.
To do so:
- Open the Borland IDE (e.g., Borland 6, Borland 2007, or Borland 2009)
- In
File, selectOpen Project... - Navigate to
BCI2000/src/core/Tools/BCI2000Certification - Select
BCI2000CertGroup.bpg - If Borland 6 is not used, then the projects will be updated to the most recent version.
- Right-click the topmost project in the group, and select
Make All From Hereto compile the programs.
Using the BCI2000Certification Procedure
Starting the User Interface
- The compiled programs can be found in
BCI2000/tools/BCI2000Certification. - Navigate to this folder, and double-click the
BCI2000Certification.exefile. - The certification tool opens, as below.
This program shows a list of all of the procedures to be tested for the loaded configuration. Detailed instructions for using the interface follow.

Loading Configuration Files
The BCI2000 certification procedure uses different combinations of BCI2000 parameter fragments to control the tests. While it is possible to edit these by hand, in most circumstances it is simpler to use the graphical user interface provided.
- In the BCI2000Certification tool, select
File->Open *.ini - Load the file named
BCI2000Certification_32ch_100ms.iniif using a 32-channel system, orBCI2000Certification_16ch_100ms.iniif using 16 channels. (This tutorial assumes a 32-channel system). - All 100 tests in this configuration are loaded into the GUI.