Hi everyone was just wondering if anyone could give me a bit of help.
Basically im programming a fairly simple dot probe task , I want two pictures to appear randomly till each category is exhausted. And I also want to have the probe to appear randomly. I cannot get it to work yet and was wondering if anyone could give me some advice.
Also was wondering if its possible to have a third trial where the images appear on the opposite side as before?
Here is a copy of my current script
For a little more info there are
30 = Highpleasure
30 = Highthreat
20 = Mildpleasure
20= Mildthreat
30 = Neutral
Also it should be noted that I want each type of image to appear aagainst each other type of image including trials that include HighPleasure/High Pleasure , HighThreat/HighThreat and Neutral/Neutral
******************************* Stimuli********************
<item targetAlabel>
/1 = "PRACTICE"
</item>
<item targetA>
/1= "practice.1560.jpg"
/2= "practice.2020.jpg"
/3= "practice.2025.jpg"
/4= "practice.2235.jpg"
/5= "practice.2357.jpg"
/6= "practice.2385.jpg"
/7= "practice.2435.jpg"
/8= "practice.2487.jpg"
/9= "practice.2575.jpg"
/10= "practice.2749.jpg"
/11= "practice.2850.jpg"
/12= "practice.2880.jpg"
/13= "practice.2890.jpg"
/14= "practice.4571.jpg"
/15= "practice.4631.jpg"
/16= "practice.4770.jpg"
/17= "practice.5390.jpg"
/18= "practice.5410.jpg"
/19= "practice.5510.jpg"
/20= "practice.5740.jpg"
/21= "practice.7090.jpg"
/22= "practice.7170.jpg"
/23= "practice.7175.jpg"
/24= "practice.7179.jpg"
/25= "practice.7224.jpg"
/26= "practice.7830.jpg"
/27= "practice.7820.jpg"
/28= "practice.7950.jpg"
</item>
<item targetBlabel>
/1 = "NEUTRAL"
</item>
<item targetB>
/1= "7190.jpg"
/2= "2840.jpg"
/3= "7009.jpg"
/4= "7038.jpg"
/5= "7096.jpg"
/6= "7233.jpg"
/7= "7283.jpg"
/8= "6150.jpg"
/9= "7150.jpg"
/10= "9070.jpg"
/11= "2214.jpg"
/12= "7160.jpg"
/13= "7182.jpg"
/14= "7185.jpg"
/15= "7235.jpg"
/16= "7491.jpg"
/17= "7490.jpg"
/18= "7550.jpg"
/19= "2220.jpg"
/20= "2441.jpg"
/21= "1945.jpg"
/22= "2381.jpg"
/23= "2410.jpg"
/24= "2635.jpg"
/25= "7207.jpg"
/26= "1935.jpg"
/27= "2215.jpg"
/28= "2514.jpg"
/29= "4000.jpg"
/30= "7700.jpg"
</item>
<item targetClabel>
/1 = "HIGHPLEASURE"
</item>
<item targetC>
/1= "7502.jpg"
/2= "8501.jpg"
/3= "8420.jpg"
/4= "8300.jpg"
/5= "8161.jpg"
/6= "2209.jpg"
/7= "5700.jpg"
/8= "4220.jpg"
/9= "2070.jpg"
/10= "4599.jpg"
/11= "4608.jpg"
/12= "4626.jpg"
/13= "4611.jpg"
/14= "5260.jpg"
/15= "5460.jpg"
/16= "5480.jpg"
/17= "8190.jpg"
/18= "8080.jpg"
/19= "7270.jpg"
/20= "8470.jpg"
/21= "8370.jpg"
/22= "8185.jpg"
/23= "8490.jpg"
/24= "8496.jpg"
/25= "8380.jpg"
/26= "8200.jpg"
/27= "5621.jpg"
/28= "8030.jpg"
/29= "4660.jpg"
/30= "8502.jpg"
</item>
<item targetDlabel>
/1 = "HIGHTHREAT"
</item>
<item targetD>
/1= "6200.jpg"
/2= "9600.jpg"
/3= "9910.jpg"
/4= "6560.jpg"
/5= "9921.jpg"
/6= "3051.jpg"
/7= "9250.jpg"
/8= "3230.jpg"
/9= "6260.jpg"
/10= "9253.jpg"
/11= "2981.jpg"
/12= "6242.jpg"
/13= "9050.jpg"
/14= "6312.jpg"
/15= "9301.jpg"
/16= "9006.jpg"
/17= "6570.jpg"
/18= "3400.jpg"
/19= "3550.jpg"
/20= "3160.jpg"
/21= "6313.jpg"
/22= "6360.jpg"
/23= "6300.jpg"
/24= "2352.2.jpg"
/25= "6315.jpg"
/26= "6370.jpg"
/27= "2683.jpg"
/28= "3150.jpg"
/29= "3005.1.jpg"
/30= "6570.1.jpg"
</item>
<item targetElabel>
/1 = "MILDPLEASURE"
</item>
<item targetE>
/1= "1810.jpg"
/2= "5849.jpg"
/3= "8600.jpg"
/4= "1660.jpg"
/5= "2030.jpg"
/6= "2344.jpg"
/7= "4250.jpg"
/8= "7390.jpg"
/9= "2092.jpg"
/10= "2389.jpg"
/11= "2616.jpg"
/12= "2791.jpg"
/13= "7282.jpg"
/14= "5890.jpg"
/15= "5990.jpg"
/16= "7250.jpg"
/17= "7281.jpg"
/18= "8032.jpg"
/19= "8460.jpg"
/20= "2375.2.jpg"
</item>
<item targetFlabel>
/1 = "MILDTHREAT"
</item>
<item targetF>
/1= "2715.jpg"
/2= "9472.jpg"
/3= "9417.jpg"
/4= "1275.jpg"
/5= "2120.jpg"
/6= "2753.jpg"
/7= "4621.jpg"
/8= "6241.jpg"
/9= "2278.jpg"
/10= "2700.jpg"
/11= "6241.jpg"
/12= "9440.jpg"
/13= "9584.jpg"
/14= "9592.jpg"
/15= "2055.1.jpg"
/16= "9912.jpg"
/17= "9390.jpg"
/18= "9341.jpg"
/19= "9102.jpg"
/20= "9001.jpg"
</item>
<text taskreminder>
/ items = ("Reminder to hit the left key if the circle appears on left image and hit the right key if the circle appears on the right")
/ position = (50,15)
/ fontstyle =("Courier New", 12pt)
</text>
<shape probeleft>
/ shape= circle
/ size = (.66%, 1%)
/ color = (200,200,200)
/ position = (40%,50%)
</shape>
<shape proberight>
/ shape = circle
/ size = (.66%,1%)
/ color = (200,200,200)
/ position = (60%,50%)
</shape>
<text focuspoint>
/ items = ("+")
/ size = (20%, 20%)
</text>
<text erasefixation>
/ items = ("+")
/ txcolor = (255, 255, 255)
</text>
************************************** Instructions***************************
<instruct>
/ nextlabel = "Press the spacebard to proceed"
/ lastlabel = "Press the spacebard to proceed"
/ nextkey = (" ")
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)
</instruct>
<page intro>
Dot Probe Task. ^^
Hello and thanks for taking part in Duncan’s Psychology Experiment. ^^
The task will take about 30 seconds and is very simple , please take part when undistracted. ^^
</page>
<page task>
Dot Probe Task Instructions; ^^
On each trial , a picture will be displayed. Please look carefully at each picture. ^^
Between each picture a focus point ‘+’ will be displayed followed by an circle on either the left or right side. ^^
It is your task to press the 'e' key if the target is on the left and press the 'i' key if the target is on the right. Do this as quickly as possible! ^^
</page>
<page practice>
The next 12 trials are practice trials so you can learn the task ^^
As a reminder:
If the dot appears on the left hand side , press the 'e' key ^^
If the dot appears on the right hand side , press the 'i' key ^^
</page>
<page taskreminder>
Reminder: Press the 'e' key if you see the circle on the left and hit the ‘i’ if the circle appears on the right.^^
Do this as quickly as you humanly can! ^^
</page>
<page test>
The task will now begin ^^
</page>
<page end>
The Dot Probe Task is now concluded. ^^
Thank you for taking part. For more information about this study please contact me dwestwoo@uoguelph.ca. ^^
</page>
************************************* Experimental Stimuli*********************************
<picture targetA>
/ items = targetA
/ size = (40%, 40%)
</picture>
<picture targetB>
/ items = targetB
/ size = (40%, 40%)
</picture>
<picture targetC>
/ items = targetC
/ size = (40%, 40%)
</picture>
<picture targetD>
/ items = targetD
/ size = (40%, 40%)
</picture>
<picture targetE>
/items = targetE
/size = (40%, 40%)
</picture>
<picture targetF>
/items = targetF
/size = (40%, 40%)
</picture>
<text erasefixationpoint>
/ position = (50%, 75%)
/ items = ("+")
/ color = black
/ fontstyle = ("Arial", 5%)
</text>
************************************* trials***********************************************
<trial targetALeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [5 = targetA; 1=focuspoint; 500=erasefixationpoint; 500=probeleft]
/ response = timeout(1000)
</trial>
<trial targetARight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetA; 1=focuspoint; 500=erasefixationpoint; 500=proberight]
/ response = timeout(1000)
</trial>
<trial targetBLeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = targetB; 1=focuspoint; 500=erasefixationpoint; 500=probeleft]
/ response = timeout(1000)
</trial>
<trial targetBRight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetB; 1=focuspoint; 500=erasefixationpoint; 500= proberight]
/ response = timeout(1000)
</trial>
<trial targetCLeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = targetC; 1=focuspoint; 500=erasefixationpoint; 500= probeleft]
/ response = timeout(1000)
</trial>
<trial targetCRight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetC; 1=focuspoint; 500=erasefixationpoint; 500= proberight]
/response = timeout(1000)
</trial>
<trial targetDLeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = targetD; 1=focuspoint; 500=erasefixationpoint; 500= probeleft]
/response = timeout(1000)
</trial>
<trial targetDRight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetD; 1=focuspoint; 500=erasefixationpoint; 500= proberight]
/response = timeout(1000)
</trial>
<trial targetELeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = targetE; 1=focuspoint; 500=erasefixationpoint; 500= probeleft]
/response = timeout(1000)
</trial>
<trial targetERight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetE; 1=focuspoint; 500=erasefixationpoint; 500= proberight]
/response = timeout(1000)
</trial>
<trial targetFLeft>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = targetF; 1=focuspoint; 500=erasefixationpoint; 500= probeleft]
/response = timeout(1000)
</trial>
<trial targetFRight>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = targetF; 1=focuspoint; 500=erasefixationpoint; 500= proberight]
/response = timeout(1000)
</trial>
******************* blocks ********************************
<block practice>
/preinstructions = (practice)
/ trials = [1-14 = noreplace (targetARight,targetALeft)]
/ recorddata = false
</block>
<block test>
/ preinstructions = (taskreminder)
/ preinstructions = (test)
/trials = [1-260= noreplace (targetBLeft, targetBRight, targetCLeft , targetCRight, targetDLeft , targetDRight, targetELeft , targetERight, targetFLeft ,targetFright)]
</block>
******************* Experiment***************************
<expt>
/preinstructions = (intro)
/blocks = [1=practice ; 2=test]
/preinstructions = (task)
/postinstructions = (end)
</expt>