Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
ButtonBoxes
(view source)
Revision as of 13:21, 29 August 2023
1 byte removed
,
13:21, 29 August 2023
→Python/PsychoPy
Line 272:
Line 272:
# select a function
# select a function
−
bb.sendMarker(val=(ord(X)))
#select pulse time
+
bb.sendMarker(val=(ord(
'
X
'
)))
#select pulse time
bb.sendMarker(val=2) #set time of dureation pulse to 2ms
bb.sendMarker(val=2) #set time of dureation pulse to 2ms
−
bb.sendMarker(val=(ord(M)))
#select marker out
+
bb.sendMarker(val=(ord(
'
M
'
)))
#select marker out
−
bb.sendMarker(val=115)
#set marker value 115
+
bb.sendMarker(val=115)
#set marker value 115
</syntaxhighlight>
</syntaxhighlight>
Line 341:
Line 341:
<br>
<br>
<br>
<br>
+
=== Matlab ===
=== Matlab ===
'''Example using markers with the Buttonbox in Matlab:'''
'''Example using markers with the Buttonbox in Matlab:'''
Wilbert.vanham
Administrators
414
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Help
About
About the TSG
About this Wiki
FAQ
Disclaimer
Survey
Customer Survey
Tools
Special pages
Printable version