+xEven if I set the poolsize to 30, it keeps repeating stimuli...
Yes, because the <picture> elements your two <trial> elements use are independent selection pools. If you do not want that you can use <list> elements to form a single selection pool across the various <picture> elements.
<defaults>
/ fontstyle = ("Candara", 24pt)
/ minimumversion = "4.0.4.0"
/ screencolor = darkgrey
</defaults>
<values>
/ trialduration = 1100
/ marker = 0
/ iti = 0
/ image_neu = ""
/ image_emo = ""
/ emoneu_baseline = 0
/ neuemo_baseline = 0
</values>
<instruct>
/ nextkey = (28)
/ lastlabel = "Press Enter"
/ nextlabel = "Press Enter"
/ fontstyle = ("Candara", 24pt)
/ screencolor = darkgrey
/ txcolor = (0, 0, 0)
/ wait = 500
/ windowsize = (100%,100%)
</instruct>
--------------------
STIMULI
<text marker>
/ items = ("0")
/ port = eyetracker
/ erase = false
</text>
<text emoneu_baseline>
/ items = ("1")
/ erase = false
/ port = eyetracker
</text>
<text neuemo_baseline>
/ items = ("2")
/ erase = false
/ port = eyetracker
</text>
<text allbitstozero>
/ items = ("0")
/ erase = false
/ port = eyetracker
</text>
<item emotional>
/ 1 = "S01.jpg"
/ 2 = "S02.jpg"
/ 3 = "S03.jpg"
/ 4 = "S04.jpg"
/ 5 = "S05.jpg"
/ 6 = "S06.jpg"
/ 7 = "S07.jpg"
/ 8 = "S08.jpg"
/ 9 = "S09.jpg"
/ 10 = "S10.jpg"
/ 11 = "S11.jpg"
/ 12 = "S12.jpg"
/ 13 = "S13.jpg"
/ 14 = "S14.jpg"
/ 15 = "S15.jpg"
/ 16 = "S16.jpg"
/ 17 = "S17.jpg"
/ 18 = "S18.jpg"
/ 19 = "S19.jpg"
/ 20 = "S20.jpg"
/ 21 = "S21.jpg"
/ 22 = "S22.jpg"
/ 23 = "S23.jpg"
/ 24 = "S24.jpg"
/ 25 = "S25.jpg"
/ 26 = "S26.jpg"
/ 27 = "S27.jpg"
/ 28 = "S28.jpg"
/ 29 = "S29.jpg"
/ 30 = "S30.jpg"
</item>
<item neutral>
/ 1 = "N01.jpg"
/ 2 = "N02.jpg"
/ 3 = "N03.jpg"
/ 4 = "N04.jpg"
/ 5 = "N05.jpg"
/ 6 = "N06.jpg"
/ 7 = "N07.jpg"
/ 8 = "N08.jpg"
/ 9 = "N09.jpg"
/ 10 = "N10.jpg"
/ 11 = "N11.jpg"
/ 12 = "N12.jpg"
/ 13 = "N13.jpg"
/ 14 = "N14.jpg"
/ 15 = "N15.jpg"
/ 16 = "N16.jpg"
/ 17 = "N17.jpg"
/ 18 = "N18.jpg"
/ 19 = "N19.jpg"
/ 20 = "N20.jpg"
/ 21 = "N21.jpg"
/ 22 = "N22.jpg"
/ 23 = "N23.jpg"
/ 24 = "N24.jpg"
/ 25 = "N25.jpg"
/ 26 = "N26.jpg"
/ 27 = "N27.jpg"
/ 28 = "N28.jpg"
/ 29 = "N29.jpg"
/ 30 = "N30.jpg"
</item>
< item fix>
/ 1 = "fixationcross.png"
</item>
<list neuitems>
/ poolsize = 30</list>
<list emoitems>
/ poolsize = 30</list>
<text neuleft>
/ items = neutral
/ position = (25%, 50%)
/ size = (900, 600)
/ selectionrate = trial
/ select = list.neuitems.nextindex</text>
<text neuright>
/ items = neutral
/ position = (75%, 50%)
/ size = (900, 600)
/ selectionrate = trial
/ select = list.neuitems.nextindex</text>
<text emoleft>
/ items = emotional
/ position = (25%, 50%)
/ size = (900, 600)
/ selectionrate = trial
/ select = list.emoitems.nextindex</text>
<text emoright>
/ items = emotional
/ position = (75%, 50%)
/ size = (900, 600)
/ selectionrate = trial
/ select = list.emoitems.nextindex</text>
<text fixation>
/ items = fix
/ position = (50%, 50%)
</text>
------------------------
TRIALS
<trial emoneu>
/ ontrialbegin = [values.marker = (list.emoitems.nextindex*100) + list.neuitems.nextindex;]/ ontrialbegin = [text.marker.setitem(values.marker, 1);]
/ ontrialbegin = [values.iti = round(rand(100,200))]
/ stimulustimes = [0 = fixation, emoneu_baseline; 1000 = allbitstozero; 1001 = emoleft, neuright, marker]
/ posttrialpause = (values.iti)
/ inputdevice = keyboard
/ recorddata = true
/ ontrialend = [values.image_emo = (text.emoleft.currentitem); values.image_neu = text.neuright.currentitem]
/ timeout = values.trialduration
</trial>
<trial neuemo>
/ ontrialbegin = [values.marker = (list.neuitems.nextindex*100) + list.emoitems.nextindex;]/ ontrialbegin = [text.marker.setitem(values.marker, 1);]
/ ontrialbegin = [values.iti = round(rand(100,200))]
/ stimulustimes = [0 = fixation, neuemo_baseline; 1000 = allbitstozero; 1001 = neuleft, emoright, marker]
/ posttrialpause = (values.iti)
/ inputdevice = keyboard
/ recorddata = true
/ ontrialend = [values.image_emo = text.emoright.currentitem; values.image_neu = text.neuleft.currentitem]
/ timeout = values.trialduration
</trial>
<trial iti>
/ stimulusframes = [1 = fixation]
/ timeout = round(rand(200-500))
/ recorddata = false
</trial>
<trial fixation>
/ stimulusframes = [1 = fixation]
/ timeout = 100
/ recorddata = false
</trial>
<list trialselector>
/ items = (trial.emoneu, trial.neuemo)
/ itemprobabilities = (.50, .50)
/ poolsize = 30</list>
<block eyetracking>
/ trials = [1-30 = list.trialselector]</block>
<data eyetracking>
/ file = "Sequence.iqdat"
/ columns = [subject trialnum trialcode values.image_emo values.image_neu values.iti values.marker]
/ separatefiles = true
</data>
<expt eyetracking>
/ blocks = [1 = eyetracking]
</expt>
You can see the difference in the attached data file.