Difference between revisions of "Brainvision"

From TSG Doc
Jump to navigation Jump to search
Line 22: Line 22:
  
 
#TemplateSUBS.pcl
 
#TemplateSUBS.pcl
 +
 
Oport.send_code(100);  #This is your marker code, range code 1-255
 
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
 
wait_interval(2);      #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
Line 37: Line 38:
  
 
# wait for a single button press
 
# wait for a single button press
bb.sendMarker(100)
+
bb.sendMarker(100)   #This is your marker code, range code 1-255
core.wait(0.002)
+
core.wait(0.002)     #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
bb.sendMarker(0)</nowiki>
+
bb.sendMarker(0)     #Back to 0; now ready to send a new code</nowiki></nowiki>

Revision as of 08:47, 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

#!/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)    #This is your marker code, range code 1-255
core.wait(0.002)      #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
bb.sendMarker(0)      #Back to 0; now ready to send a new code</nowiki>