After browsing these forums I came across the custom likert scale and looked to be a good starting place for what I am trying to do. After a bit of modification I got it 'almost' to where I need, but am still left with a few issues.
My goal is to have a likert scale where I can monitor the test takers reaction time to each question. In an ideal world I would have a likert scale where the user will have a maximum of 5 seconds to select a choice from 1-9 using the kayboard and their selection is simply logged when the 5 second time limit expires. Their latency would be recorded when the last number selected.
Because I was having issues accomplishing this, I wrote this:
<defaults>
/screencolor = (255, 255, 255)
/fontstyle = ("Arial", 2%)
</defaults>
<expt>
/blocks = [1=customlikert]
</expt>
<values>
/ score = 5000
</values>
<block customlikert>
/ trials = [1 = sequence(customkeyboard)]
/timeout = 5000
</block>
<trial customkeyboard>
/ stimulusframes = [1=scale, l1, b1, b2, l3, b3, b4, l5, b5, question]
/ inputdevice = keyboard
/ validresponse = ("1", "2", "3", "4", "5")
/ responsetime = 500
/posttrialpause = 5000 - trial.customkeyboard.elapsedtime
</trial>
<text question>
/ items = question
/ select = noreplace
/ position = (50%, 35%)
/ fontstyle = ("Arial", 18pt, false, false, false, false, 5)
</text>
<item question>
/1 = "I am the walrus."
/2 = "We're all just bricks in the wall."
/3 = "I can't get no satisfaction."
/4 = "Don't need a weather man to know which way the wind blows."
/5 = "All you need is love."
</item>
<text l1>
/ items = ("strongly disagree")
/ position = (30%, 50)
/ size = (5%, 5%)
/ erase = false
</text>
<text l3>
/ items = ("neutral")
/ position = (50%, 50%)
/ size = (5%, 5%)
/ erase = false
</text>
<text l5>
/ items = ("strongly agree")
/ position = (70%, 50%)
/ size = (5%, 5%)
/ erase = false
</text>
<picture b1>
/ items = ("b1.jpg")
/ position = (30%, 55%)
/ size = (5%, 5%)
/ erase = false
</picture>
<picture b2>
/ items = ("b2.jpg")
/ position = (40%, 55%)
/ size = (5%, 5%)
/ erase = false
</picture>
<picture b3>
/ items = ("b3.jpg")
/ position = (50%, 55%)
/ size = (5%, 5%)
/ erase = false
</picture>
<picture b4>
/ items = ("b4.jpg")
/ position = (60%, 55%)
/ size = (5%, 5%)
/ erase = false
</picture>
<picture b5>
/ items = ("b5.jpg")
/ position = (70%, 55%)
/ size = (5%, 5%)
/ erase = false
</picture>
<picture scale>
/ items = ("scale.jpg")
/ position = (50%, 55%)
/ size = (40%, 40%)
/ erase = false
</picture>
<instruct>
/ nextkey=(" ")
/ nextlabel = "Press [SPACEBAR] to continue."
/ fontstyle = ("Arial", 3%)
</instruct>
Specifically I cannot get: posttrialpause = 5000 - trial.customkeyboard.elapsedtime to work properly. I cut a few corners from my original plan because I assumed my original idea was not possible. Now my goal is to simply have each questions total time be 5 seconds and have the posttrialpause account for the difference between when they responded and the 5 second allotment.
Any and all help would be appreciated, thank you.