Group: Forum Members
Posts: 26,
Visits: 103
|
HI all,
I'm currently working on a Stroop test and I am having an issue with the program selecting words from a list. My goal is for the program to select words from a general list and not have that word be shown again in a different color. E.g. "exist" is shown in green, and is taken out of the general list and never shown in red or blue. I've tried using a counter, but it only shows the first words of the lists in different colors. I've attached part of the code below.
Thank you!
<expt> /blocks = [1=practice;2=allneustroop; 3=allemostroop] </expt>
<block practice> / preinstructions = (practice) / trials = [1=ready; 2-11=random(neu_green, neu_blue, neu_red,emo_green, emo_blue, emo_red)] / errormessage =(errormessage,0) </block>
<block allemostroop> /preinstructions=(allemostroop) /trials=[1=ready; 2-51=noreplace(emo_green, emo_blue, emo_red)] /errormessage=(errormessage, 0) </block>
<trial emo_red> /stimulustimes = [0=emo_red] /posttrialpause = 250 /validresponse = ("red", "green", "blue") /correctresponse = ("red") /timeout = 3000 </trial>
<trial emo_blue> /stimulustimes = [0=emo_blue] /posttrialpause = 250 /validresponse = ("green", "blue", "red") /correctresponse = ("blue") /timeout = 3000 </trial>
<trial emo_green> /stimulustimes = [0=emo_green] /posttrialpause = 250 /validresponse = ("green", "blue", "red") /correctresponse = ("green") /timeout = 3000 </trial>
<text emo_red> /items=emotional /color = (255,0,0) /select = counter.emotional </text>
<text emo_blue> /items=emotional /color = (0,0,255) /select = counter.emotional </text>
<text emo_green> /items=emotional /color = (0,255,0) /select = counter.emotional </text>
<item emotional> /1 =" ABUSE " /2 =" AGONY " /3 =" AMPUTATE " /4 =" ASSASSIN " /5 =" BLEEDING " </item>
<counter emotional> / items = emotional(1-50) / select = noreplace </counter>
|