Difference between revisions of "Brainvision"

From TSG Doc
Jump to navigation Jump to search
Line 31: Line 31:
  
 
== Python ==
 
== Python ==
 +
<nowiki>
 +
#!/usr/bin/env python
 +
 +
# import the rusocsci.buttonbox module
 +
from rusocsci import buttonbox
 +
 +
# make a buttonbox
 +
bb = buttonbox.Buttonbox()
 +
 +
# wait for a single button press
 +
bb.sendMarker(100)
 +
core.wait(0.002)
 +
bb.sendMarker(0)

Revision as of 09:44, 1 May 2014

Brainvision

File:Brain-vision-llc.png

Software Documentation

Find the Brainvision analyzer manual here Media:BrainVision_Analyzer_UM.pdf

Find the Brainvision recorder manual here Media:BrainVision_Recorder_UM.pdf

Find the Brainvision macro cookbook manual here Media:Macro_Cookbook.pdf

Find the Brainvision RecView manual here Media:BrainVision_RecView_UM.pdf

Find the Brainvision Automation manual here Media:Automation_Reference_Manual.pdf


EEG Markers

Presentation

-TemplateINFO.pcl

output_port Oport = output_port_manager.get_port( 1 );


-TemplateSUBS.pcl

Oport.send_code(100); #This is your marker code, range code 1-255

wait_interval(2); #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate

Oport.send_code(0); #Back to 0; now ready to send a new code

Python

<nowiki>
  1. !/usr/bin/env python
  1. import the rusocsci.buttonbox module

from rusocsci import buttonbox

  1. make a buttonbox

bb = buttonbox.Buttonbox()

  1. wait for a single button press

bb.sendMarker(100) core.wait(0.002) bb.sendMarker(0)