Millisecond Forums

Word reaction time test

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

By aakahil - 2/18/2015

Hey guys, I'm struggling with this because I don't really know how to code. I am trying to create a word reaction time test. Basically the experiment will have 28 words pop up one by one, and I want a response box underneath the words. When the participant makes that first keystroke, I want the time between the appearance of each word and the first keystroke to be recorded. Does anyone know how to write that? Thank you in advance for your help, I need it desperately. 
By Dave - 2/18/2015

You need to set up a <text> element with your 28 items. You need to set up an <openended> trial element that displays said <text> stimulus and collects the response. Run that openended trial via a <block> 28 times. In addition, you'll want to specify the <data> element to log the openended's firstcharlatency property. In a nutshell:

<text mytext>
/ items = ("A", "B", "C", "D")
/ select = noreplace
/ position = (50%, 40%)
</text>

<openended myopenended>
/ stimulusframes = [1=mytext]
</openended>

<block myblock>
/ trials = [1-4=myopenended]
</block>

<data>
/ columns = [date time subject blocknum blockcode trialnum trialcode stimulusnumber stimulusitem response latency openended.myopenended.firstcharlatency]
</data>

Please also take the time to work through the tutorials included in the Inquisit documentation to familiarize with the basics of Inquisit syntax / setting up procedures with it.