﻿<?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  » correct response sequence</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 24 Jun 2026 03:14:44 GMT</lastBuildDate><ttl>20</ttl><item><title>correct response sequence</title><link>https://forums.millisecond.com/Topic19124.aspx</link><description>&lt;title&gt;&lt;/title&gt;Hello,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;I was wondering if it is possible to set up a sequence of correct responses for a trial type just as it is possible to specify a sequence of stimuli. Below are my trials where scenes1 and faces1 refers to a list of unique images (see below). There is a different correct response for each image. However, as far as I can tell, if I add a sequence of correct responses, it will treat all of them as correct. Is there a way to specify the order of correct responses?&lt;br/&gt;&lt;br/&gt;Thanks in advance!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial enc1&amp;gt;&lt;br/&gt;/stimulustimes = [0=scenes1; 0=faces1; 2000=blank]&lt;br/&gt;/ validresponse = ("a", "l")&lt;br/&gt;/ correctresponse = ("a")&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ trialduration = 2500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;title&gt;&lt;/title&gt;&lt;p class="p1"&gt;&amp;lt;item scenes1&amp;gt;&lt;/p&gt;&lt;p class="p1"&gt;/1 = "sun_atflrrvztuwhyjsr.jpg"&lt;/p&gt;&lt;p class="p1"&gt;/2 = "sun_bcnnnmofkferpazg.jpg"&lt;/p&gt;&lt;p class="p1"&gt;/3 = "sun_aathwbmlobsaswup.jpg"&lt;br/&gt;&lt;br/&gt;...&lt;/p&gt;&amp;lt;item&amp;gt;</description><pubDate>Mon, 23 May 2016 15:00:34 GMT</pubDate><dc:creator>sdubrow</dc:creator></item><item><title>RE: correct response sequence</title><link>https://forums.millisecond.com/Topic19131.aspx</link><description>&amp;lt;list answers1&amp;gt;&lt;br/&gt;/ items = (30, 38, 38, 30, 38, 38, 30, 30, 30...)&lt;br/&gt;&lt;strong&gt;/ selectionmode = list.answers1.currentindex&lt;/strong&gt;&lt;div class="__IE11CLEANUP__"&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;This does not make sense, because is circular: You are instructing the list to select the item # currently selected by the list itself.&lt;br/&gt;&lt;br/&gt;&amp;gt; &lt;strong&gt;trial&lt;/strong&gt;.enc1.currentindex&lt;br/&gt;&lt;br/&gt;There is no such thing as a &amp;lt;trial&amp;gt;'s current index. &lt;br/&gt;&lt;br/&gt;The list needs to be locked to the *stimulus* element it pertains to as in the example I linked:&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&amp;lt;text mytext&amp;gt;&lt;/strong&gt;&lt;br/&gt;/ items = ("A1", "A2", "B1", "B2")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;* 30 = scancode for "A"-key / 48 = scancode for "B"-key *&lt;br/&gt;&amp;lt;list cresp&amp;gt;&lt;br/&gt;/ items = (30, 30, 48, 48)&lt;br/&gt;/ selectionmode = &lt;strong&gt;text.mytext.currentindex&lt;/strong&gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;In your case, based on your initial post, you'll want to lock the list to &amp;lt;picture scenes1&amp;gt;&lt;br/&gt;&lt;br/&gt;as in &lt;br/&gt;&lt;br/&gt;&amp;lt;list answers1&amp;gt;&lt;br/&gt;/ items = (30, 38, 38, 30, 38, 38, 30, 30, 30...)&lt;br/&gt;&lt;strong&gt;/ selectionmode = picture.scenes1.currentindex&lt;br/&gt;&lt;/strong&gt;&amp;lt;/list&amp;gt;&lt;/div&gt;</description><pubDate>Mon, 23 May 2016 15:00:34 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: correct response sequence</title><link>https://forums.millisecond.com/Topic19127.aspx</link><description>Thanks! I am just having trouble getting the accuracy to be calculated correctly. &amp;nbsp;&lt;br/&gt;&lt;p class="p1"&gt;&lt;p class="p1"&gt;&lt;p class="p1" style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 24px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"&gt;The below will run but won't compute accuracy correctly whereas when I set selectionmode = trial.enc1.currentindex, it didn't run.&lt;br/&gt;&lt;br/&gt;Please advise.&amp;nbsp;&lt;/p&gt;&lt;br/&gt;&amp;lt;list answers1&amp;gt;&lt;/p&gt;&lt;p class="p1"&gt;/ items = (30, 38, 38, 30, 38, 38, 30, 30, 30...)&lt;/p&gt;&lt;p class="p1"&gt;&lt;title&gt;&lt;/title&gt;&lt;p class="p1"&gt;&lt;title&gt;&lt;/title&gt;&lt;p class="p1"&gt;/ selectionmode = list.answers1.currentindex&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;p class="p1"&gt;&amp;lt;/list&amp;gt;&lt;/p&gt;&lt;br/&gt;&amp;lt;trial enc1&amp;gt;&lt;/p&gt;&lt;p class="p1"&gt;/ stimulustimes = [0=scenes1; 0=faces1; 2000=blank]&lt;/p&gt;&lt;p class="p1"&gt;/ validresponse = ("a", "l")&lt;/p&gt;&lt;p class="p1"&gt;/ iscorrectresponse = [trial.enc1.response == list.answers1.nextvalue]&lt;/p&gt;&lt;p class="p1"&gt;/ beginresponsetime = 0&lt;/p&gt;&lt;p class="p1"&gt;/ trialduration = 2500&lt;/p&gt;&lt;p class="p1"&gt;/ responseinterrupt = trial&lt;/p&gt;&lt;p class="p1"&gt;&amp;lt;/trial&amp;gt;&lt;/p&gt;&lt;br/&gt;</description><pubDate>Mon, 23 May 2016 11:35:01 GMT</pubDate><dc:creator>sdubrow</dc:creator></item><item><title>RE: correct response sequence</title><link>https://forums.millisecond.com/Topic19125.aspx</link><description>Yes, you can do so using the &amp;lt;trial&amp;gt;'s /iscorrectresponse attribute and a &amp;lt;list&amp;gt; holding the respective "correct" keyboard scan codes.&lt;br/&gt;&lt;br/&gt;See e.g.: &lt;a href="https://www.millisecond.com/forums/FindPost15355.aspx"&gt;https://www.millisecond.com/forums/FindPost15355.aspx&lt;/a&gt;&lt;br/&gt;</description><pubDate>Mon, 23 May 2016 09:47:18 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>