Difference between revisions of "ButtonBoxes"

From TSG Doc
Jump to navigation Jump to search
Line 23: Line 23:
 
== Psychopy Settings ==
 
== Psychopy Settings ==
  
<code>  
+
 
#!/usr/bin/env python
+
 
 +
<code>#!/usr/bin/env python
 
from psychopy import core, visual, event
 
from psychopy import core, visual, event
 
from rusocsci import buttonbox
 
from rusocsci import buttonbox
Line 39: Line 40:
 
   
 
   
 
## Cleanup Section
 
## Cleanup Section
core.quit()
+
core.quit() </code>
</code>
 
  
 
== Matlab Settings ==
 
== Matlab Settings ==

Revision as of 10:11, 12 March 2014

General

Hardware

Revisions

Revision 1

Revision 2

Revision 3

Revision 4

Presentation Settings

File:Buttonbox1.png

Psychopy Settings

#!/usr/bin/env python from psychopy import core, visual, event from rusocsci import buttonbox import logging, time

    1. Setup Section
  1. logging.getLogger().setLevel(logging.DEBUG) # use this for debug info

win = visual.Window([400,300], monitor="testMonitor") bb = buttonbox.Buttonbox()

    1. Experiment Section

b = bb.waitButtons(maxWait = 10.0, buttonList=['A']) print("b: {}".format(b))

    1. Cleanup Section

core.quit()

Matlab Settings

Inquisit Settings

Matlab Settings

E-Prime