Millisecond Forums

random then constant selection

https://forums.millisecond.com/Topic14270.aspx

By plush - 9/17/2014

Dear friends,

I'm looking for a way I can tell Inquisit to select two pictures from a list of 14 items. And keep those pictures coming back in the trials within one block. So there are two requirements 1) the first picture can not be the same as the second picture and 2), pictures need to remain the same throughout the trials in this specific block.

Any advice? thx!!

<trial polygonaction>
/stimulustimes = [1=polygonaction]
/timeout = 1000
</trial>
<trial polygoninaction>
/stimulustimes = [1=polygoninaction]
/timeout = 1000
</trial>

<picture polygonaction>
/items = polygons
</picture>
<picture polygoninaction>
/items = polygons
</picture>

<item polygons>
/1 = "1.jpg"
/2 = "2.jpg"
/3 = "3.jpg"
/4 = "4.jpg"
/5 = "5.jpg"
/6 = "6.jpg"
/7 = "7.jpg"
/8 = "8.jpg"
/9 = "9.jpg"
/10 = "10.jpg"
/11 = "11.jpg"
/12 = "12.jpg"
/13 = "13.jpg"
/14 = "14.jpg"
</item>
By Dave - 9/17/2014

<values>
/ polygonactionitem = 1
/ polygoninactionitem = 1
</values>

<block myblock>
/ onblockbegin = [values.polygonactionitem=list.allitems.nextindex; values.polygoninactionitem=list.allitems.nextindex]
/ trials = [1-20=noreplace(polygonaction, polygoninaction)]
</block>

<trial polygonaction>
/stimulustimes = [1=polygonaction]
/timeout = 1000
</trial>

<trial polygoninaction>
/stimulustimes = [1=polygoninaction]
/timeout = 1000
</trial>

<picture polygonaction>
/items = polygons
/ select = values.polygonactionitem
</picture>

<picture polygoninaction>
/items = polygons
/ select = values.polygoninactionitem
</picture>

<item polygons>
/1 = "1.jpg"
/2 = "2.jpg"
/3 = "3.jpg"
/4 = "4.jpg"
/5 = "5.jpg"
/6 = "6.jpg"
/7 = "7.jpg"
/8 = "8.jpg"
/9 = "9.jpg"
/10 = "10.jpg"
/11 = "11.jpg"
/12 = "12.jpg"
/13 = "13.jpg"
/14 = "14.jpg"
</item>

<list allitems>
/ poolsize = 14
/ selectionrate = always
</list>

By plush - 9/17/2014

Awesome!! Works like a charm :)