﻿<?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  » Problem with presenting blank frame in Picture SPAN task Engle et al (2016)</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 11 Sep 2026 00:18:37 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem with presenting blank frame in Picture SPAN task Engle et al (2016)</title><link>https://forums.millisecond.com/Topic23101.aspx</link><description>Hello.&lt;br/&gt;&lt;br/&gt;I am going to create picture SPAN task as described by&amp;nbsp; Engle et al (2016) [http://englelab.gatech.edu/2016/Hicks_Foster_Engle_2016.pdf] to use in my research.&lt;br/&gt;I am using OSPAN task from Milisecond test library as a template.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In a nutshell in picture SPAN participants must remember sequence of pictures when solving math task, then subjects are required to recall picture in order of presentation.&lt;br/&gt;&lt;br/&gt;In each trial of a phase of recalling pictures participants can do four actions:&lt;br/&gt;&lt;br/&gt;recall one picture by clinking on it&lt;br/&gt;clear all recalled picture (to start recalling from beginning in next trial)&lt;br/&gt;provide empty frame (if he/she does not remember what picture should be on given position)&lt;br/&gt;exit recall phase&lt;br/&gt;&lt;br/&gt;Feedback in a form of sequence of recalled picture appears on the bottom of the screen.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I have some strange problem with action of proving empty frame in recall phase.&lt;br/&gt;To handle feedback in recalled phase I have created nine pictures elements with values in item attribute, at the beginning of the script all this values are set to blank_b.jpg file containing only white rectangle and thus any of pictures is visible , then as participants click on subsequent pictures values are updated by names of choose picture to present image of this picture on a screen as a feedback.&lt;br/&gt;&lt;br/&gt;e.g&lt;br/&gt;&amp;lt;picture recalled_pictures_1&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;%values.recalled_picture_1%&amp;gt;")&lt;br/&gt;/ size = (8%,8%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;When participant click on picture in first trial of recalled phase values.recalled_picture_1&amp;nbsp; is update to name of image for choose picture e.g frog.jpg if participant click on frog picture and this resulting in presenting of frog picture on a bottom of a screen&lt;br/&gt;&lt;br/&gt;When participant click not on picture but on a button "PUSTE" (EMPTY) in recalled phase the values.recalled_picture_1 should be update to blank.jpg resulting in black frame in feedback sequence on bottom of a screen.&lt;br/&gt;And here my problem starts, I cannot update my values to a blank.jpg to present empty frame in feedback sequnecne, but I can update this values to other pictures file names.&lt;br/&gt;e.g&lt;br/&gt;&lt;br/&gt;This line of code intend to update values.recalled_picture_1 to blank.jpg, when participant click button PUSTE (PUSTE is a text element named X) :&lt;br/&gt;&lt;br/&gt; if (values.picture_no == 1 &amp;amp;&amp;amp; trial.recall_letter.response == "X") values.recalled_picture_1 = "blank.jpg";&lt;br/&gt;&lt;br/&gt;but this does not work, when I click on button PUSTE&amp;nbsp; script stops working and I have this message:&lt;br/&gt;&lt;span style="font-style: italic;"&gt;Unable to initialize &amp;lt;picture recalled_pictures_1&amp;gt; item number 1. Verify the item exists and is correctly defined.&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;However when I change updates from blank.jpg to other file name e.g frog.jpg this works:&lt;br/&gt;&lt;br/&gt;if (values.picture_no == 1 &amp;amp;&amp;amp; trial.recall_letter.response == "X") values.recalled_picture_1 = "frog.jpg";&lt;br/&gt;&lt;br/&gt;In such a case every time when I press button PUSTE I have frog picture presented in feedback sequence, this proved some clues that logic seems to be correct but sth wrong is with blank.jpg picture.&lt;br/&gt;This is handled by&amp;nbsp;&amp;lt;trial recall_letter&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I do not know why this code works for one file name but not for another, would anyone help me with this issue?&lt;br/&gt;&lt;br/&gt;Than you in advance for any help.&lt;br/&gt;&lt;br/&gt;Pleas find attached my script and files.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sat, 16 Dec 2017 09:05:49 GMT</pubDate><dc:creator>kulajw</dc:creator></item><item><title>RE: Problem with presenting blank frame in Picture SPAN task Engle et al (2016)</title><link>https://forums.millisecond.com/Topic23114.aspx</link><description>Thank you for your answer ;)&lt;br/&gt;&lt;br/&gt;I do not know that all picture must be defined even if not directly used.&lt;br/&gt;&lt;br/&gt;Best</description><pubDate>Sat, 16 Dec 2017 09:05:49 GMT</pubDate><dc:creator>kulajw</dc:creator></item><item><title>RE: Problem with presenting blank frame in Picture SPAN task Engle et al (2016)</title><link>https://forums.millisecond.com/Topic23107.aspx</link><description>&lt;div data-id="23101" class="if-quote-wrapper" unselectable="on" data-guid="1513356088989"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23101" 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="23101" 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="23101" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;kulajw - Friday, December 15, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23101"&gt;&lt;div class="if-quote-message-margin"&gt;Hello.&lt;br/&gt;&lt;br/&gt;I am going to create picture SPAN task as described by&amp;nbsp; Engle et al (2016) [http://englelab.gatech.edu/2016/Hicks_Foster_Engle_2016.pdf] to use in my research.&lt;br/&gt;I am using OSPAN task from Milisecond test library as a template.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In a nutshell in picture SPAN participants must remember sequence of pictures when solving math task, then subjects are required to recall picture in order of presentation.&lt;br/&gt;&lt;br/&gt;In each trial of a phase of recalling pictures participants can do four actions:&lt;br/&gt;&lt;br/&gt;recall one picture by clinking on it&lt;br/&gt;clear all recalled picture (to start recalling from beginning in next trial)&lt;br/&gt;provide empty frame (if he/she does not remember what picture should be on given position)&lt;br/&gt;exit recall phase&lt;br/&gt;&lt;br/&gt;Feedback in a form of sequence of recalled picture appears on the bottom of the screen.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I have some strange problem with action of proving empty frame in recall phase.&lt;br/&gt;To handle feedback in recalled phase I have created nine pictures elements with values in item attribute, at the beginning of the script all this values are set to blank_b.jpg file containing only white rectangle and thus any of pictures is visible , then as participants click on subsequent pictures values are updated by names of choose picture to present image of this picture on a screen as a feedback.&lt;br/&gt;&lt;br/&gt;e.g&lt;br/&gt;&amp;lt;picture recalled_pictures_1&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;%values.recalled_picture_1%&amp;gt;")&lt;br/&gt;/ size = (8%,8%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;When participant click on picture in first trial of recalled phase values.recalled_picture_1&amp;nbsp; is update to name of image for choose picture e.g frog.jpg if participant click on frog picture and this resulting in presenting of frog picture on a bottom of a screen&lt;br/&gt;&lt;br/&gt;When participant click not on picture but on a button "PUSTE" (EMPTY) in recalled phase the values.recalled_picture_1 should be update to blank.jpg resulting in black frame in feedback sequence on bottom of a screen.&lt;br/&gt;And here my problem starts, I cannot update my values to a blank.jpg to present empty frame in feedback sequnecne, but I can update this values to other pictures file names.&lt;br/&gt;e.g&lt;br/&gt;&lt;br/&gt;This line of code intend to update values.recalled_picture_1 to blank.jpg, when participant click button PUSTE (PUSTE is a text element named X) :&lt;br/&gt;&lt;br/&gt; if (values.picture_no == 1 &amp;amp;&amp;amp; trial.recall_letter.response == "X") values.recalled_picture_1 = "blank.jpg";&lt;br/&gt;&lt;br/&gt;but this does not work, when I click on button PUSTE&amp;nbsp; script stops working and I have this message:&lt;br/&gt;&lt;span style="font-style: italic;"&gt;Unable to initialize &amp;lt;picture recalled_pictures_1&amp;gt; item number 1. Verify the item exists and is correctly defined.&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;However when I change updates from blank.jpg to other file name e.g frog.jpg this works:&lt;br/&gt;&lt;br/&gt;if (values.picture_no == 1 &amp;amp;&amp;amp; trial.recall_letter.response == "X") values.recalled_picture_1 = "frog.jpg";&lt;br/&gt;&lt;br/&gt;In such a case every time when I press button PUSTE I have frog picture presented in feedback sequence, this proved some clues that logic seems to be correct but sth wrong is with blank.jpg picture.&lt;br/&gt;This is handled by&amp;nbsp;&amp;lt;trial recall_letter&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I do not know why this code works for one file name but not for another, would anyone help me with this issue?&lt;br/&gt;&lt;br/&gt;Than you in advance for any help.&lt;br/&gt;&lt;br/&gt;Pleas find attached my script and files.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23101"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Problem is that the script "does not know" about the existence of the file "blank.jpg". You can solve this by simply adding &lt;br/&gt;&lt;br/&gt;&amp;lt;picture blankpic&amp;gt;&lt;br/&gt;/ items = ("blank.jpg")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;to the script.&lt;br/&gt;</description><pubDate>Fri, 15 Dec 2017 09:09:33 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>