User Tutorial:BCI2000PresentationLink
Appearance
Description
BCI2000PresentationLink contains two plug-ins for the NBS Presentation stimulus delivery software, a so-called DataPort Extension which allows to record Presentation events into BCI2000 state variables, and a PCL Language Extension that allows to control BCI2000 from Presentation scripts written in the PCL language.
Tutorial
- Download the Psychopy standalone version from the Psychopy downloads page.
- Copy the folders BCIStart and BCIUpdateState from src/contrib/PsychoPy Components directory of your BCI2000 repository into the folder {$PsychoPyHome}\Lib\site-packages\psychopy\experiment\components folder.
- Open PsychoPy and then open your experiment file (StroopExtended is what we use in the demo)
- Open the part of the experiment where you want to start BCI2000
- Look at the custom section under components
- Add BCI2000 Start Component
- Enter the path to the prog folder in the BCI2000 directory where your BCI2000Remote.py file exists
- Add the states that you want to record separated by commas (the first value will always be the default value and the second value will always be the maximum value)
- Add the BCIUpdateState component to where you want to update state values. You can either choose to simply pass a variable through BCIUpdateState, or you can specify that it execute a specific Python script by choosing the "Use Expression" ticker.
- Run the experiment
Video
Also see the BCPy2000 page for more details on the installation process, APIs, and hooks.