﻿<?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  » Issue with first image being recorded but not shown</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 03:47:43 GMT</lastBuildDate><ttl>20</ttl><item><title>Issue with first image being recorded but not shown</title><link>https://forums.millisecond.com/Topic27815.aspx</link><description>Hi everyone,&lt;br/&gt;&lt;br/&gt;Our experiment reads through a list of filenames (ex. "tortilla.jpg") and presents the stimulus to the participant in randomized order. Unfortunately, when we look at the data, we see that the first object in the list is recorded as being shown, with latency and other variables recorded, when it is not actually presented to the participant. The actual item that was presented first is a randomized object from the possible list.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Ex. if the list looked like&lt;br/&gt;1/ "item1.jpg"&lt;br/&gt;2/ "item2.jpg"&lt;br/&gt;3/ "item3.jpg"&lt;br/&gt;The experiment should be selecting the objects to present at random, however item1 is always being recorded as shown first (but when doing the task the participant does not actually see item1, they would first see a random item), and item1 is also shown later in the sequence. If item3 was presented first, with 3 random items being shown, the data might look like:&lt;br/&gt;- item1.jpg --&amp;gt; latency = 873ms&lt;br/&gt;- item3.jpg --&amp;gt; latency = 1068ms&lt;br/&gt;- item1.jpg --&amp;gt; latency = 826ms&lt;br/&gt;&lt;br/&gt;This presents problems, as a random stimulus is not being recorded as presented to the participant, which we need to use for the next portion of our experiment. It's also confusing that the RT for the first item's data is not equivalent to the time taken for the fixation cross, nor the next item's latency (and other data). An additional problem is that our last trial in the block is now being cut-off because this "invisible" first item is taking up a trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our code looks like:&amp;nbsp;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt; item encoding&amp;gt;(insert list of item names)&amp;lt;/item&amp;gt;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt;picture encoding&amp;gt;/items= encoding/ position = (50%,40%)/size= (500px, 500px) / select = noreplace/ erase = false&amp;lt;/picture&amp;gt;&amp;lt;trial encoding&amp;gt;/ stimulustimes = [0= white_screen; 1000=encoding, natural, human; 3000=dummy]/ validresponse = ("j","k")/ trialduration = 3000/ beginresponsetime = 1000/ responseinterrupt = frames/ ontrialbegin = [ values.stimulus= picture.encoding.currentitem]&amp;lt;/trial&amp;gt;&amp;lt;block encoding&amp;gt;/ trials = [1-60,62-121,123-177=noreplace(encoding); 61,122=rest]&amp;lt;/block&amp;gt;&lt;/pre&gt;&lt;/pre&gt;</description><pubDate>Tue, 24 Sep 2019 08:39:49 GMT</pubDate><dc:creator>chohyuna</dc:creator></item><item><title>RE: Issue with first image being recorded but not shown</title><link>https://forums.millisecond.com/Topic27817.aspx</link><description>&lt;div data-id="27816" class="if-quote-wrapper" unselectable="on" data-guid="1569339581812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27816" 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="27816" 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="27816" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/23/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27816"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27815" class="if-quote-wrapper" unselectable="on" data-guid="1569339581812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27815" 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="27815" 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="27815" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chohyuna - 9/23/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27815"&gt;&lt;div class="if-quote-message-margin"&gt;Hi everyone,&lt;br/&gt;&lt;br/&gt;Our experiment reads through a list of filenames (ex. "tortilla.jpg") and presents the stimulus to the participant in randomized order. Unfortunately, when we look at the data, we see that the first object in the list is recorded as being shown, with latency and other variables recorded, when it is not actually presented to the participant. The actual item that was presented first is a randomized object from the possible list.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Ex. if the list looked like&lt;br/&gt;1/ "item1.jpg"&lt;br/&gt;2/ "item2.jpg"&lt;br/&gt;3/ "item3.jpg"&lt;br/&gt;The experiment should be selecting the objects to present at random, however item1 is always being recorded as shown first (but when doing the task the participant does not actually see item1, they would first see a random item), and item1 is also shown later in the sequence. If item3 was presented first, with 3 random items being shown, the data might look like:&lt;br/&gt;- item1.jpg --&amp;gt; latency = 873ms&lt;br/&gt;- item3.jpg --&amp;gt; latency = 1068ms&lt;br/&gt;- item1.jpg --&amp;gt; latency = 826ms&lt;br/&gt;&lt;br/&gt;This presents problems, as a random stimulus is not being recorded as presented to the participant, which we need to use for the next portion of our experiment. It's also confusing that the RT for the first item's data is not equivalent to the time taken for the fixation cross, nor the next item's latency (and other data). An additional problem is that our last trial in the block is now being cut-off because this "invisible" first item is taking up a trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our code looks like:&amp;nbsp;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt; item encoding&amp;gt;(insert list of item names)&amp;lt;/item&amp;gt;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt;picture encoding&amp;gt;/items= encoding/ position = (50%,40%)/size= (500px, 500px) / select = noreplace/ erase = false&amp;lt;/picture&amp;gt;&amp;lt;trial encoding&amp;gt;/ stimulustimes = [0= white_screen; 1000=encoding, natural, human; 3000=dummy]/ validresponse = ("j","k")/ trialduration = 3000/ beginresponsetime = 1000/ responseinterrupt = frames/ ontrialbegin = [ values.stimulus= picture.encoding.currentitem]&amp;lt;/trial&amp;gt;&amp;lt;block encoding&amp;gt;/ trials = [1-60,62-121,123-177=noreplace(encoding); 61,122=rest]&amp;lt;/block&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27815"&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;Here's the issue with your code:&lt;br/&gt;&lt;br/&gt;/ ontrial&lt;strong&gt;begin&lt;/strong&gt; = [ values.stimulus= picture.encoding.&lt;strong&gt;currentitem&lt;/strong&gt;]&lt;br/&gt;&lt;br/&gt;Ontrialbegin attributes happen *before* any stimulus selection has occurred. If you want to actually record which item *was* presented by the trial, you need to shift the above logic to /ontrial&lt;strong&gt;end&lt;/strong&gt;.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27816"&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;That resolved the issue! Thank you!</description><pubDate>Tue, 24 Sep 2019 08:39:49 GMT</pubDate><dc:creator>chohyuna</dc:creator></item><item><title>RE: Issue with first image being recorded but not shown</title><link>https://forums.millisecond.com/Topic27816.aspx</link><description>&lt;div data-id="27815" class="if-quote-wrapper" unselectable="on" data-guid="1569272147480"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27815" 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="27815" 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="27815" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chohyuna - 9/23/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27815"&gt;&lt;div class="if-quote-message-margin"&gt;Hi everyone,&lt;br/&gt;&lt;br/&gt;Our experiment reads through a list of filenames (ex. "tortilla.jpg") and presents the stimulus to the participant in randomized order. Unfortunately, when we look at the data, we see that the first object in the list is recorded as being shown, with latency and other variables recorded, when it is not actually presented to the participant. The actual item that was presented first is a randomized object from the possible list.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Ex. if the list looked like&lt;br/&gt;1/ "item1.jpg"&lt;br/&gt;2/ "item2.jpg"&lt;br/&gt;3/ "item3.jpg"&lt;br/&gt;The experiment should be selecting the objects to present at random, however item1 is always being recorded as shown first (but when doing the task the participant does not actually see item1, they would first see a random item), and item1 is also shown later in the sequence. If item3 was presented first, with 3 random items being shown, the data might look like:&lt;br/&gt;- item1.jpg --&amp;gt; latency = 873ms&lt;br/&gt;- item3.jpg --&amp;gt; latency = 1068ms&lt;br/&gt;- item1.jpg --&amp;gt; latency = 826ms&lt;br/&gt;&lt;br/&gt;This presents problems, as a random stimulus is not being recorded as presented to the participant, which we need to use for the next portion of our experiment. It's also confusing that the RT for the first item's data is not equivalent to the time taken for the fixation cross, nor the next item's latency (and other data). An additional problem is that our last trial in the block is now being cut-off because this "invisible" first item is taking up a trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our code looks like:&amp;nbsp;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt; item encoding&amp;gt;(insert list of item names)&amp;lt;/item&amp;gt;&lt;pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;"&gt;&amp;lt;picture encoding&amp;gt;/items= encoding/ position = (50%,40%)/size= (500px, 500px) / select = noreplace/ erase = false&amp;lt;/picture&amp;gt;&amp;lt;trial encoding&amp;gt;/ stimulustimes = [0= white_screen; 1000=encoding, natural, human; 3000=dummy]/ validresponse = ("j","k")/ trialduration = 3000/ beginresponsetime = 1000/ responseinterrupt = frames/ ontrialbegin = [ values.stimulus= picture.encoding.currentitem]&amp;lt;/trial&amp;gt;&amp;lt;block encoding&amp;gt;/ trials = [1-60,62-121,123-177=noreplace(encoding); 61,122=rest]&amp;lt;/block&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27815"&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;Here's the issue with your code:&lt;br/&gt;&lt;br/&gt;/ ontrial&lt;strong&gt;begin&lt;/strong&gt; = [ values.stimulus= picture.encoding.&lt;strong&gt;currentitem&lt;/strong&gt;]&lt;br/&gt;&lt;br/&gt;Ontrialbegin attributes happen *before* any stimulus selection has occurred. If you want to actually record which item *was* presented by the trial, you need to shift the above logic to /ontrial&lt;strong&gt;end&lt;/strong&gt;.&lt;br/&gt;</description><pubDate>Mon, 23 Sep 2019 13:57:45 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>