Group: Forum Members
Posts: 57,
Visits: 172
|
Hello, My script is not allowing me to use one of my valid response keys in my trials. It allows me to move on to the next trial using "E" but not "I", I would like to have "I " respond too.
Any help would be much appreciated!
<item Demplus> /1 = "score1+" /2 = "score2+" /3 = "score3+" </item>
<item Demminus> /1 = "score1-" /2 = "score2-" /3 = "score3-" </item>
<item Repplus> /1 = "score1+" /2 = "score2+" /3 = "score3+" </item>
<item Repminus> /1 = "score1-" /2 = "score2-" /3 = "score3-" </item>
<text Demplus1> /items = Demplus /txcolor = (blue) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demplusitems.nextindex </text>
<text Demplus2> /items = Demplus /txcolor = (blue) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demplusitems.nextindex </text>
<text Demplus3> /items = Demplus /txcolor = (blue) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demplusitems.nextindex </text>
<list Demplusitems> / poolsize = 3 / selectionrate = always / replace =true </list>
<text Demminus1> /items = Demminus /txcolor = (blue) /txbgcolor = (white) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demminusitems.nextindex </text>
<text Demminus2> /items = Demminus /txcolor = (blue) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demminusitems.nextindex </text>
<text Demminus3> /items = Demminus /txcolor = (blue) /txbgcolor = (white) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Demminusitems.nextindex </text>
<list Demminusitems> / poolsize = 3 / selectionrate = always / replace =true </list>
<text Repplus1> /items = Repplus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Repplusitems.nextindex </text>
<text Repplus2> /items = Repplus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Repplusitems.nextindex </text>
<text Repplus3> /items = Repplus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) / select = list.Repplusitems.nextindex </text>
<list Repplusitems> / poolsize = 3 / selectionrate = always / replace =true </list>
<text Repminus1> /items = Repminus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) /select = list.Repminusitems.nextindex </text>
<text Repminus2> /items = Repminus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) /select = list.Repminusitems.nextindex </text>
<text Repminus3> /items = Repminus /txcolor = (red) /animation = path (5000, 1, 0%, 90%, 100%, 90%) /select = list.Repminusitems.nextindex </text>
<list Repminusitems> / poolsize = 3 / selectionrate = always / replace = true </list>
<list Demplus> /items = (text.Demplus1, text.Demplus2, text.Demplus3, text.Repminus1, text.Repminus2, text.Repminus3) /selectionrate =always /selectionmode =random /replace = false </list>
<list Repplus> /items = (text.Demminus1,text.Demminus2,text.Demminus3, text.Repplus1,text.Repplus2, text.Repplus3) /selectionrate =always /selectionmode =random /replace = false </list>
<trial DemB> / validresponse = ("E", "I") / correctresponse = ("E") / beginresponsetime = 0 /ontrialbegin = [ trial.DemB.insertstimulustime(list.Demplus.nextvalue, 0); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 1000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 2000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 3000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 4000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 5000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 6000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 7000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 8000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 9000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 10000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 11000); trial.DemB.insertstimulustime(list.Demplus.nextvalue, 12000);] / validresponse = (57) / posttrialpause = 500 /ontrialend= [trial.DemB.resetstimulusframes(7000)] </trial>
<trial RepB> / validresponse = ("E", "I") / correctresponse = ("E") / beginresponsetime = 0 /ontrialbegin = [ trial.RepB.insertstimulustime(list.Repplus.nextvalue, 0); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 1000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 2000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 3000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 4000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 5000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 6000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 7000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 8000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 9000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 10000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 11000); trial.RepB.insertstimulustime(list.Repplus.nextvalue, 12000);] / validresponse = (57) / posttrialpause = 500 /ontrialend= [trial.RepB.resetstimulusframes(7000)] </trial>
<block run1> /trials = [1-10= replace(RepB, DemB); 11-20 =replace(RepB)] </block>
|