﻿<?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  » trial stimulustimes</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 18 Apr 2026 03:49:16 GMT</lastBuildDate><ttl>20</ttl><item><title>trial stimulustimes</title><link>https://forums.millisecond.com/Topic25338.aspx</link><description>I have set up an experiment in Inquisit where participants see, on each trial, a fixation cross followed by 5 different stimuli, presented subsequently one at the time. It then saves all participants' responses during the trial in 'values.responses'. Currently, the times when each stimulus comes on the screen during a trial is set in stimulustimes in milliseconds (see below). However, I was wondering if it is possible to set it up in such a way that the trial continues to the next stimulus in the trial only when the participant pressed a button, e.g. the space bar. in other words, that 'learning2' stimulus would not onset at 7000 milliseconds but would wait until the participant has pressed the button, etc. Thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial learning&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.responses="";]&lt;br/&gt;/ stimulustimes = [1=fixation; 1000=learning1; 7000=learning2; 27000=learning3; 58000=learning4; 84000=learning5]&lt;br/&gt;/ isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning.response); false;}]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ timeout = 50000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 25 Jul 2018 10:48:41 GMT</pubDate><dc:creator>scollin</dc:creator></item><item><title>RE: trial stimulustimes</title><link>https://forums.millisecond.com/Topic25340.aspx</link><description>&lt;div data-id="25339" class="if-quote-wrapper" unselectable="on" data-guid="1532540912255"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25339" 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="25339" 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="25339" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, July 25, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25339"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25338" class="if-quote-wrapper" unselectable="on" data-guid="1532540912255"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25338" 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="25338" 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="25338" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;scollin - Wednesday, July 25, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25338"&gt;&lt;div class="if-quote-message-margin"&gt;I have set up an experiment in Inquisit where participants see, on each trial, a fixation cross followed by 5 different stimuli, presented subsequently one at the time. It then saves all participants' responses during the trial in 'values.responses'. Currently, the times when each stimulus comes on the screen during a trial is set in stimulustimes in milliseconds (see below). However, I was wondering if it is possible to set it up in such a way that the trial continues to the next stimulus in the trial only when the participant pressed a button, e.g. the space bar. in other words, that 'learning2' stimulus would not onset at 7000 milliseconds but would wait until the participant has pressed the button, etc. Thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial learning&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.responses="";]&lt;br/&gt;/ stimulustimes = [1=fixation; 1000=learning1; 7000=learning2; 27000=learning3; 58000=learning4; 84000=learning5]&lt;br/&gt;/ isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning.response); false;}]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ timeout = 50000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25338"&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;To do this, you would have to split things into separate trials and run them in sequence. I.e. trial presents learning1 and waits for a response, then trial that presents learning2 and waits for a response, trial that presents learning3 and waits for response, and so forth.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25339"&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;Ok, thanks!&lt;br/&gt;</description><pubDate>Wed, 25 Jul 2018 10:48:41 GMT</pubDate><dc:creator>scollin</dc:creator></item><item><title>RE: trial stimulustimes</title><link>https://forums.millisecond.com/Topic25339.aspx</link><description>&lt;div data-id="25338" class="if-quote-wrapper" unselectable="on" data-guid="1532540096135"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25338" 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="25338" 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="25338" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;scollin - Wednesday, July 25, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25338"&gt;&lt;div class="if-quote-message-margin"&gt;I have set up an experiment in Inquisit where participants see, on each trial, a fixation cross followed by 5 different stimuli, presented subsequently one at the time. It then saves all participants' responses during the trial in 'values.responses'. Currently, the times when each stimulus comes on the screen during a trial is set in stimulustimes in milliseconds (see below). However, I was wondering if it is possible to set it up in such a way that the trial continues to the next stimulus in the trial only when the participant pressed a button, e.g. the space bar. in other words, that 'learning2' stimulus would not onset at 7000 milliseconds but would wait until the participant has pressed the button, etc. Thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial learning&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.responses="";]&lt;br/&gt;/ stimulustimes = [1=fixation; 1000=learning1; 7000=learning2; 27000=learning3; 58000=learning4; 84000=learning5]&lt;br/&gt;/ isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning.response); false;}]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ timeout = 50000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25338"&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;To do this, you would have to split things into separate trials and run them in sequence. I.e. trial presents learning1 and waits for a response, then trial that presents learning2 and waits for a response, trial that presents learning3 and waits for response, and so forth.&lt;br/&gt;</description><pubDate>Wed, 25 Jul 2018 10:37:08 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>