+xHello,
I have a problem with this modified version of the emotional stroop task that I have found in the library.
I am using cedrus response box. But if I press the response box twice it's like I am responding to two trials and it's quickly going to the third one. Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?
Thank you
Elena
> Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Try explicitly specifying when Inquisit should start accepting responses via /beginresponsetime in your <trial> elements. E.g.
<trial Combat>
/ inputdevice = XID
/ontrialbegin = [trial.Combat.insertstimulustime(text.Combat, values.fixationcrosspresentationtime)]
/ beginresponsetime = values.fixationcrosspresentationtime/stimulustimes = [0=fixation, redreminder, greenreminder, bluereminder, yellowreminder]
/ isvalidresponse = [trial.Combat.response == values.keyyellow || trial.Combat.response == values.keyred ||
trial.Combat.response == values.keyblue || trial.Combat.response == values.keygreen]
/iscorrectresponse = [ (text.Combat.textcolor == yellow && trial.Combat.response == values.keyyellow) ||
(text.Combat.textcolor == red && trial.Combat.response == values.keyred) ||
(text.Combat.textcolor == blue && trial.Combat.response == values.keyblue) ||
(text.Combat.textcolor == green && trial.Combat.response == values.keygreen)]
/ontrialend = [trial.Combat.resetstimulusframes()]
/ontrialend = [values.target = text.Combat.currentitem]
/ontrialend = [if (text.Combat.textcolor == yellow) values.color = "yellow"
else if (text.Combat.textcolor == red) values.color = "red"
else if (text.Combat.textcolor == blue) values.color = "blue"
else values.color = "green"]
/ontrialend = [if (trial.Combat.correct) {values.correct_Combat += 1; values.sumrt_combat += trial.Combat.latency}]
/ errormessage = true(x, 400)
</trial>
> Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?
Give the way how the script / color selection is set up: No, I don't see a way to do that.