Millisecond Forums

SRT how to display all latency times on the end feedback screen

https://forums.millisecond.com/Topic15668.aspx

By zradosev - 3/4/2015

Hello everyone!
Can someone help me please. I have a couple of research assistans who use the SRT *Simple Visual Reaction Time) test as a part of a battery, and I need that they are quickly able to recognize the abberant reaction time without looking into the data sheet. How can I display all the 20 reaction times as a string just after the results on the same scree?
Thank you in advance, and best regards,
By Dave - 3/4/2015

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>
By zradosev - 3/4/2015

TNX Dave, I will try that and let you know about the results!