﻿<?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  » Inserting White Blanks When The Participant Gets the Trial Incorrect</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 24 Sep 2026 08:56:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Inserting White Blanks When The Participant Gets the Trial Incorrect</title><link>https://forums.millisecond.com/Topic26542.aspx</link><description>I am currently coding the inquisit&amp;nbsp;for a stereotyping project and I have run into some trouble regarding the blanks. The method for how the blanks should work is:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;If the response was correct, a blank screen appeared for 8000 ms before the presentation of the next trial. If the response was incorrect, a blank screen appeared for 8000 ms, followed by a red “X” in the center of the screen for 8000 ms, and a blank screen for 8000 ms before the next trial began.&lt;br/&gt;&lt;/strong&gt;&lt;br/&gt;I don't know how to specify the blank screens appearing for the incorrect responses. Right now I have it coded where a blank screen appears for 8000 ms after each trial (coded as individual trials in blocks, shown below) but I can't figure out how to have the blanks appear for 8000 ms then show an X then appear for 8000 ms if the participant answered incorrectly. Hopefully, this makes sense. I inserted the code used for the blanks below for reference of what I have so far.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Whitetrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = White]&lt;br/&gt;/ trialduration = 1000&lt;br/&gt;/ correctresponse = (noresponse)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block ReductionBlock1&amp;gt;&lt;br/&gt;/ bgstim = (attributeAleft, attributeBright)&lt;br/&gt;/ trials = [1=instructions; 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82 = Whitetrial;&lt;br/&gt;3, 5, 7, 9, 11, 13, 15, 17, 19, 21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81 = random(targetAleft,targetBright)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 11 Mar 2019 05:09:36 GMT</pubDate><dc:creator>Taylor</dc:creator></item><item><title>RE: Inserting White Blanks When The Participant Gets the Trial Incorrect</title><link>https://forums.millisecond.com/Topic26547.aspx</link><description>&lt;div data-id="26542" class="if-quote-wrapper" unselectable="on" data-guid="1552305663193"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26542" 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="26542" 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="26542" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Taylor - Saturday, March 9, 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-26542"&gt;&lt;div class="if-quote-message-margin"&gt;I am currently coding the inquisit&amp;nbsp;for a stereotyping project and I have run into some trouble regarding the blanks. The method for how the blanks should work is:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;If the response was correct, a blank screen appeared for 8000 ms before the presentation of the next trial. If the response was incorrect, a blank screen appeared for 8000 ms, followed by a red “X” in the center of the screen for 8000 ms, and a blank screen for 8000 ms before the next trial began.&lt;br/&gt;&lt;/strong&gt;&lt;br/&gt;I don't know how to specify the blank screens appearing for the incorrect responses. Right now I have it coded where a blank screen appears for 8000 ms after each trial (coded as individual trials in blocks, shown below) but I can't figure out how to have the blanks appear for 8000 ms then show an X then appear for 8000 ms if the participant answered incorrectly. Hopefully, this makes sense. I inserted the code used for the blanks below for reference of what I have so far.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Whitetrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = White]&lt;br/&gt;/ trialduration = 1000&lt;br/&gt;/ correctresponse = (noresponse)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block ReductionBlock1&amp;gt;&lt;br/&gt;/ bgstim = (attributeAleft, attributeBright)&lt;br/&gt;/ trials = [1=instructions; 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82 = Whitetrial;&lt;br/&gt;3, 5, 7, 9, 11, 13, 15, 17, 19, 21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81 = random(targetAleft,targetBright)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26542"&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;You should set up two separate &amp;lt;trial&amp;gt; elements -- one 8000ms white screen trial, one (8000ms white screen + 8000ms red X + 8000ms white screen) trial -- then /branch to the appropriate trial based on the response, i.e. do not run those trials via the &amp;lt;block&amp;gt;'s /trials. Example:&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = noreplace(a,b)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial a&amp;gt;&lt;br/&gt;/ stimulusframes = [1=astim]&lt;br/&gt;/ validresponse = ("a", "b")&lt;br/&gt;/ correctresponse = ("a")&lt;br/&gt;/ branch = [&lt;br/&gt;if (trial.a.error) trial.redx else trial.whitescreen;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial b&amp;gt;&lt;br/&gt;/ stimulusframes = [1=bstim]&lt;br/&gt;/ validresponse = ("a", "b")&lt;br/&gt;/ correctresponse = ("b")&lt;br/&gt;/ branch = [&lt;br/&gt;if (trial.b.error) trial.redx else trial.whitescreen;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text astim&amp;gt;&lt;br/&gt;/ items = ("Press A or B. A is correct.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bstim&amp;gt;&lt;br/&gt;/ items = ("Press A or B. B is correct.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial whitescreen&amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearscreen]&lt;br/&gt;/ trialduration = 1000&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial redx&amp;gt;&lt;br/&gt;/ stimulustimes = [0=clearscreen; 1000=x; 2000=clearscreen]&lt;br/&gt;/ trialduration = 3000&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text x&amp;gt;&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ txcolor = red&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 11 Mar 2019 05:09:36 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>