﻿<?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  » Task should stop, how?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 28 Jul 2026 12:51:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Task should stop, how?</title><link>https://forums.millisecond.com/Topic26736.aspx</link><description>Hello,&amp;nbsp;&lt;br/&gt;I have a task with 10 trials, and participants should have the possibility to say after each trial if they want to go on or not. Each trial is a picture with a sound, and the question if they want to go on. If they go on, they should go to another block where they have to answer three questions. If they listen to each of the 10 trials, they will do the three questions also.&amp;nbsp;&lt;br/&gt;I have managed to make a trial with the picture and the sound, but the question gives me trouble. If I make it a separate trial with a Likert scale (with the options yes/no), it does not count the response. If I add the question to the trial and say the participants have to press a certain key, it does not work.&amp;nbsp;&lt;br/&gt;So, basically, my script runs, but not according to my rules. I have specified the /stop and /batch in the &amp;lt;block.&lt;br/&gt;Also, I had managed before that it stops, and that they go on to the questions, but then the questions would run again.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I have searched for this in the discussion forum, but nothing came up. Can anyone point me to the correct thread? Or to the correct demo?&amp;nbsp;</description><pubDate>Mon, 08 Apr 2019 08:18:20 GMT</pubDate><dc:creator>ChristineH</dc:creator></item><item><title>RE: Task should stop, how?</title><link>https://forums.millisecond.com/Topic26752.aspx</link><description>&lt;br/&gt;Ah, of course! Thank you so much for your help Dave!&lt;br/&gt;Christine&amp;nbsp;</description><pubDate>Mon, 08 Apr 2019 08:18:20 GMT</pubDate><dc:creator>ChristineH</dc:creator></item><item><title>RE: Task should stop, how?</title><link>https://forums.millisecond.com/Topic26751.aspx</link><description>&lt;div data-id="26747" class="if-quote-wrapper" unselectable="on" data-guid="1554735796372"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26747" 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="26747" 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="26747" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ChristineH - Monday, April 8, 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-26747"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Dear Dave,&amp;nbsp;&lt;br/&gt;Thank you so much! It worked very well!&lt;br/&gt;&lt;br/&gt;I was wondering why I do not have to say that after the 10 trials, they also go on to the second block? I do not specify the second block in the &amp;lt;expt, but somehow if I follow all 10 trials, I still also end up with block b first, before going on to a block that I did specify in &amp;lt;expt.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;So in below, why is it only 'if you say no you go to block b" and not also "or if you do all 10 trials you go to block b"?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block a&amp;gt;&lt;br/&gt;/ stop = [trial.go_on.response == "no"]&lt;br/&gt;/ trials = [1-10 = sequence(stimulustrial, go_on)]&lt;br/&gt;/ branch = [block.b]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Christine&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="26747"&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;&amp;lt;block b&amp;gt; follows &amp;lt;block a&amp;gt; in either case, per the &lt;strong&gt;unconditional /branch&lt;/strong&gt; in &amp;lt;block a&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;block a&amp;gt;&lt;br/&gt;/ stop = [trial.go_on.response == "no"]&lt;br/&gt;/ trials = [1-10 = sequence(stimulustrial, go_on)]&lt;br/&gt;&lt;strong&gt;/ branch = [block.b]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;The /branch means that after &amp;lt;block a&amp;gt;, &amp;lt;block b&amp;gt; is invoked --&amp;nbsp; it does not matter how or when &amp;lt;block a&amp;gt; ends, i.e. whether you end &amp;lt;block a&amp;gt; prematurely by responding "no" or whether you complete all 10 trials, &amp;lt;block b&amp;gt; will run next.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 08 Apr 2019 08:06:45 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Task should stop, how?</title><link>https://forums.millisecond.com/Topic26747.aspx</link><description>&lt;br/&gt;Dear Dave,&amp;nbsp;&lt;br/&gt;Thank you so much! It worked very well!&lt;br/&gt;&lt;br/&gt;I was wondering why I do not have to say that after the 10 trials, they also go on to the second block? I do not specify the second block in the &amp;lt;expt, but somehow if I follow all 10 trials, I still also end up with block b first, before going on to a block that I did specify in &amp;lt;expt.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;So in below, why is it only 'if you say no you go to block b" and not also "or if you do all 10 trials you go to block b"?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block a&amp;gt;&lt;br/&gt;/ stop = [trial.go_on.response == "no"]&lt;br/&gt;/ trials = [1-10 = sequence(stimulustrial, go_on)]&lt;br/&gt;/ branch = [block.b]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Christine&amp;nbsp;</description><pubDate>Mon, 08 Apr 2019 07:39:20 GMT</pubDate><dc:creator>ChristineH</dc:creator></item><item><title>RE: Task should stop, how?</title><link>https://forums.millisecond.com/Topic26740.aspx</link><description>&lt;div data-id="26736" class="if-quote-wrapper" unselectable="on" data-guid="1554727644820"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26736" 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="26736" 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="26736" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ChristineH - Sunday, April 7, 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-26736"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&amp;nbsp;&lt;br/&gt;I have a task with 10 trials, and participants should have the possibility to say after each trial if they want to go on or not. Each trial is a picture with a sound, and the question if they want to go on. If they go on, they should go to another block where they have to answer three questions. If they listen to each of the 10 trials, they will do the three questions also.&amp;nbsp;&lt;br/&gt;I have managed to make a trial with the picture and the sound, but the question gives me trouble. If I make it a separate trial with a Likert scale (with the options yes/no), it does not count the response. If I add the question to the trial and say the participants have to press a certain key, it does not work.&amp;nbsp;&lt;br/&gt;So, basically, my script runs, but not according to my rules. I have specified the /stop and /batch in the &amp;lt;block.&lt;br/&gt;Also, I had managed before that it stops, and that they go on to the questions, but then the questions would run again.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I have searched for this in the discussion forum, but nothing came up. Can anyone point me to the correct thread? Or to the correct demo?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="26736"&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;This should be rather straightforward:&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1=a]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block a&amp;gt;&lt;br/&gt;/ stop = [trial.go_on.response == "no"]&lt;br/&gt;/ trials = [1-10 = sequence(stimulustrial, go_on)]&lt;br/&gt;/ branch = [block.b]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block b&amp;gt;&lt;br/&gt;/ trials = [1-3 = questionnaireTIC]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial stimulustrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=stimulus]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial go_on&amp;gt;&lt;br/&gt;/ stimulusframes = [1=go_on_q, yes, no]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (yes, no)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item questionnaireTIC&amp;gt;&lt;br/&gt;/1 = "Question1."&lt;br/&gt;/2 = "Question2."&lt;br/&gt;/3 = "Question3."&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;likert questionnaireTIC&amp;gt;&lt;br/&gt;/ anchors = [1="Not at all true"; 2="Hardly true"; 3="Moderately true"; 4="Exactly true"]&lt;br/&gt;/ stimulusframes = [1= questionnaireTIC]&lt;br/&gt;/ mouse=true&lt;br/&gt;/ numpoints=4&lt;br/&gt;/ position= (50, 50)&lt;br/&gt;/anchorwidth = 150&lt;br/&gt;&amp;lt;/likert&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text questionnaireTIC&amp;gt;&lt;br/&gt;/ items = questionnaireTIC&lt;br/&gt;/ size = (1000px,100px)&lt;br/&gt;/ position = (50, 40)&lt;br/&gt;/ halign = center&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text stimulus&amp;gt;&lt;br/&gt;/ items = ("Placeholder")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text yes&amp;gt;&lt;br/&gt;/ items = ("Yes")&lt;br/&gt;/ position = (40%, 70%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text no&amp;gt;&lt;br/&gt;/ items = ("No")&lt;br/&gt;/ position = (60%, 70%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text go_on_q&amp;gt;&lt;br/&gt;/ items = ("Do you want to go on?")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 08 Apr 2019 05:55:56 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>