Group: Administrators
Posts: 13K,
Visits: 104K
|
Concatenate the latencies and store them in a <values> entry /ontrialend. Display said value in a <text> element or an instruction <page> at the end of the task. In a nutshell:
<values> / alllatencies = "" </values>
<block myblock> / postinstructions = (end) / trials = [1-10 = mytrial] </block>
<trial mytrial> / ontrialend = [values.alllatencies=concat(concat(values.alllatencies, trial.mytrial.latency), ",")] / pretrialpause = 500 / stimulusframes = [1=mytext] / validresponse = (57) </trial>
<text mytext> / items = ("Press the spacebar as quickly as possible.") </text>
<page end> ^^The latencies:
^^<%values.alllatencies%>
</page>
|