Is there a way to select certain items from the items list in the picture element on Inquisit? I am trying to create an experiment to show sequences of four items in a fixed order.
For example, if I have:
<item stims>
/1="1a.jpg"
/2="1b.jpg"
/3="1c.jpg"
/4="1d.jpg"
/5="2a.jpg"
/6="2b.jpg"
/7="2c.jpg"
/8="2d.jpg"
/9="3a.jpg"
/10="3b.jpg"
/11="3c.jpg"
/12="3d.jpg"
</item>
<item probestims>
/1="1a.jpg"
/2="2b.jpg"
/3="3c.jpg"
</item>
Is it possible to do something like-
<picture enc1>
/ items = item.stims (1,2,3,4) ## to present the first four items
/ size = (parameters.stimsize, parameters.stimsize)
/ select = sequence
/ position =(50%, 50%)
</picture>
<picture enc2>
/ items = item.stims (5,6,7,8) ## to present the next four items
/ size = (parameters.stimsize, parameters.stimsize)
/ select = sequence
/ position =(50%, 50%)
</picture>
<picture enc3>
/ items = item.stims (9,10,11,12) ## to present the next four items
/ size = (parameters.stimsize, parameters.stimsize)
/ select = sequence
/ position =(50%, 50%)
</picture>
<picture probe1>
/ items = item.probestims (1)
/ size = (parameters.stimsize, parameters.stimsize)
/ position =(50%, 50%)
</picture>
<picture probe2>
/ items = item.probestims (2)
/ size = (parameters.stimsize, parameters.stimsize)
/ position =(50%, 50%)
</picture>
<picture probe3>
/ items = item.probestims (3)
/ size = (parameters.stimsize, parameters.stimsize)
/ position =(50%, 50%)
</picture>
And then
<item fixationcross>
/1="fixation.png"
</item>
<picture fixation>
/ items = item.fixationcross
/ position = (50%, 50%)
/ size = (20%,20%)
/ valign = center
/ halign = center
</picture>
<text pnp>
/ items = ("Was this item present in the sequence?")
/ position = (50%, 10%)
/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)
/ size = (25%, 10%)
/ txcolor = black
/ txbgcolor = #afafaf
</text>
//////////////////////////////////////////////////////////////////////////////////////////////
<parameters>
/ stimsize = 75%
/ stimulusduration = 1500
/ probeduration = 1500
/ fixationduration = 3000
/ responsewindow = 120000
</parameters>
/////////////////////////////////////////////////////////////////////////////////////////////
<trial encodingimage1>
/ showmousecursor = false
/ stimulustimes = [0=enc1]
/ timeout = parameters.stimulusduration
</trial>
<trial encodingimage2>
/ showmousecursor = false
/ stimulustimes = [0=enc2]
/ timeout = parameters.stimulusduration
</trial>
<trial encodingimage3>
/ showmousecursor = false
/ stimulustimes = [0=enc3]
/ timeout = parameters.stimulusduration
</trial>
//////////
<trial fixationcross>
/ showmousecursor = false
/ stimulustimes = [0=fixation]
/ timeout = parameters.fixationduration
</trial>
//////////
<trial probe1>
/ showmousecursor = false
/ stimulustimes = [0=probe1, pnp]
/ timeout = parameters.responsewindow
/ inputdevice = keyboard
/ validresponse = (16, 17)
</trial>
<trial probe2>
/ showmousecursor = false
/ stimulustimes = [0=probe2, pnp]
/ timeout = parameters.responsewindow
/ inputdevice = keyboard
/ validresponse = (16, 17)
</trial>
<trial probe3>
/ showmousecursor = false
/ stimulustimes = [0=probe3, pnp]
/ timeout = parameters.responsewindow
/ inputdevice = keyboard
/ validresponse = (16, 17)
</trial>
/////////////////////////////////////////////////////////////////////////////////////////////
<block encoding1>
/ trials = [1=encodingimage1; 2=encodingimage1; 3=encodingimage1; 4=encodingimage1; 5=fixationcross; 6=probe1]
</block>
<block encoding2>
/ trials = [1=encodingimage2; 2=encodingimage2; 3=encodingimage2; 4=encodingimage2; 5=fixationcross; 6=probe2]
</block>
<block encoding3>
/ trials = [1=encodingimage3; 2=encodingimage3; 3=encodingimage3; 4=encodingimage3; 5=fixationcross; 6=probe3]
</block>
/////////////////////////////////////////////////////////////////////////////////////////////
<expt>
/ blocks = [1=encoding2; 2=encoding3; 3=encoding1]
</expt>