Valid response keys malfunction


Author
Message
uni-student92084
uni-student92084
Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)
Group: Forum Members
Posts: 28, Visits: 73
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>
Dave
Dave
Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
uni-student92084 - 2/10/2020
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>

You have define multiple /validresponse attributes. Keep the first one, remove the second one -- it overrides the first, and then you only have "E" left because it's in /correctresponse.

<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>

uni-student92084
uni-student92084
Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)
Group: Forum Members
Posts: 28, Visits: 73
Dave - 2/10/2020
uni-student92084 - 2/10/2020
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>

You have define multiple /validresponse attributes. Keep the first one, remove the second one -- it overrides the first, and then you only have "E" left because it's in /correctresponse.

<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>

But if I wanted to have one key (it can either be I or E) be the correct response and one be the incorrect response, how would I do that?
In other scripts, I have looked at they have a similar format.   
Dave
Dave
Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
uni-student92084 - 2/11/2020
Dave - 2/10/2020
uni-student92084 - 2/10/2020
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>

You have define multiple /validresponse attributes. Keep the first one, remove the second one -- it overrides the first, and then you only have "E" left because it's in /correctresponse.

<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>

But if I wanted to have one key (it can either be I or E) be the correct response and one be the incorrect response, how would I do that?
In other scripts, I have looked at they have a similar format.   

That's exactly what you'll get if you do what I explained above
uni-student92084
uni-student92084
Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)
Group: Forum Members
Posts: 28, Visits: 73
Dave - 2/11/2020
uni-student92084 - 2/11/2020
Dave - 2/10/2020
uni-student92084 - 2/10/2020
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>

You have define multiple /validresponse attributes. Keep the first one, remove the second one -- it overrides the first, and then you only have "E" left because it's in /correctresponse.

<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>

But if I wanted to have one key (it can either be I or E) be the correct response and one be the incorrect response, how would I do that?
In other scripts, I have looked at they have a similar format.   

That's exactly what you'll get if you do what I explained above

I did what you suggested, ran my experiment and still, the "E" key is the only one that responds. The "I" key is not responding. I'll insert my script below as there may be something else that I am doing wrong.


<instruct>
/fontstyle = ("Snell Roundhand", 1.43%, false, false, false, false, 5, 0)
/txcolor = black
/nextlabel = "Press the space bar to continue"
</instruct>



<item instrcutions>
/1= "Welcome to the Poltical Party Study
~This study is aimed to.....
~You will be given a political honestly scores and asked to pick which poltical party you see as most honest
~Before you start the study you will run a few practice trials
~Scores will run across the screen and you will place you finger on I and E
~Press the spacebar to begin"
/2= " Next, you will move on to the actual study
~Remember to pay attention to what keys coresponsds to what buttons"
</item>




<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")
/ 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")
/ 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>

Dave
Dave
Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
Dave - 2/11/2020

That's exactly what you'll get if you do what I explained above

Let me reiterate:



uni-student92084
uni-student92084
Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)Associate Member (76 reputation)
Group: Forum Members
Posts: 28, Visits: 73
Dave - 2/11/2020
Dave - 2/11/2020

That's exactly what you'll get if you do what I explained above

Let me reiterate:



Oh I see, okay, thank you for clearing up that confusion!
 I appreciate your help.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search