Millisecond Forums

selecting pictures

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

By emilia - 3/17/2016

Hi,

I have a problem with the number of pictures that are display.
I don`t understand why inquisit display only 3 picture at a time, and not 6.


<item Norientation>
/1 = "P1.jpg"
/2 = "P2.jpg"
/3 = "P3.jpg"
..............
/30 = "P30.jpg"
</item>

<item Vertical>
/1 = "P1V.jpg"
/2 = "P2V.jpg"
.............
/30 = "P30V.jpg"
</item>

<item Orizontal>
/1 = "P1O.jpg"
/2 = "P2O.jpg"
..........
/30 = "P30O.jpg"
</item>

<picture Norientation>
/items = Norientation
/select = pictureitemcounter
/ hposition = counter.positioncounter.selectedvalue
/size = (120, 120)
</picture>

<picture Orizontal>
/items = Orizontal
/select = pictureitemcounter
/ hposition = counter.positioncounter.selectedvalue
/size = (120, 120)
</picture>

<picture Vertical>
/items = Vertical
/select = pictureitemcounter
/ hposition = counter.positioncounter.selectedvalue
/size = (120, 120)
</picture>

<shape eraser>
/shape = rectangle
/size = (100%, 100%)
/color = (white)
/position = (50%, 50%)
</shape>

<item Prop_Orizontal>
/1 = "Sentence 1"
.....
/30 = "Sentence 30"
</item>

<item Prop_Vertical>
/1 = "S1"
......
/30 = "S30"
</item>

<item Prop_Norientation>
/1 = "S1"
....
/30 = "S30"
</item>

<text prop_orizontal>
/items = prop_orizontal
/select = current (orizontal)
</text>

<text prop_vertical>
/items = prop_vertical
/select = current (vertical)
</text>

<text prop_norientation>
/items = prop_norientation
/select = current (norientation)
</text>

<block myblock>
/ trials = [1-10=mytrial]
</block>

<trial mytrial>
/stimulustimes = [50 = prop_norientation; 100 = eraser; 300 = vertical, vertical, orizontal, orizontal, norientation, norientation]
/ validresponse = (anyresponse)
/ timeout = 10000
</trial>

<counter pictureitemcounter>
/ items = (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30)
/ select = noreplace
/ selectionrate = always
</counter>

<counter positioncounter>
/ items = (20%,40%,50%,60%,70%,80%)
/ select = noreplace
/ selectionrate = always
</counter> 
By Dave - 3/18/2016

For performance reasons any stimulus element -- <text>, <picture>, etc. -- will only select a *single* item per trial. You also cannot have the same stimulus element -- say <picture vertical> -- occupy multiple different positions in a single trial.

You need to set up a total of 6 <picture> elements -- not 3 -- if you want the trial to display six different images. I.e.

<picture Vertical_1>
/items = Vertical
/select = pictureitemcounter
/ hposition = counter.positioncounter.selectedvalue
/size = (120, 120)
</picture>

<picture Vertical_2>
/items = Vertical
/select = pictureitemcounter
/ hposition = counter.positioncounter.selectedvalue
/size = (120, 120)
</picture>

and so forth with

<trial mytrial>
/stimulustimes = [50 = prop_norientation; 100 = eraser; 300 = vertical_1, vertical_2, ... ]
...
</trial>
By emilia - 3/18/2016

Hy,

thank you! i didn`t think of that!

great help!
Thanks!