Group: Administrators
Posts: 13K,
Visits: 104K
|
The <clock> element works like any other stimulus element (<text>, <picture>, <video>). Set it up and configure it according to your needs and have a <trial> display it.
<expt> / blocks = [1=a; 2=break; 3=b] </expt>
<block a> / trials = [1-10=mytrial] </block>
<block b> / trials = [1-10=mytrial] </block>
<trial mytrial> / stimulusframes = [1=mytext] / validresponse = (57) </trial>
<text mytext> / items = ("Press the spacebar as quickly as possible.") </text>
<block break> / trials = [1=breaktrial] </block>
<trial breaktrial> / stimulusframes = [1=breaktext, myclock] / validresponse = (0) / trialduration = 10000 </trial>
<text breaktext> / items = ("Take a break!") / position = (50%, 40%) </text>
<clock myclock> / mode = timer / timeout = 10000 </clock>
|