﻿<?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 4  » responseinterrupt = trial has no effect?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 16 Sep 2026 21:14:02 GMT</lastBuildDate><ttl>20</ttl><item><title>responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15007.aspx</link><description>Hi!&lt;br/&gt;&lt;br/&gt;I want to present Stimuli, and get the user's response. I also want to show an errormessage, if the answer is wrong.&lt;br/&gt;But: I want the duration for the stimuli to be the same, no matter after how many milliseconds the user answers.&lt;br/&gt;&lt;br/&gt;Here is my code:&lt;br/&gt;&lt;br/&gt;&lt;span&gt;[quote]&amp;lt;trial eegvovax&amp;gt;&lt;br/&gt;/stimulusframes = [1=eegvovax]&lt;br/&gt;/pretrialpause = values.pretrialeeg&lt;br/&gt;/responseinterrupt = trial&lt;br/&gt;/response = timeout(1250)&lt;br/&gt;/validresponse = (" ")&lt;br/&gt;/correctresponse = (" ")&lt;br/&gt;/errormessage = (eegerror, 500)&lt;br/&gt;&amp;lt;/trial&amp;gt;[/quote]&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;No matter if i set the responseinterrupt value to immediate, trial or frames, the response always cancels the trial.&lt;br/&gt;&lt;br/&gt;Could you help me please? :)&lt;br/&gt;Thanks for the great support so far!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 17 Nov 2014 05:43:31 GMT</pubDate><dc:creator>SpoHo</dc:creator></item><item><title>RE: responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15013.aspx</link><description>If you want to display a stimulus upon a response, use the /responsemessage attribute.&lt;br/&gt;</description><pubDate>Mon, 17 Nov 2014 05:43:31 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15011.aspx</link><description>so i would need something like:&lt;br/&gt;&lt;br/&gt;my stimuluselement: erase false&lt;br/&gt;identical stimuluselement: erase: true&lt;br/&gt;&lt;br/&gt;and then something like a function i haven't found yet:&lt;br/&gt;&lt;br/&gt;onresponse: identical_stimuluselement.show() ?&lt;br/&gt;&lt;br/&gt;i just can't translate that to inquisit syntax :(&lt;br/&gt;</description><pubDate>Mon, 17 Nov 2014 05:33:31 GMT</pubDate><dc:creator>SpoHo</dc:creator></item><item><title>RE: responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15010.aspx</link><description>The pretrialpause isn't ignored. /erase=false means the stimulus will not be erased at the end of a trial, i.e., it will remain on-screen in subsequent trials (including during pre- and posttrialpause) until overwritten by another stimulus (which is what you have to do at some appropriate point in time).&lt;br/&gt;</description><pubDate>Mon, 17 Nov 2014 05:29:12 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15009.aspx</link><description>hi dave! thanks a lot!&lt;br/&gt;&lt;br/&gt;erase does the trick. &lt;br/&gt;&lt;br/&gt;Now I only have the problem, that my pretrialpause is being ignored. The stimuli are displayed the whole time, without pauses between them.&lt;br/&gt;Do you have a quick fix for that?&lt;br/&gt;</description><pubDate>Mon, 17 Nov 2014 05:22:41 GMT</pubDate><dc:creator>SpoHo</dc:creator></item><item><title>RE: responseinterrupt = trial has no effect?</title><link>https://forums.millisecond.com/Topic15008.aspx</link><description>As per the documentation, /responseinterrupt=trial means&lt;br/&gt;&lt;br/&gt;"Any remaining frames in the trial are presented before the stimuli are erased. Any media stimuli (sound or video) are played to completion before Inquisit advances to the next trial."&lt;br/&gt;&lt;br/&gt;Since your trial only presents a single frame at the very start&lt;br/&gt;&lt;br/&gt;&lt;span&gt;/stimulusframes = [1=eegvovax]&lt;br/&gt;&lt;br/&gt;there is nothing /responseinterrupt=trial could have any effect on -- there are no more frames that could or should be displayed.&lt;br/&gt;&lt;br/&gt;If you want the stimulus "eegvovax" to remain on-screen after receiving a response, set its /erase attribute to false.&lt;br/&gt;&lt;br/&gt;Also note that a *timeout* merely determines a trial's *maximum* duration -- it will terminate immediately once a response has been received. If you want your trial to have a *fixed* duration, you ought to use /trialduration.&lt;br/&gt;&lt;/span&gt;</description><pubDate>Mon, 17 Nov 2014 05:02:08 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>