## how to equal the stimulusitem

##### how to equal the stimulusitem
 Author Message lulu posted 10 Years Ago ANSWER         Group: Forum Members Posts: 7, Visits: 1 Dear Dave,I was doing a stroop vocal recorded experiment. I add all stimuli in one formal block. Since one block has 12 trials and four color words are divided into congruent and incongruent conditions (as well a neutral condition), I put these three conditons into one block, and wrote the script like this:" trials = [1-144 =noreplace (con1.BMP, con2.BMP, con3.BMP, con4.BMP, con1.BMP, con2.BMP, con3.BMP, con4.BMP, incon1.BMP, incon2.BMP,incon3.BMP, incon4.BMP, incon5.BMP, incon6.BMP, incon7.BMP, incon8.BMP, incon9.BMP,incon10.BMP, incon11.BMP, incon12.BMP, n1.BMP, n2..BMP, n3..BMP, n4.BMP,n1.BMP, n2..BMP, n3..BMP, n4.BMP,n1.BMP, n2..BMP, n3..BMP, n4.BMP....)]"('con' stands for congruent condition, 'incon' stands for incongruent condition, 'n' stands for neutral condition)This would help me to make sure that trials are set according to my expectation, with neutral and congruent trials appearing for three times each, while each incongruent trial appearing for only once. But this couldn't  guarentee that the stimulusitem also being presented according to this rule, since the trialcode and stimulusitem are unrelated.So my confusion is how can I make sure the stimulusitem are presented according to the rule above?One more question, how can I present the stimulusitem randomly between blocks (not within each block)?Thanks so much for any of your help!Yours,Lulu Dave posted 10 Years Ago ANSWER         Group: Administrators Posts: 12K, Visits: 93K If you want a specific to display a specific item, you need to set up a stimulus element (e.g. ) that only has the respective item (and no others) and have the trial display that. In other words:If you want to display a BMP file called con1. BMP, you need to set up a element that includes no other item than that single file.However, this is horribly inefficient and unnecessary. You should need no more than *three* elements (one con, one incon, one n) and simply sample in the correct proportions. Please review the tutorials for the basics of setting up experiments.One more question, how can I present the stimulusitem randomly between blocks (not within each block)?You cannot using your current (flawed approach). You need three elements as indicated above with their associated multi-item stimulus elements. You'll want to set those stimulus elements /resetinterval to an appropriate value to keep the selection pools intact across blocks. lulu posted 10 Years Ago ANSWER         Group: Forum Members Posts: 7, Visits: 1 Dear Dave,Thanks for your quick reply. Maybe I misunderstood your explaination, but my script was written as you said. They are listed below, and the trialcode still couldn't matched with the stimulusitem.---------------------------------------------------------------------------------------*** DEFAULTS *****---------------------------------------------------------------------------------------         / font = ("Arial", -24, 700, 0, 34)/ screencolor = (0, 0, 0)/ inputdevice = voicerecord/ posttrialpause = 500 / columns = [date time subject trialcode blockcode blocknum trialnum latency response stimulusitem stimulusitem] ------------------------------------------------------------------------------------*** TEXTS AND fixationS *****------------------------------------------------------------------------------------/1="csn1.BMP"/2="csn2.BMP"  /3="csn3.BMP" /4="csn4.BMP"/5="ccwn1.BMP" /6="ccwn2.BMP"  /7="ccwn3.BMP" /8="ccwn4.BMP"   /9="cscon1.BMP"     /10="cscon2.BMP"   /11="cscon3.BMP"   /12="cscon4.BMP"    /13="ccwcon1.BMP"   /14="ccwcon2.BMP"   /15="ccwcon3.BMP"    /16="ccwcon4.BMP"   /17="cocon1.BMP"   /18="cocon2.BMP"    /19="cocon3.BMP"   /20="cocon4.BMP"   /21="csincon1.BMP"     /22="csincon2.BMP"    /23="csincon3.BMP"    /24="csincon4.BMP"     /25="csincon5.BMP"    /26="csincon6.BMP"    /27="csincon7.BMP"     /28="csincon8.BMP"    /29="csincon9.BMP"    /30="csincon10.BMP"     /31="csincon11.BMP"    /32="csincon12.BMP"    /33="ccwincon1.BMP"     /34="ccwincon2.BMP"    /35="ccwincon3.BMP"   /36="ccwincon4.BMP"    /37="ccwincon5.BMP"   /38="ccwincon6.BMP"   /39="ccwincon7.BMP"    /40="ccwincon8.BMP"   /41="ccwincon9.BMP"   /42="ccwincon10.BMP"    /43="ccwincon11.BMP"   /44="ccwincon12.BMP"   /45="coincon1.BMP"    /46="coincon2.BMP"    /47="coincon3.BMP"    /48="coincon4.BMP"     /49="coincon5.BMP"    /50="coincon6.BMP"    /51="coincon7.BMP"     /52="coincon8.BMP"    /53="coincon9.BMP"    /54="coincon10.BMP"     /55="coincon11.BMP"    /56="coincon12.BMP"    /57="con1.BMP"     /58="con2.BMP"    /59="con3.BMP"    /60="con4.BMP"  /61="cpcon1.BMP"  /62="cpcon2.BMP"  /63="cpcon3.BMP"  /64="cpcon4.BMP"    /65="cpincon1.BMP"  /66="cpincon2.BMP"    /67="cpincon3.BMP"  /68="cpincon4.BMP"  /69="cpincon5.BMP"    /70="cpincon6.BMP"  /71="cpincon7.BMP"    /72="cpincon8.BMP"  /73="cpincon9.BMP" /74="cpincon10.BMP"    /75="cpincon11.BMP"  /76="cpincon12.BMP"    /77="cpn1.BMP"  /78="cpn2.BMP" /79="cpn3.BMP"  /80="cpn4.BMP"      /items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = picture/position=(50%,50%)/items = ("+")/ color = (255, 255, 255)/ txbgcolor = (0,0,0)/ fontstyle = ("Arial", 40pt)/ erase = false------------------------------------------------------------------------------------*** INSTRUCTION PAGES *****------------------------------------------------------------------------------------^^^          ************** / screencolor = (0,0,0)/ nextkey = (" ")/ lastlabel = "Press the spacebar to continue"/ nextlabel = "Press the spacebar to continue"/ fontstyle = ("Arial", 40pt)/ txcolor =  (255,255,255)/ wait = 500------------------------------------------------------------------------------------*** TRIALS *****------------------------------------------------------------------------------------ / stimulustimes = [0=fixation;1000=csn1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csn2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csn3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csn4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwn1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwn2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwn3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwn4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cscon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cscon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cscon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cscon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwcon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwcon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwcon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwcon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cocon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cocon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cocon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cocon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon5.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon6.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon7.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon8.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon9.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon10.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon11.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=csincon12.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon5.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon6.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon7.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon8.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon9.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon10.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon11.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=ccwincon12.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon5.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon6.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon7.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon8.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon9.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon10.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon11.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon12.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=con1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=con2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=con3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=con4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpcon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpcon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpcon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpcon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon4.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon5.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon6.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon7.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=coincon8.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon9.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon10.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon11.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpincon12.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpn1.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpn2.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpn3.BMP]/ responsetime = 1000/ response = timeout(2000) / stimulustimes = [0=fixation;1000=cpn4.BMP]/ responsetime = 1000/ response = timeout(2000)------------------------------------------------------------------------------------*** BLOCKS *****------------------------------------------------------------------------------------/preinstructions = (page1)/ bgstim = (fixation)/ trials = [1-36 =noreplace(ccwcon1.BMP, ccwcon3.BMP, ccwcon2.BMP, ccwincon2.BMP, ccwincon12.BMP, ccwincon3.BMP, ccwn2.BMP, ccwn4.BMP, ccwn3.BMP, cocon4.BMP, cocon1.BMP, cocon3.BMP, coincon1.BMP, coincon9.BMP, coincon10.BMP, con4.BMP,con2.BMP, con2.BMP, cscon3.BMP, cscon4.BMP, cscon1.BMP, csincon3.BMP, csincon10.BMP, csincon6.BMP, csn4.BMP, csn3.BMP, csn2.BMP, cpincon9.BMP, cpincon11.BMP, cpincon7.BMP, cpn2.BMP, cpn3.BMP, cpn4.BMP, cpcon1.BMP, cpcon4.BMP, cpcon3.BMP)]/preinstructions =(page1)trials = [1-144 = noreplace (ccwn1.BMP, ccwn2.BMP, ccwn3.BMP, ccwn4.BMP, ccwn1.BMP, ccwn2.BMP, ccwn3.BMP, ccwn4.BMP, ccwn1.BMP, ccwn2.BMP, ccwn3.BMP, ccwn4.BMP, ccwincon1.BMP, ccwincon2.BMP, ccwincon3.BMP, ccwincon4.BMP, ccwincon5.BMP, ccwincon6.BMP, ccwincon7.BMP, ccwincon8.BMP, ccwincon9.BMP, ccwincon10.BMP, ccwincon11.BMP, ccwincon12.BMP, cscon1.BMP, cscon2.BMP, cscon3.BMP, cscon4.BMP, cscon1.BMP, cscon2.BMP, cscon3.BMP, cscon4.BMP, cscon1.BMP, cscon2.BMP, cscon3.BMP, cscon4.BMP, csincon1.BMP, csincon2.BMP, csincon3.BMP, csincon4.BMP, csincon5.BMP, csincon6.BMP, csincon7.BMP, csincon8.BMP, csincon9.BMP, csincon10.BMP, csincon11.BMP, csincon12.BMP, csn1.BMP, csn2.BMP, csn3.BMP, csn4.BMP, csn1.BMP, csn2.BMP, csn3.BMP, csn4.BMP, csn1.BMP, csn2.BMP, csn3.BMP, csn4.BMP, ccwcon1.BMP, ccwcon2.BMP, ccwcon3.BMP, ccwcon4.BMP, ccwcon1.BMP, ccwcon2.BMP, ccwcon3.BMP, ccwcon4.BMP, ccwcon1.BMP, ccwcon2.BMP, ccwcon3.BMP, ccwcon4.BMP, cocon1.BMP, cocon2.BMP, cocon3.BMP, cocon4.BMP, cocon1.BMP, cocon2.BMP, cocon3.BMP, cocon4.BMP, cocon1.BMP, cocon2.BMP, cocon3.BMP, cocon4.BMP, coincon1.BMP, coincon2.BMP, coincon3.BMP, coincon4.BMP, coincon5.BMP, coincon6.BMP, coincon7.BMP, coincon8.BMP, coincon9.BMP, coincon10.BMP, coincon11.BMP, coincon12.BMP, con1.BMP, con2.BMP, con3.BMP, con4.BMP, con1.BMP, con2.BMP, con3.BMP, con4.BMP, con1.BMP, con2.BMP, con3.BMP, con4.BMP, cpincon1.BMP, cpincon2.BMP, cpincon3.BMP, cpincon4.BMP, cpincon5.BMP, cpincon6.BMP, cpincon7.BMP, cpincon8.BMP, cpincon9.BMP, cpincon10.BMP, cpincon11.BMP, cpincon12.BMP, cpcon1.BMP, cpcon2.BMP, cpcon3.BMP, cpcon4.BMP, cpcon1.BMP, cpcon2.BMP, cpcon3.BMP, cpcon4.BMP, cpcon1.BMP, cpcon2.BMP, cpcon3.BMP, cpcon4.BMP, cpn1.BMP, cpn2.BMP, cpn3.BMP, cpn4.BMP, cpn1.BMP, cpn2.BMP, cpn3.BMP, cpn4.BMP, cpn1.BMP, cpn2.BMP, cpn3.BMP, cpn4.BMP)]------------------------------------------------------------------------------------*** EXPERIMENT*****------------------------------------------------------------------------------------/ blocks = [1=practice; 2=Formal] Dave posted 10 Years Ago ANSWER         Group: Administrators Posts: 12K, Visits: 93K my script was written as you saidNo, it's not!/items = picture/position=(50%,50%)has 80 (!) items (all those listed in ), not just one. So does as well as all the others.

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...