﻿<?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 4  » N-Back Task (letter stimuli)</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 17:30:23 GMT</lastBuildDate><ttl>20</ttl><item><title>N-Back Task (letter stimuli)</title><link>https://forums.millisecond.com/Topic10298.aspx</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I'm modifying the script for the&amp;nbsp;N-Back Task (letter stimuli) so that it only includes the 1, 2 and 3-back levels, i.e. I have deleted the 0-back level.&lt;/p&gt;
&lt;p&gt;When testing the script I see this error message: "Unable to initialize &amp;lt;picture expinstructionslide&amp;gt; item number 4. Verify the item exists and is correctly defined."&lt;/p&gt;
&lt;p&gt;Evidently I need to change something in the Instruction script, however, I can't figure out what that may be. Here is the script I have for Instruction Image Selection:&lt;/p&gt;

&lt;p&gt;
&lt;p&gt;***********INSTRUCTION IMAGE SELECTION******************************************&lt;/p&gt;
&lt;p&gt;&amp;lt;picture SingleNbackinstructions_start&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = Nback_startinstructions&lt;/p&gt;
&lt;p&gt;/ select = sequence&lt;/p&gt;
&lt;p&gt;/ size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;picture Practice_end&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = practiceend&lt;/p&gt;
&lt;p&gt;/select = 1&lt;/p&gt;
&lt;p&gt;/ size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;picture StartExp_slide&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = startendslides&lt;/p&gt;
&lt;p&gt;/ select = 1&lt;/p&gt;
&lt;p&gt;/ size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;picture EndExp_slide&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = startendslides&lt;/p&gt;
&lt;p&gt;/select = 2&lt;/p&gt;
&lt;p&gt;/ size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;

&lt;p&gt;*instructions for individual experimental trials are selected depending on level of N&lt;/p&gt;
&lt;p&gt;&amp;lt;picture expinstructionslide&amp;gt;&lt;/p&gt;
&lt;p&gt;/items = expinstructions&lt;/p&gt;
&lt;p&gt;/select = expressions.selectinstruct&lt;/p&gt;
&lt;p&gt;/size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;picture repeatpractice_page&amp;gt;&lt;/p&gt;
&lt;p&gt;/items = &amp;nbsp;("SingleNbackInstructions_practicerepeat.gif")&lt;/p&gt;
&lt;p&gt;/size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/p&gt;</description><pubDate>Tue, 09 Dec 2014 05:58:11 GMT</pubDate><dc:creator>mjeeves</dc:creator></item><item><title>RE: N-Back Task (letter stimuli)</title><link>https://forums.millisecond.com/Topic15149.aspx</link><description>You need to make sure that the expression never returns an invalid index. See the comments in the script and look at how the index is computed (i.e., trace the usage of values.N throughout the script; hit CTRL+F and search for values.N).&lt;br/&gt;&lt;br/&gt;If you simply remove stuff without paying attention to that, things will break.&lt;br/&gt;</description><pubDate>Tue, 09 Dec 2014 05:58:11 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: N-Back Task (letter stimuli)</title><link>https://forums.millisecond.com/Topic15147.aspx</link><description>I´ve got the same problem and I don´t know how to change &lt;span style="background-color: rgb(255, 145, 189);"&gt;expressions.selectinstruct&lt;/span&gt;.&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/selectinstruct = values.N + 1&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 09 Dec 2014 05:16:22 GMT</pubDate><dc:creator>NBuch</dc:creator></item><item><title>RE: N-Back Task (letter stimuli)</title><link>https://forums.millisecond.com/Topic10302.aspx</link><description>&lt;p&gt;Thanks Dave, that worked a treat.&lt;/p&gt;</description><pubDate>Wed, 17 Apr 2013 03:40:23 GMT</pubDate><dc:creator>mjeeves</dc:creator></item><item><title>RE: N-Back Task (letter stimuli)</title><link>https://forums.millisecond.com/Topic10300.aspx</link><description>&lt;p&gt;[quote]&lt;/p&gt;
&lt;p&gt;&amp;lt;picture expinstructionslide&amp;gt;&lt;/p&gt;
&lt;p&gt;/items = expinstructions&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000;"&gt;/select = expressions.selectinstruct&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;/size = (100%, 100%)&lt;/p&gt;
&lt;p&gt;&amp;lt;/picture&amp;gt;&lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;You need to check that expression.&lt;/p&gt;</description><pubDate>Wed, 17 Apr 2013 02:14:01 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>