**************************************************************************************************************
**************************************************************************************************************
Change detection & filtering
**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
**************************************************************************************************************
DEFAULT SCREEN SETTING
**************************************************************************************************************
**************************************************************************************************************
requires Inquisit 4.0.0.0
<defaults>
/ minimumversion = "4.0.0.0"
/ inputdevice = mouse
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 0)
/ displaymode = (800, 600, 0)
</defaults>
**************************************************************************************************************
**************************************************************************************************************
VALUES
**************************************************************************************************************
**************************************************************************************************************
****************
****************
<values>
/ correct = 0
/ wrong = 0
/ falarm = 0
/ miss = 0
/ condition = 0
</values>
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************
********************
raw data
********************
<data>
/file = "HLOnline.iqdat"
/ columns = [subject, values.samples, response, latency, values.outcome, values.side, values.condition, values.ran, trialcode, expt.main.totalsumlatency, values.kickem]
/separatefiles = true
</data>
**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS ELEMENTS
**************************************************************************************************************
**************************************************************************************************************
<item instructions>
/ 1 = "In the task that follows you will be asked to remember colored boxes which appear briefly on the screen. Before the colored boxes are shown the upper (lower) left or right side of the screen will flash red. This flash indicates the area in which any colored boxes shown you must remember. For example, if the red flash is in the upper right side of the screen you will need to remember all of the colored boxes that appear in that area. If instead the flash is on the bottom left side of the screen then you would be tasked with remembering all the colored boxes that appear on the bottom left side of the screen. If the whole right side of the screen flashed you would need to remember any colored boxes that show up on the right side.
After indication arrow is shown colored boxes will flash briefly on the screen. Sometimes colored boxes will appear in locations which the arrow did not point to and you can simply ignore those boxes. After the colored boxes flash on the screen there will be a brief pause and then the colored boxes will return and your task will be to say if the colored boxes are the same colors as they were when they were first flashed on the screen. If they are all the same colors you will click the same button, if one of them is now a different color (i.e., one box has changed color) you will click the different button. Importantly, if there is a change in color it will happen to one box (i.e., there will only ever be one change).
When you are ready to begin the task please click the begin button"
/ 2 = "Please indicate whether the colored box shown is the same color it was during the preceding flash."
/ 3 = "Thank you for participating. Please click the next button to move on to the next task."
</item>
****************************************************Text/Stimuli**********************
<text Intro>
/ items = instructions
/ select = 1
/ position = (50%, 0%)
/ size = (100%, 110%)
/ hjustify = left
/ valign = top
/ txcolor = (black)
/ txbgcolor = (yellow)
</text>
<text Task>
/ items = instructions
/ select = 2
/ position = (50%, 2.5%)
/ hjustify = left
/ valign = top
/ txcolor = (black)
/ txbgcolor = (transparent)
</text>
<text Done>
/ items = instructions
/ select = 3
/ position = (50%, 10%)
/ hjustify = left
/ valign = top
/ txcolor = (black)
/ txbgcolor = (transparent)
</text>
<text Begin>
/ items = ("Begin")
/ position = (50%, 95%)
/ fontstyle = ("Arial", 3%, false, false, true, false, 5, 0)
/ txcolor = blue
/ txbgcolor = (transparent)
</text>
<text Go>
/ items = ("Next")
/ position = (50%, 75%)
/ txbgcolor = (150, 150, 150)
/ txcolor = black
</text>
<text Same>
/ items = ("Same")
/ position = (25%, 95%)
/ txcolor = black
</text>
<text Different>
/ items = ("Different")
/ position = (75%, 95%)
/ txcolor = black
</text>
**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************
<shape S1>
/ shape = rectangle
/ size = (65, 65)
</shape>
<shape S2>
/ shape = rectangle
/ size = (65, 65)
</shape>
<shape S3>
/ shape = rectangle
/ size = (65, 65)
</shape>
<shape S4>
/ shape = rectangle
/ size = (65, 65)
</shape>
<shape FlashUR>
/ shape = rectangle
/ size = (50%, 50%)
/ color = (0, 0, 0)
/ position = (75%, 25%)
</shape>
<shape FlashLR>
/ shape = rectangle
/ size = (50%, 50%)
/ color = (0, 0, 0)
/ position = (75%, 75%)
</shape>
<shape FlashUL>
/ shape = rectangle
/ size = (50%, 50%)
/ color = (0, 0, 0)
/ position = (25%, 25%)
</shape>
<shape FlashLL>
/ shape = rectangle
/ size = (50%, 50%)
/ color = (0, 0, 0)
/ position = (25%, 75%)
</shape>
<shape FlashL>
/ shape = rectangle
/ size = (50%, 100%)
/ color = (0, 0, 0)
/ position = (25%, 50%)
</shape>
<shape FlashR>
/ shape = rectangle
/ size = (50%, 100%)
/ color = (0, 0, 0)
/ position = (75%, 50%)
</shape>
<list x1>
/ items = (60%, 65%, 70%, 75%, 80%, 85%, 90%)
/ selectionrate = always
/ selectionmode = random
</list>
<list y1>
/ items = (10%, 15%, 20%, 25%, 30%, 35%, 40%)
/ selectionrate = always
/ selectionmode = random
</list>
<list x2>
/ items = (60%, 65%, 70%, 75%, 80%, 85%, 90%)
/ selectionrate = always
/ selectionmode = random
</list>
<list y2>
/ items = (10%, 15%, 20%, 25%, 30%, 35%, 40%)
/ selectionrate = always
/ selectionmode = random
</list>
<list Colors>
/ items = (red, blue, green, yellow, violet, black, grey)
/ selectionrate = always
/ selectionmode = random
</list>
**************************************************************************************************************
**************************************************************************************************************
MAIN TRIALS
**************************************************************************************************************
**************************************************************************************************************
<trial Instructions>
/ stimulusframes = [1=intro, begin]
/ validresponse = (begin)
/ recorddata = false
</trial>
<trial Memory>
/ trialduration = 1000
</trial>
<trial ISI>
/ trialduration = 900
</trial>
<trial Set1>
/ trialduration = 500
/ ontrialbegin = [trial.set1.clearstimulusframes()]
/ ontrialbegin = [trial.set1.insertstimulusframe(shape.FlashUR, 1)]
/ ontrialbegin = [trial.memory.clearstimulusframes()]
/ ontrialbegin = [trial.test.resetstimulusframes();]
/ ontrialbegin = [trial.test2.resetstimulusframes();]
/ ontrialbegin = [shape.s1.hposition = list.x1.nextvalue; shape.s1.vposition = list.y1.nextvalue; shape.s2.hposition = list.x1.nextvalue; shape.s2.vposition = list.y1.nextvalue;]
/ ontrialbegin = [shape.s1.color = list.colors.nextvalue; shape.s2.color = list.colors.nextvalue;]
/ ontrialbegin = [{trial.memory.insertstimulusframe(shape.s1, 1); trial.Memory.insertstimulusframe(shape.s2, 1);}]
/ ontrialbegin = [{trial.test.insertstimulusframe(shape.s1, 1); trial.test.insertstimulusframe(shape.s2, 1);}]
/ ontrialbegin = [{trial.test2.insertstimulusframe(shape.s1, 1); trial.test2.insertstimulusframe(shape.s2, 1);}]
</trial>
<trial ISI2>
/ trialduration = 500
</trial>
<trial Test>
/ stimulusframes = [1=Task, Same, Different]
/ validresponse = (Same, Different)
</trial>
<trial Test2>
/ stimulusframes = [1=Task, Same, Different]
/ validresponse = (Same, Different)
/ ontrialbegin = [shape.s2.color = list.colors.nextvalue]
</trial>
<trial Exit>
/ stimulusframes = [1=Done, Go]
/ validresponse = (Go)
</trial>
**************************************************************************************************************
**************************************************************************************************************
<block Instructions>
/ trials = [1=Instructions]
</block>
<block Task1>
/ trials = [1= Set1; 2= Memory; 3 = ISI; 4 = Test; 5 = ISI2]
/ ontrialbegin = [values.condition = 1]
</block>
<block Task2>
/ trials = [1= Set1; 2 = Memory; 3 = ISI; 4 = Test2; 5 = ISI2]
/ ontrialbegin = [values.condition = 2]
</block>
<block End>
/ trials = [1 = exit]
</block>
**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt main>
/ blocks = [1 = Instructions; 2-251 = noreplace(Task1, Task2); 252 = End;]
</expt>