﻿<?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  » two-step memory retrieval task - Problems with stimulus list consistency when conditionally branching</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 25 Sep 2026 16:32:53 GMT</lastBuildDate><ttl>20</ttl><item><title>two-step memory retrieval task - Problems with stimulus list consistency when conditionally branching</title><link>https://forums.millisecond.com/Topic29091.aspx</link><description>Greetings,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am new to Inquisit and I have searched existing posts for an answer to my question however I am having an additional problem. Most likely it is a simple fix however some additional guidance would be very helpful!&lt;br/&gt;&lt;br/&gt;Background: &amp;nbsp;I am looking to create a two-step memory retrieval task. First at encoding, subjects view a series of images and make either a size, naturalness, or shade judgment. At retrieval subjects first make a recognition memory judgment ("old","new"). If they select old, then they make a source memory judgment ("size","naturalness,"shade") indicating what response they had made previously to this image at encoding. I was able to use existing posts to the forum to figure out the conditional branching, to enable the source memory trial to initiate only when subjects make an old response. &lt;br/&gt;&lt;br/&gt;Problem: &amp;nbsp;However, currently if I make an old judgment (on image 1 - 8ball) then a new judgment (on image 2 - wrench) and then another old judgment (on image 3 - accordion), the image that appears for the subsequent source memory task is image 2 (wrench) rather than image 3 (accordion), even though I am on the third trial. As it is unclear to me precisely how Inquisit keeps track of the trial index in this instance I presume this means that the two trial types (the item memory trail element and the source memory trial element) and their sequence coding operate independently from one another? Is there a way to have the source memory task trial index tag along with the item memory trial index, so that image 3&amp;nbsp;(accordion) will be presented when I make the second source memory judgment in this example?&lt;br/&gt;&lt;br/&gt;&amp;nbsp;I have included the code only for the retrieval portion of the experiment here for the sake of concision, but please let me know if any additional code and/or more elaboration would be at all helpful! Many thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;item retObjects1&amp;gt;&lt;br/&gt;/1 = "images/8ball.jpg"&lt;br/&gt;/2 = "images/adjustablewrench01b.jpg"&lt;br/&gt;/3 = "images/accordion01.jpg"&lt;br/&gt;/4 = "images/acousticguitar02.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture retObjectsItem1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;/ select = sequence&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt; &amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture retObjectsSource1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;/ select = sequence&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt; &amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block ret1block&amp;gt;&lt;br/&gt;/ trials = [1-4 = ret1_item]&lt;br/&gt;/ preinstructions = (retinstruc1)&lt;br/&gt;/ errormessage = false&lt;br/&gt;/ postinstructions = (retfeedbackpage1)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial ret1_item&amp;gt;&lt;br/&gt;/ stimulusframes = [1=retObjectsItem1; 400=blank; 1=leftreminderret; 1=rightreminderret]&lt;br/&gt;/ validresponse = ("1", "2")&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ numframes = 400&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp; if (computer.scancodetochar(trial.ret1_item.response) == "1")&lt;br/&gt;&amp;nbsp; trial.ret1_source;&lt;br/&gt;]&lt;br/&gt;/ timeout = 8000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial ret1_source&amp;gt;&lt;br/&gt;/ stimulusframes = [1=retObjectsSource1; 400=blank; 1=Lightreminderret; 1=Natreminderret; 1=Sizereminderret]&lt;br/&gt;/ validresponse = ("j","k","l")&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ numframes = 400&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ timeout = 8000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 26 May 2020 03:42:55 GMT</pubDate><dc:creator>tbiba</dc:creator></item><item><title>RE: two-step memory retrieval task - Problems with stimulus list consistency when conditionally branching</title><link>https://forums.millisecond.com/Topic29093.aspx</link><description>Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thanks so much! Works like a charm! Also I appreciate the reference and I find this very useful to help begin to build up my inquisit knowledge.&lt;br/&gt;&lt;br/&gt;Thomas</description><pubDate>Tue, 26 May 2020 03:42:55 GMT</pubDate><dc:creator>tbiba</dc:creator></item><item><title>RE: two-step memory retrieval task - Problems with stimulus list consistency when conditionally branching</title><link>https://forums.millisecond.com/Topic29092.aspx</link><description>&lt;blockquote data-id="29091" class="if-quote-wrapper" unselectable="on" data-guid="1590451191147" id="if_insertedNode_1590451189812" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29091" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29091" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29091" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;tbiba - 5/25/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29091"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Greetings,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am new to Inquisit and I have searched existing posts for an answer to my question however I am having an additional problem. Most likely it is a simple fix however some additional guidance would be very helpful!&lt;br/&gt;&lt;br/&gt;Background: &amp;nbsp;I am looking to create a two-step memory retrieval task. First at encoding, subjects view a series of images and make either a size, naturalness, or shade judgment. At retrieval subjects first make a recognition memory judgment ("old","new"). If they select old, then they make a source memory judgment ("size","naturalness,"shade") indicating what response they had made previously to this image at encoding. I was able to use existing posts to the forum to figure out the conditional branching, to enable the source memory trial to initiate only when subjects make an old response. &lt;br/&gt;&lt;br/&gt;Problem: &amp;nbsp;However, currently if I make an old judgment (on image 1 - 8ball) then a new judgment (on image 2 - wrench) and then another old judgment (on image 3 - accordion), the image that appears for the subsequent source memory task is image 2 (wrench) rather than image 3 (accordion), even though I am on the third trial. As it is unclear to me precisely how Inquisit keeps track of the trial index in this instance I presume this means that the two trial types (the item memory trail element and the source memory trial element) and their sequence coding operate independently from one another? Is there a way to have the source memory task trial index tag along with the item memory trial index, so that image 3&amp;nbsp;(accordion) will be presented when I make the second source memory judgment in this example?&lt;br/&gt;&lt;br/&gt;&amp;nbsp;I have included the code only for the retrieval portion of the experiment here for the sake of concision, but please let me know if any additional code and/or more elaboration would be at all helpful! Many thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;item retObjects1&amp;gt;&lt;br/&gt;/1 = "images/8ball.jpg"&lt;br/&gt;/2 = "images/adjustablewrench01b.jpg"&lt;br/&gt;/3 = "images/accordion01.jpg"&lt;br/&gt;/4 = "images/acousticguitar02.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture retObjectsItem1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;/ select = sequence&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt; &amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture retObjectsSource1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;/ select = sequence&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt; &amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block ret1block&amp;gt;&lt;br/&gt;/ trials = [1-4 = ret1_item]&lt;br/&gt;/ preinstructions = (retinstruc1)&lt;br/&gt;/ errormessage = false&lt;br/&gt;/ postinstructions = (retfeedbackpage1)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial ret1_item&amp;gt;&lt;br/&gt;/ stimulusframes = [1=retObjectsItem1; 400=blank; 1=leftreminderret; 1=rightreminderret]&lt;br/&gt;/ validresponse = ("1", "2")&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ numframes = 400&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp; if (computer.scancodetochar(trial.ret1_item.response) == "1")&lt;br/&gt;&amp;nbsp; trial.ret1_source;&lt;br/&gt;]&lt;br/&gt;/ timeout = 8000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial ret1_source&amp;gt;&lt;br/&gt;/ stimulusframes = [1=retObjectsSource1; 400=blank; 1=Lightreminderret; 1=Natreminderret; 1=Sizereminderret]&lt;br/&gt;/ validresponse = ("j","k","l")&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ numframes = 400&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ timeout = 8000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29091"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;&amp;lt;picture retObjectsItem1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;/ select = sequence&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture retObjectsSource1&amp;gt;&lt;br/&gt;/ items = retObjects1&lt;br/&gt;&lt;strong&gt;/ select = picture.retObjectsItem1.currentindex&lt;/strong&gt;&lt;br/&gt;/ size = (400, 400)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;Also see &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/howtopairs.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/howtopairs.htm&lt;/a&gt;</description><pubDate>Tue, 26 May 2020 00:02:40 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>