﻿<?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  » Setting Limit to Trial Length and Overall Test Time? (Modifying existing InquisitLab Tower of London)</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 11 Sep 2026 11:47:56 GMT</lastBuildDate><ttl>20</ttl><item><title>Setting Limit to Trial Length and Overall Test Time? (Modifying existing InquisitLab Tower of London)</title><link>https://forums.millisecond.com/Topic24529.aspx</link><description>Hi All,&lt;br/&gt;I'm currently modifying the Tower of London (ToL) task that InquisitLab already has as a demo for an upcoming study. My coding knowledge is rudimentary at best (able to modify simple existing code), however there's a change to the code that I want to make.&lt;br/&gt;&lt;br/&gt;How will I go about setting up the code such that after x minutes, it goes to the next problem, and after y minutes, the task terminates at where it's at? We plan on having this because we are worried about participants ruminating too long about the problems and not letting go, so we feel having a time limit would help prevent this.&lt;br/&gt;&lt;br/&gt;Any help where you can take me through how to implement this step by step would be greatly appreciated, as I said my coding knowledge is passable at best.&lt;br/&gt;&lt;br/&gt;Thank you!</description><pubDate>Fri, 06 Apr 2018 13:03:54 GMT</pubDate><dc:creator>chunhoilauhk</dc:creator></item><item><title>RE: Setting Limit to Trial Length and Overall Test Time? (Modifying existing InquisitLab Tower of London)</title><link>https://forums.millisecond.com/Topic24532.aspx</link><description>&lt;div data-id="24531" class="if-quote-wrapper" unselectable="on" data-guid="1523044443715"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="24531" 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="24531" 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="24531" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, April 6, 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-24531"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="24529" class="if-quote-wrapper" unselectable="on" data-guid="1523044443715"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="24529" 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="24529" 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="24529" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chunhoilauhk - Friday, April 6, 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-24529"&gt;&lt;div class="if-quote-message-margin"&gt;Hi All,&lt;br/&gt;I'm currently modifying the Tower of London (ToL) task that InquisitLab already has as a demo for an upcoming study. My coding knowledge is rudimentary at best (able to modify simple existing code), however there's a change to the code that I want to make.&lt;br/&gt;&lt;br/&gt;How will I go about setting up the code such that after x minutes, it goes to the next problem, and after y minutes, the task terminates at where it's at? We plan on having this because we are worried about participants ruminating too long about the problems and not letting go, so we feel having a time limit would help prevent this.&lt;br/&gt;&lt;br/&gt;Any help where you can take me through how to implement this step by step would be greatly appreciated, as I said my coding knowledge is passable at best.&lt;br/&gt;&lt;br/&gt;Thank you!&lt;a class="if-quote-goto quote-link" href="#" data-id="24529"&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 limit the overall length, set the test &amp;lt;block&amp;gt; in the script to the desired /timeout (in milliseconds). I.e. if you want the block to simply end after, say, 5 minutes, specify&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;&lt;strong&gt;/ timeout = 300000&lt;/strong&gt;&lt;br/&gt;/ preinstructions = (test)&lt;br/&gt;/ onblockbegin = [values.totalscore=0]&lt;br/&gt;/ stop = [values.stopblock==1]&lt;br/&gt;/ trials = [1=newround]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;I'd reconsider lithe other change, automatically moving on to the next problem after a set amount of time. Reasons:&lt;br/&gt;- It's not straightforward to implement at all, albeit perhaps not impossible.&lt;br/&gt;- More importantly, this has potentially far-ranging consequences for the scoring, i.e. it's not necessarily clear how to deal with that. At a minimum you' have to fully work that out before you start thinking about implementing some kind of per-problem time limit.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="24531"&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;Thank you for your speedy reply! I'll discuss further with my colleagues and discuss the concerns you raised.</description><pubDate>Fri, 06 Apr 2018 13:03:54 GMT</pubDate><dc:creator>chunhoilauhk</dc:creator></item><item><title>RE: Setting Limit to Trial Length and Overall Test Time? (Modifying existing InquisitLab Tower of London)</title><link>https://forums.millisecond.com/Topic24531.aspx</link><description>&lt;div data-id="24529" class="if-quote-wrapper" unselectable="on" data-guid="1523043371906"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="24529" 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="24529" 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="24529" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chunhoilauhk - Friday, April 6, 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-24529"&gt;&lt;div class="if-quote-message-margin"&gt;Hi All,&lt;br/&gt;I'm currently modifying the Tower of London (ToL) task that InquisitLab already has as a demo for an upcoming study. My coding knowledge is rudimentary at best (able to modify simple existing code), however there's a change to the code that I want to make.&lt;br/&gt;&lt;br/&gt;How will I go about setting up the code such that after x minutes, it goes to the next problem, and after y minutes, the task terminates at where it's at? We plan on having this because we are worried about participants ruminating too long about the problems and not letting go, so we feel having a time limit would help prevent this.&lt;br/&gt;&lt;br/&gt;Any help where you can take me through how to implement this step by step would be greatly appreciated, as I said my coding knowledge is passable at best.&lt;br/&gt;&lt;br/&gt;Thank you!&lt;a class="if-quote-goto quote-link" href="#" data-id="24529"&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 limit the overall length, set the test &amp;lt;block&amp;gt; in the script to the desired /timeout (in milliseconds). I.e. if you want the block to simply end after, say, 5 minutes, specify&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;&lt;strong&gt;/ timeout = 300000&lt;/strong&gt;&lt;br/&gt;/ preinstructions = (test)&lt;br/&gt;/ onblockbegin = [values.totalscore=0]&lt;br/&gt;/ stop = [values.stopblock==1]&lt;br/&gt;/ trials = [1=newround]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;I'd reconsider lithe other change, automatically moving on to the next problem after a set amount of time. Reasons:&lt;br/&gt;- It's not straightforward to implement at all, albeit perhaps not impossible.&lt;br/&gt;- More importantly, this has potentially far-ranging consequences for the scoring, i.e. it's not necessarily clear how to deal with that. At a minimum you' have to fully work that out before you start thinking about implementing some kind of per-problem time limit.&lt;br/&gt;</description><pubDate>Fri, 06 Apr 2018 12:46:20 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>