﻿<?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  » Stimuli</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 15 Sep 2026 00:15:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Stimuli</title><link>https://forums.millisecond.com/Topic26948.aspx</link><description>I'm currently programming a version of the go/no-go task in which participants need to make a double-response in one condition recording 2 responses.&lt;br/&gt;As such the trial has been programmed this way:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practicedoubleleft&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cue_side=1]&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;/ validresponse = (46, 50, 57, noresponse)&lt;br/&gt;/ correctresponse = (46, 57)&lt;br/&gt;/ stimulustimes = [0=fix_green; 1000=practiceHS]&lt;br/&gt;/ beginresponsetime = 1000&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ ontrialend = [values.double_time = 2500 - trial.practicedoubleleft.latency]&lt;br/&gt;/ branch = [trial.p_double_l]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial p_double_l&amp;gt;&lt;br/&gt;/ ontrialbegin = [trial.p_double_l.insertstimulustime(clearscreen, values.double_time)]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ iscorrectresponse = [trial.p_double_l.response=="57" &amp;amp;&amp;amp; trial.practicedoubleleft.response=="46"]&lt;br/&gt;/ stimulustimes = [0=fix_green, practiceHS]&lt;br/&gt;/ timeout = values.double_time&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;The issue is that in the second 'trial', the practice HS stim changes whereas I need the stimuli to remain the same in both of these trials.&lt;br/&gt;I have tried /erase = false in the picture element but this hasn't worked.&lt;br/&gt;&lt;br/&gt;Thanks in advance&amp;nbsp;</description><pubDate>Mon, 13 May 2019 07:31:33 GMT</pubDate><dc:creator>newbie</dc:creator></item><item><title>RE: Stimuli</title><link>https://forums.millisecond.com/Topic26950.aspx</link><description>&lt;div data-id="26949" class="if-quote-wrapper" unselectable="on" data-guid="1557757884865"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26949" 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="26949" 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="26949" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, May 13, 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-26949"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26948" class="if-quote-wrapper" unselectable="on" data-guid="1557757884865"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26948" 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="26948" 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="26948" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;newbie - Monday, May 13, 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-26948"&gt;&lt;div class="if-quote-message-margin"&gt;I'm currently programming a version of the go/no-go task in which participants need to make a double-response in one condition recording 2 responses.&lt;br/&gt;As such the trial has been programmed this way:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practicedoubleleft&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cue_side=1]&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;/ validresponse = (46, 50, 57, noresponse)&lt;br/&gt;/ correctresponse = (46, 57)&lt;br/&gt;/ stimulustimes = [0=fix_green; 1000=practiceHS]&lt;br/&gt;/ beginresponsetime = 1000&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ ontrialend = [values.double_time = 2500 - trial.practicedoubleleft.latency]&lt;br/&gt;/ branch = [trial.p_double_l]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial p_double_l&amp;gt;&lt;br/&gt;/ ontrialbegin = [trial.p_double_l.insertstimulustime(clearscreen, values.double_time)]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ iscorrectresponse = [trial.p_double_l.response=="57" &amp;amp;&amp;amp; trial.practicedoubleleft.response=="46"]&lt;br/&gt;/ stimulustimes = [0=fix_green, practiceHS]&lt;br/&gt;/ timeout = values.double_time&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;The issue is that in the second 'trial', the practice HS stim changes whereas I need the stimuli to remain the same in both of these trials.&lt;br/&gt;I have tried /erase = false in the picture element but this hasn't worked.&lt;br/&gt;&lt;br/&gt;Thanks in advance&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="26948"&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;What you need to do is use &amp;lt;values&amp;gt; and a &amp;lt;list&amp;gt; to select the HS stim item, and then you need to only do that at the start of the 1st trial, not the 2nd one. In short:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = first]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial first&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.itemnumber = list.itemnumbers.nextindex;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=fixation; 1000=examplestimulus]&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ validresponse = (46, 50, 57, noresponse)&lt;br/&gt;/ correctresponse = (46, 57)&lt;br/&gt;/ branch = [&lt;br/&gt;trial.second&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial second&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 1000=examplestimulus]&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text fixation&amp;gt;&lt;br/&gt;/ items = ("+")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text examplestimulus&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ select = values.itemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "Example A"&lt;br/&gt;/ 1 = "Example B"&lt;br/&gt;/ 1 = "Example C"&lt;br/&gt;/ 1 = "Example D"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;// 4 items in this example&lt;br/&gt;&amp;lt;list itemnumbers&amp;gt;&lt;br/&gt;/ poolsize = 4&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26949"&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's fantastic - thanks very much.</description><pubDate>Mon, 13 May 2019 07:31:33 GMT</pubDate><dc:creator>newbie</dc:creator></item><item><title>RE: Stimuli</title><link>https://forums.millisecond.com/Topic26949.aspx</link><description>&lt;div data-id="26948" class="if-quote-wrapper" unselectable="on" data-guid="1557757099338"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26948" 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="26948" 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="26948" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;newbie - Monday, May 13, 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-26948"&gt;&lt;div class="if-quote-message-margin"&gt;I'm currently programming a version of the go/no-go task in which participants need to make a double-response in one condition recording 2 responses.&lt;br/&gt;As such the trial has been programmed this way:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practicedoubleleft&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cue_side=1]&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;/ validresponse = (46, 50, 57, noresponse)&lt;br/&gt;/ correctresponse = (46, 57)&lt;br/&gt;/ stimulustimes = [0=fix_green; 1000=practiceHS]&lt;br/&gt;/ beginresponsetime = 1000&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ ontrialend = [values.double_time = 2500 - trial.practicedoubleleft.latency]&lt;br/&gt;/ branch = [trial.p_double_l]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial p_double_l&amp;gt;&lt;br/&gt;/ ontrialbegin = [trial.p_double_l.insertstimulustime(clearscreen, values.double_time)]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ iscorrectresponse = [trial.p_double_l.response=="57" &amp;amp;&amp;amp; trial.practicedoubleleft.response=="46"]&lt;br/&gt;/ stimulustimes = [0=fix_green, practiceHS]&lt;br/&gt;/ timeout = values.double_time&lt;br/&gt;/ pretrialpause = 0&lt;br/&gt;/ posttrialpause = 0&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;The issue is that in the second 'trial', the practice HS stim changes whereas I need the stimuli to remain the same in both of these trials.&lt;br/&gt;I have tried /erase = false in the picture element but this hasn't worked.&lt;br/&gt;&lt;br/&gt;Thanks in advance&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="26948"&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;What you need to do is use &amp;lt;values&amp;gt; and a &amp;lt;list&amp;gt; to select the HS stim item, and then you need to only do that at the start of the 1st trial, not the 2nd one. In short:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = first]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial first&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.itemnumber = list.itemnumbers.nextindex;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=fixation; 1000=examplestimulus]&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ validresponse = (46, 50, 57, noresponse)&lt;br/&gt;/ correctresponse = (46, 57)&lt;br/&gt;/ branch = [&lt;br/&gt;trial.second&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial second&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 1000=examplestimulus]&lt;br/&gt;/ timeout = 2500&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text fixation&amp;gt;&lt;br/&gt;/ items = ("+")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text examplestimulus&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ select = values.itemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "Example A"&lt;br/&gt;/ 1 = "Example B"&lt;br/&gt;/ 1 = "Example C"&lt;br/&gt;/ 1 = "Example D"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;// 4 items in this example&lt;br/&gt;&amp;lt;list itemnumbers&amp;gt;&lt;br/&gt;/ poolsize = 4&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 13 May 2019 07:27:50 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>