﻿<?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  » latency in the data base does not reflect trial duration</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 19:31:00 GMT</lastBuildDate><ttl>20</ttl><item><title>latency in the data base does not reflect trial duration</title><link>https://forums.millisecond.com/Topic29763.aspx</link><description>Hi, in my trials I put a trial duration of 5 seconds but I noticed that in the data base in the variable latency the duration is not 5000 but 4867. This is the case throughout all my trials. I tried both "/ trialduration = 5000" and "/ timeout = 5000" but none of them solves the problem. Can anybody give me a hint what to do? Thanks in advance.</description><pubDate>Thu, 24 Sep 2020 13:19:11 GMT</pubDate><dc:creator>dnaber</dc:creator></item><item><title>RE: latency in the data base does not reflect trial duration</title><link>https://forums.millisecond.com/Topic29764.aspx</link><description>&lt;blockquote data-id="29763" class="if-quote-wrapper" unselectable="on" data-guid="1600953088466" id="if_insertedNode_1600953086962" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29763" 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="29763" 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="29763" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dnaber - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29763"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi, in my trials I put a trial duration of 5 seconds but I noticed that in the data base in the variable latency the duration is not 5000 but 4867. This is the case throughout all my trials. I tried both "/ trialduration = 5000" and "/ timeout = 5000" but none of them solves the problem. Can anybody give me a hint what to do? Thanks in advance.&lt;a class="if-quote-goto quote-link" href="#" data-id="29763"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Latency isn't necessarily equal to trialduration. It depends on when the given trial *begins* listening to responses, which is -- by default -- when that trial's stimulus presentation sequence has finished. I.e. with&lt;br/&gt;&lt;br/&gt;&amp;lt;trial example&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 133=stimulus]&lt;br/&gt;/ validresponse = (anyresponse)&lt;br/&gt;/ trialduration = 5000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;you'll get a latency of ~4867 if no response occurs.&lt;br/&gt;&lt;br/&gt;Similarly, both /trialduration and /timeout *include* any /pretrialpause, so if you have&lt;br/&gt;&lt;br/&gt;&amp;lt;trial example&amp;gt;&lt;br/&gt;/ pretrialpause = 133&lt;br/&gt;/ stimulusframes = [1=text.fixation]&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ trialduration = 5000&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 stimulus&amp;gt;&lt;br/&gt;/ items = ("stim")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;you'll again see a latency of 4867. And that's exactly the way it should be.&lt;br/&gt;</description><pubDate>Thu, 24 Sep 2020 13:19:11 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>