﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Random stimuls selection in trial</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 30 May 2026 16:01:35 GMT</lastBuildDate><ttl>20</ttl><item><title>Random stimuls selection in trial</title><link>https://forums.millisecond.com/Topic19524.aspx</link><description>Hello!&lt;br/&gt;I am creating an experiment using a dual-stream version of RSVP paradigm. The task is to identify the T1 and T2 targets that are preceded and followed by distractors.&amp;nbsp;&lt;br/&gt;The script for the distractors looks like this:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;item DYS&amp;gt;&lt;br/&gt;/1="Q"/2="W"/3="E" /4="R" /5="T" /6="Y" /7="U"&lt;br/&gt;/8="I" /9="O" /10="P" /11="A" /12="S" /13="H"&lt;br/&gt;/14="Z" /15="X" /16="C" /17="V" /18="B" /19="N" /20="M"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text DYSL&amp;gt;&lt;br/&gt;/ items = DYS&lt;br/&gt;/ position = (25,50)&lt;br/&gt;/ fontstyle = ("Helvetica", 6.38%, true, false, false, false, 5, 1)&lt;br/&gt;/ select = noreplace&lt;br/&gt;&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&amp;lt;text DYSR&amp;gt;&lt;br/&gt;/ items = DYS&lt;br/&gt;/ position = (75,50)&lt;br/&gt;/ fontstyle = ("Helvetica", 6.38%, true, false, false, false, 5, 1)&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;And the script for the first trial looks like that:&lt;br/&gt;&amp;lt;trial LAG1T1LT2L&amp;gt;&lt;br/&gt;/ stimulustimes = [1= FIX, DYSL, DYSR;&lt;br/&gt;130=FIX, DYSL, DYSR;&lt;br/&gt;259=BLANK, BLANKL, BLANKR; &lt;br/&gt;260=FIX, DYSL, DYSR;&lt;br/&gt;289=BLANK, BLANKL, BLANKR;&lt;br/&gt;390=FIX, DYSL, DYSR;&lt;br/&gt;519=BLANK, BLANKL, BLANKR;&lt;br/&gt;520=FIX, DYSL, DYSR;&lt;br/&gt;649=BLANK, BLANKL, BLANKR;&lt;br/&gt;650=FIX, DYSL, DYSR;&lt;br/&gt;749=BLANK, BLANKL, BLANKR;&lt;br/&gt;750=FIX, T1L, DYSR;&lt;br/&gt;879=BLANK, BLANKL, BLANKR;&lt;br/&gt;880=FIX, T2L, DYSR;&lt;br/&gt;1009=BLANK, BLANKL, BLANKR;&lt;br/&gt;1010=FIX, DYSL, DYSR;&lt;br/&gt;1139=BLANK, BLANKL, BLANKR;&lt;br/&gt;1140=FIX, DYSL, DYSR]&lt;br/&gt;&lt;br/&gt;/ response = noresponse&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;My problem is that when I run the script the first pair of distractors are being repeated for the whole trial, and I would want to get a random selection of items from the DYS directory on each stimulstimes involving distractors. How can I fix this problem?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Any help would be appreciated!&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Szymon.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 16 Aug 2016 05:39:42 GMT</pubDate><dc:creator>SzymonUchacz</dc:creator></item><item><title>RE: Random stimuls selection in trial</title><link>https://forums.millisecond.com/Topic19533.aspx</link><description>Thank you very much! It worked.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Szymon.&amp;nbsp;</description><pubDate>Tue, 16 Aug 2016 05:39:42 GMT</pubDate><dc:creator>SzymonUchacz</dc:creator></item><item><title>RE: Random stimuls selection in trial</title><link>https://forums.millisecond.com/Topic19527.aspx</link><description>That is by design. For a given stimulus element like &amp;lt;text a&amp;gt;, Inquisit will only allow for selection of ONE item per trial. I.e., if you present &amp;lt;text a&amp;gt; repeatedly in a &amp;lt;trial&amp;gt;, you'll always see the same item. What you need to do is have multiple stimulus elements, as in:&lt;br/&gt;&lt;br/&gt;&amp;lt;block someblock&amp;gt;&lt;br/&gt;/ trials = [1-10 = sometrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial sometrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [list.alist.reset(); ]&lt;br/&gt;/ stimulustimes = [0=a1; 1000=a2; 2000=a3]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text a1&amp;gt;&lt;br/&gt;/ items = aitems&lt;br/&gt;/ select = list.alist.nextindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text a2&amp;gt;&lt;br/&gt;/ items = aitems&lt;br/&gt;/ select = list.alist.nextindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text a3&amp;gt;&lt;br/&gt;/ items = aitems&lt;br/&gt;/ select = list.alist.nextindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item aitems&amp;gt;&lt;br/&gt;/ 1 = "A_a"&lt;br/&gt;/ 2 = "A_b"&lt;br/&gt;/ 3 = "A_c"&lt;br/&gt;/ 1 = "A_d"&lt;br/&gt;/ 2 = "A_e"&lt;br/&gt;/ 3 = "A_f"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list alist&amp;gt;&lt;br/&gt;/ poolsize = 6&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sun, 14 Aug 2016 18:16:12 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>