Group: Forum Members
Posts: 57,
Visits: 172
|
Hello! I am new to Inquisit so please excuse my unfamiliarity.
I am trying to have a list of number show in a specific order, going from lesser to higher numbers. What I've done is taken an old script that would have picked the numbers at random and now have changed the selection mode from random to "sequence". I've read that sequence should show the numbers in the order I list them.
However when I run the script, it still shows the numbers in random order. What am I doing wrong in this script? Shouldn't the items present themselves in the order I wrote them once I change the selection mode to "sequence"?
I will copy and past the script here but also give a file with the script.
Thank you for your help!
<item DemBet> /1= "50" /2= "51" /3= "52" /4 ="53" /5= "54" /6= "55" /7="56" /8="57" /9= "58" /10="60" /11= "61" /12= "62" /13="63" /14="64" /15="65" /16= "66" /17= "67" /18= "68" /19="69" /20= "70" /21="71" /22="72" /23="73" /24="74" /25="75" /26="76" /27="77" /28="78" /29="79" /30="80" /31="81" /32="82" /33="83" /34="84" /35="85" /36="86" /37="87" /38="88" /39="89" /40="90" </item>
<text Dem_1> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_2> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_3> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_4> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_5> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_6> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_7> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_8> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_9> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<text Dem_10> / fontstyle = ("Arial", 5%) /size= (5%, 5%) /items = DemBet /txcolor = (blue) /animation = path (5000, 1, 0%, 55%, 100%, 55%) / select = list.Demlist.nextindex </text>
<list Demlist> / poolsize = 50 / selectionrate = always </list>
<list Demlist_2> /items = (text.Dem_1, text.Dem_2, text.Dem_3, text.Dem_4, text.Dem_5, text.Dem_6, text.Dem_7, text.Dem_8, text.Dem_9, text.Dem_10) /selectionrate =always /selectionmode = sequence </list>
<trial Demtrial> / validresponse = ("E", "I") / correctresponse = ("I") / beginresponseframe = 0 /ontrialbegin = [ trial.Demtrial.resetstimulusframes(); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 0); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 1500); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 3000); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 4500); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 6000); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 7500); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 9000); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 10500); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 12000); trial.Demtrial.insertstimulustime(list.Demlist_2.nextvalue, 13500); ] / posttrialpause = 100 </trial>
<block trial1> /trials = [1= sequence(Demtrial)] </block>
<expt> /blocks = [1= trial1] </expt>
|