Difference between revisions of "User Tutorial:Preparing your BCI2000 system for P300 BCI experiments for the first time"

From BCI2000 Wiki
Jump to: navigation, search
Line 24: Line 24:
 
Now we will determine what port your amplifier is connected to by going through '''Start → Settings → Control Panel → System → Hardware → Device Manager → Ports (COM & LPT)'''. In this example, we see that the amplifier is connected to ''COM8''.
 
Now we will determine what port your amplifier is connected to by going through '''Start → Settings → Control Panel → System → Hardware → Device Manager → Ports (COM & LPT)'''. In this example, we see that the amplifier is connected to ''COM8''.
  
<gallery caption="Finding the COM port" widths="100%" heights="100%" perrow="4">
+
<gallery caption="Finding the COM port" perrow="4">
 
Image:ControlPanel-Circled.PNG
 
Image:ControlPanel-Circled.PNG
 
Image:System.PNG
 
Image:System.PNG
Line 34: Line 34:
  
 
Run the <tt>batch\P3Speller_<your amplifier>.bat</tt> file. In this example, we are using the gMOBIlab amplifier, so we would run <tt>batch\P3Speller_gMOBIlab.bat</tt>
 
Run the <tt>batch\P3Speller_<your amplifier>.bat</tt> file. In this example, we are using the gMOBIlab amplifier, so we would run <tt>batch\P3Speller_gMOBIlab.bat</tt>
 
[[Image:BatchFiles.png|center]]
 
  
 
Press the ‘''Config''’ button to bring up the BCI2000 Configuration window
 
Press the ‘''Config''’ button to bring up the BCI2000 Configuration window
Line 43: Line 41:
 
In the '''Visualize''' tab, set ''VisualizeSourceTime'' (Third line under ‘Source Signal’) to 6
 
In the '''Visualize''' tab, set ''VisualizeSourceTime'' (Third line under ‘Source Signal’) to 6
 
*This sets the window showing the brain waves to show 6 seconds of information at a time
 
*This sets the window showing the brain waves to show 6 seconds of information at a time
 +
 +
 +
 +
[[Image:SourceTabCircled.PNG|right|500px]]
  
 
In the '''Source''' tab, set:
 
In the '''Source''' tab, set:
Line 60: Line 62:
 
**This will label the graph with which electrode is which display
 
**This will label the graph with which electrode is which display
  
[[Image:SourceTabCircled.PNG|center]]
+
{|
 +
|height="230px"|
 +
|}
  
 
In the '''Application''' tab, set:
 
In the '''Application''' tab, set:
Line 69: Line 73:
 
**In our example, this would be <tt>2049</tt>
 
**In our example, this would be <tt>2049</tt>
 
**This shifts the character display to the right 2049 pixels, making it display on the secondary monitor
 
**This shifts the character display to the right 2049 pixels, making it display on the secondary monitor
 +
 +
  
 
Press ''‘Save Parameters''’, and save to a file named <tt>P300_copy_speller_<Your_Amplifier>.prm</tt>, or however you deem fit
 
Press ''‘Save Parameters''’, and save to a file named <tt>P300_copy_speller_<Your_Amplifier>.prm</tt>, or however you deem fit

Revision as of 21:53, 9 January 2009

To begin, you first need to gather some system data. For setup, this tutorial will assume that you will be using a dual-monitor setup as shown below, with the administrator of the sessions operating on monitor 1, and the volunteer will be watching monitor 2.

Open Display Properties by right-clicking on an empty portion of the desktop and clicking Properties, and navigating to the Settings tab.

MonitorSetupOrientation.PNG
Make sure that Monitor 2, which displays the character matrix, is on the right of Monitor 1, the experimenter's screen, and is aligned along the top.
MonitorSetupPrimaryRes.PNG
MonitorSetupSecondaryRes.PNG
What we need to make a note of is the width of monitor 1, and the width and height of monitor 2.
In this example we see that Monitor 1 is 2048 pixels wide, and monitor 2 is 1024 pixels wide by 768 pixels tall.

Plug in your adapter and turn it on.

Now we will determine what port your amplifier is connected to by going through Start → Settings → Control Panel → System → Hardware → Device Manager → Ports (COM & LPT). In this example, we see that the amplifier is connected to COM8.

You can now close all open windows.

Run the batch\P3Speller_<your amplifier>.bat file. In this example, we are using the gMOBIlab amplifier, so we would run batch\P3Speller_gMOBIlab.bat

Press the ‘Config’ button to bring up the BCI2000 Configuration window

Press ‘Load Parameters’ and load parameters\<your_amplifier>\parms\P300_copy_speller.prm

In the Visualize tab, set VisualizeSourceTime (Third line under ‘Source Signal’) to 6

  • This sets the window showing the brain waves to show 6 seconds of information at a time


SourceTabCircled.PNG

In the Source tab, set:

  • SourceCh to 8
    • This tells the program that only 8 channels will be sending data
  • ChannelNames to Fz Cz P3 Pz P4 PO3 PO4 Oz
    • This names the channels to the electrode positions they report
  • SourceChOffset to 0 0 0 0 0 0 0 0
    • This tells the program that none of the channels have an offset
  • SourceChGain to 0.019 0.019 0.019 0.019 0.019 0.019 0.019 0.019
    • This is the conversion for each channel for A/D information into microvolts
  • COM port to the port name that you found earlier
    • In this example we would put in COM8:
  • NotchFilter to disable
    • We will use this to identify any poorly-gelled electrodes
  • TransmitChList to Fz Cz P3 Pz P4 PO3 PO4 Oz
    • This will label the graph with which electrode is which display

In the Application tab, set:

  • WindowWidth to the width of the display monitor, found earlier
  • WindowHeight to the height of the display monitor, found earlier
    • In our example, WindowWidth would be set to 1024 and WindowHeight would be set to 768
  • WindowLeft to the width of the experimenter’s monitor plus one
    • In our example, this would be 2049
    • This shifts the character display to the right 2049 pixels, making it display on the secondary monitor


Press ‘Save Parameters’, and save to a file named P300_copy_speller_<Your_Amplifier>.prm, or however you deem fit

This file is now the base parameter file for your amplifier when configuring the system to user-specific settings.


To continue this tutorial, please continue to EEG Measurement Setup