﻿<?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 3  » Problem with selecting stimulus pairs using counters</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 24 May 2026 22:59:14 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Problem with selecting stimulus pairs using counters</title><link>https://forums.millisecond.com/Topic9861.aspx</link><description>&lt;p&gt;[quote]Does this have to do with the use of counters in my script?[/quote]&lt;/p&gt;
&lt;p&gt;Yes.&lt;/p&gt;</description><pubDate>Mon, 04 Mar 2013 03:19:59 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Problem with selecting stimulus pairs using counters</title><link>https://forums.millisecond.com/Topic9857.aspx</link><description>&lt;p&gt;Thanks, that works a treat!&lt;/p&gt;
&lt;p&gt;I don't understand the difference between current(stimcounter) and stimcounter though. I would have thought that unless the text for each word in the pair was somehow matched, different stimuli would have been selected. Also the documentation for creating stimulus pairs uses current to specify selection of the matching stimulus item:&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;&amp;lt;text firstname&amp;gt;
/ items = ("BILL", "LINDON")
/ select = noreplace
&amp;lt;/text&amp;gt;

&amp;lt;text lastname&amp;gt;
/ items = ("CLINTON", "JOHNSON")
/ select = current(firstname)&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;lt;/text&amp;gt;&amp;nbsp;&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;However I get the same problem when I use /select=current(target) to select the neutral text i.e. word pairs are no longer consistently matched. Does this have to do with the use of counters in my script?&lt;/p&gt;</description><pubDate>Sun, 03 Mar 2013 19:30:51 GMT</pubDate><dc:creator>blop</dc:creator></item><item><title>RE: Problem with selecting stimulus pairs using counters</title><link>https://forums.millisecond.com/Topic9856.aspx</link><description>&lt;p&gt;Change&lt;/p&gt;
&lt;p&gt;&amp;lt;text neutral&amp;gt;&lt;br /&gt;/items = neutral&lt;br /&gt;/select = current(stimcounter)&lt;br /&gt;/vposition = neutralvpos&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;/p&gt;
&lt;p&gt;to &lt;/p&gt;
&lt;p&gt;&amp;lt;text neutral&amp;gt;&lt;br /&gt;/items = neutral&lt;br /&gt;/select = stimcounter&lt;br /&gt;/vposition = neutralvpos&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;/p&gt;</description><pubDate>Sun, 03 Mar 2013 03:42:18 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>Problem with selecting stimulus pairs using counters</title><link>https://forums.millisecond.com/Topic9855.aspx</link><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm trying to create a dot probe task in which each stimulus pair is presented once in each of four trial types (based on top-bottom or bottom-top configuration of each word pair, and the location of the probe).&lt;/p&gt;
&lt;p&gt;I thought the script was working fine, but have discovered that the stimulus pairs are not always presented in the correct pairs (e.g. 3/16 pairs are not matched in a basic version with only four stimulus pairs).&lt;/p&gt;
&lt;p&gt;The script is below:&lt;/p&gt;
&lt;p&gt;*******************************************************************&lt;br /&gt;ITEMS&lt;br /&gt;*******************************************************************&lt;br /&gt;&amp;lt;item target&amp;gt;&lt;br /&gt;/1 = "one"&lt;br /&gt;/2 = "two"&lt;br /&gt;/3 = "three"&lt;br /&gt;/4 = "four"&lt;br /&gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;item neutral&amp;gt;&lt;br /&gt;/ 1 = "ONE"&lt;br /&gt;/ 2 = "TWO"&lt;br /&gt;/ 3 = "THREE"&lt;br /&gt;/ 4 = "FOUR"&lt;br /&gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;item probe&amp;gt;&lt;br /&gt;/1 = "p"&lt;br /&gt;/2 = "q"&lt;br /&gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&lt;br /&gt;*******************************************************************&lt;br /&gt;TEXT AND COUNTERS&lt;br /&gt;*******************************************************************&lt;br /&gt;&amp;lt;text probe&amp;gt;&lt;br /&gt;/ items = probe&lt;br /&gt;/ select = replace&lt;br /&gt;/ color = white&lt;br /&gt;/ vposition = probevpos&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;text target&amp;gt;&lt;br /&gt;/items = target&lt;br /&gt;/select = stimcounter&lt;br /&gt;/vposition = threatvpos&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;text neutral&amp;gt;&lt;br /&gt;/items = neutral&lt;br /&gt;/select = current(stimcounter)&lt;br /&gt;/vposition = neutralvpos&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter stimcounter&amp;gt;&lt;br /&gt;/ items =&lt;br /&gt;(1,1,1,1,&lt;br /&gt;2,2,2,2,&lt;br /&gt;3,3,3,3,&lt;br /&gt;4,4,4,4)&lt;br /&gt;/ select = noreplacenorepeat&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter threatvpos&amp;gt;&lt;br /&gt;/ items =&lt;br /&gt;(47%,53%,47%,53%,&lt;br /&gt;47%,53%,47%,53%,&lt;br /&gt;47%,53%,47%,53%,&lt;br /&gt;47%,53%,47%,53%)&lt;br /&gt;/ select = current(stimcounter)&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter neutralvpos&amp;gt;&lt;br /&gt;/items =&lt;br /&gt;(53%, 47%, 53%, 47%&lt;br /&gt;53%, 47%, 53%, 47%&lt;br /&gt;53%, 47%, 53%, 47%&lt;br /&gt;53%, 47%, 53%, 47%)&lt;br /&gt;/select = current(stimcounter)&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter probevpos&amp;gt;&lt;br /&gt;/items =&lt;br /&gt;(47%, 47%, 53%, 53%,&lt;br /&gt;47%, 47%, 53%, 53%,&lt;br /&gt;47%, 47%, 53%, 53%,&lt;br /&gt;47%, 47%, 53%, 53%)&lt;br /&gt;/select = current(stimcounter)&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter correctresponse&amp;gt;&lt;br /&gt;/ items = (25, 16)&lt;br /&gt;/ select = current(probe)&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;*******************************************************************&lt;br /&gt;OTHER STIMULI AND DEFAULTS&lt;br /&gt;*******************************************************************&lt;br /&gt;&amp;lt;text fixation&amp;gt;&lt;br /&gt;/items = (" + ")&lt;br /&gt;/ fontstyle = ("Times", 24pt)&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;shape erase&amp;gt;&lt;br /&gt;/ color = (150,150,150)&lt;br /&gt;/ size = (100%, 100%)&lt;br /&gt;&amp;lt;/shape&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;defaults&amp;gt;&lt;br /&gt;/ txbgcolor = transparent&lt;br /&gt;/ screencolor = (150,150,150)&lt;br /&gt;/ txcolor = white&lt;br /&gt;/ fontstyle = ("Arial Rounded MT", 14pt)&lt;br /&gt;&amp;lt;/defaults&amp;gt;&lt;br /&gt;*******************************************************************&lt;br /&gt;TRIALS AND BLOCKS&lt;br /&gt;*******************************************************************&lt;br /&gt;&amp;lt;trial maintrial&amp;gt;&lt;br /&gt;/stimulustimes = [0 = fixation; 500 = erase, target, neutral; 1000 = erase, probe]&lt;br /&gt;/inputdevice = keyboard&lt;br /&gt;/validresponse = ("p","q")&lt;br /&gt;/iscorrectresponse = [trial.maintrial.response==counter.correctresponse.selectedvalue]&lt;br /&gt;/responsetime = 1000&lt;br /&gt;/timeout = 2500&lt;br /&gt;&amp;lt;/trial&amp;gt;&lt;br /&gt;&amp;lt;block main&amp;gt;&lt;br /&gt;/trials = [1-16 = maintrial]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;

&lt;p&gt;Many thanks!&lt;/p&gt;</description><pubDate>Sat, 02 Mar 2013 18:57:00 GMT</pubDate><dc:creator>blop</dc:creator></item></channel></rss>