﻿<?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 6  » Discrepancy between elapsedtime, trialduration and audit files</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 26 May 2026 03:21:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Discrepancy between elapsedtime, trialduration and audit files</title><link>https://forums.millisecond.com/Topic40860.aspx</link><description>Hello all!&lt;br/&gt;&lt;br/&gt;I am writing to ask about a discrepancy we're noticing in our Inquisit data files, specifically between the "elapsedtime" field and the "trialduration" fields. These data were collected with Inquisit Lab 6.5.1, in a script that presents&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our trials look like this (full script attached):&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;font face="Courier New"&gt;&amp;lt;trial POSO_posBG_shrt_ITI_6pt4&amp;gt;&lt;br/&gt;  &lt;/font&gt;&lt;font face="Courier New"&gt;/ validresponse = ("1", "4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ correctresponse = ("4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ stimulustimes = [0 = fixation; 800=noreplace (POSO);&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1000 = blanks;&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1100 = poso_goodtarget;&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;1600 = blanks]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialdata = [POSO poso_goodtarget]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ beginresponsetime = 1100&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialduration = 8000&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ responseinterrupt=frames&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;font face="Arial"&gt;The trialduration field in our data files matches exactly what we specified in the trial element itself in the script. For our final few subjects, we also had Inquisit save an audit/log file, which perfectly matches our expected trialduration fields, except in rare situations where a participant didn't respond (in which case there was a 26-27 ms delay in the onset of the next trial).&lt;br/&gt;&lt;br/&gt;However, the elapsedtime field in our data files sometimes seem to diverge by tens or hundreds of milliseconds from the trial duration.&lt;br/&gt;&lt;br/&gt;The reason we're double-checking this carefully is because these data were collected in an fMRI experiment, and we're using the Inquisit data to create event-timing files for analyzing the fMRI data.&lt;br/&gt;&lt;br/&gt;What exactly is the elapsedtime field measuring? We can provide more example data to illustrate this point if it's helpful. Thank you!&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;</description><pubDate>Tue, 17 Jun 2025 19:59:29 GMT</pubDate><dc:creator>James Rounds</dc:creator></item><item><title>RE: Discrepancy between elapsedtime, trialduration and audit files</title><link>https://forums.millisecond.com/Topic40865.aspx</link><description>&lt;blockquote data-id="40863" class="if-quote-wrapper" unselectable="on" data-guid="1750189221954" contenteditable="false" id="if_insertedNode_1750189221461"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40863" 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="40863" 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="40863" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;James Rounds - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40863"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="40862" class="if-quote-wrapper" unselectable="on" data-guid="1750189221954" contenteditable="false" id="if_insertedNode_1750186790952"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40862" 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="40862" 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="40862" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40862"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="40860" class="if-quote-wrapper" unselectable="on" data-guid="1750189221954" contenteditable="false" id="if_insertedNode_1750184876575"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40860" 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="40860" 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="40860" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;James Rounds - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40860"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello all!&lt;br/&gt;&lt;br/&gt;I am writing to ask about a discrepancy we're noticing in our Inquisit data files, specifically between the "elapsedtime" field and the "trialduration" fields. These data were collected with Inquisit Lab 6.5.1, in a script that presents&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our trials look like this (full script attached):&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;font face="Courier New"&gt;&amp;lt;trial POSO_posBG_shrt_ITI_6pt4&amp;gt;&lt;br/&gt;  &lt;/font&gt;&lt;font face="Courier New"&gt;/ validresponse = ("1", "4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ correctresponse = ("4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ stimulustimes = [0 = fixation; 800=noreplace (POSO);&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1000 = blanks;&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1100 = poso_goodtarget;&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;1600 = blanks]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialdata = [POSO poso_goodtarget]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ beginresponsetime = 1100&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialduration = 8000&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ responseinterrupt=frames&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;font face="Arial"&gt;The trialduration field in our data files matches exactly what we specified in the trial element itself in the script. For our final few subjects, we also had Inquisit save an audit/log file, which perfectly matches our expected trialduration fields, except in rare situations where a participant didn't respond (in which case there was a 26-27 ms delay in the onset of the next trial).&lt;br/&gt;&lt;br/&gt;However, the elapsedtime field in our data files sometimes seem to diverge by tens or hundreds of milliseconds from the trial duration.&lt;br/&gt;&lt;br/&gt;The reason we're double-checking this carefully is because these data were collected in an fMRI experiment, and we're using the Inquisit data to create event-timing files for analyzing the fMRI data.&lt;br/&gt;&lt;br/&gt;What exactly is the elapsedtime field measuring? We can provide more example data to illustrate this point if it's helpful. Thank you!&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40860"&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;elapsedtime in your script is time in milliseconds since the start of *script* execution as it stood when the respective row of data was logged. Data is generally logged when the given trial has collected its response, i.e. elapsedtime at this point does not reflect trial duration. Everything else that happens outside of trial elements also goes into the overall elapsedtime, e.g. time it takes to initialize the &amp;lt;expt&amp;gt; object, &amp;lt;block&amp;gt; objects, time spent on instruction pages, etc.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40862"&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;Amazing, thank you Dave. We're still confused though about why the elapsedtime field doesn't match the expected trial durations on a trial-by-trial basis. I've uploaded a sample of our data, in an Excel file that contains four rows of trial data from the .iqdat file in one tab, and in the second tab, the corresponding trial data as it was logged in the audit file.&lt;br/&gt;&lt;br/&gt;I had Inquisit save the elapsedtime field for several elements, not knowing exactly how it would behave. But I realized afterwards they are largely redundant with each other. But the important question is why does it seem that the elapsedtime field doesn't match the expected duration of each trial. It's not off by just a few milliseconds, it seems to be just totally unrelated to the actual trial duration.&lt;br/&gt;&lt;br/&gt;Also, we are wondering about the log/audit files - they seem to include what I'll call "administrative" events, such as indicating that the "block" is starting, a few milliseconds before the trial starts. Do these discrepancies/delays get accounted for by Inquisit, so that it can still successfully space the trials exactly as far apart as they are supposed to be?&lt;br/&gt;&lt;br/&gt;Since we're collecting this data for an fMRI study, we do need to know exactly what participants are seeing at each moment. We trust the log files because they match the trialdurations so closely. But we just want to make sure we know when each event truly starts. &lt;br/&gt;&lt;br/&gt;For example, on the first trial in our log file, our fixation cross shows up 34 ms after the trial starts (presumably, two refresh cycles on our 60 Hz monitor). The fixation cross is supposed to be the very first thing that happens on a trial. If it starts 34 ms after the trial starts, and everything else in the trial occurs at precisely the time we expect to, based on the log events, with respect to the trial beginning, how is the next trial starting precisely when we expect it to?&lt;br/&gt;&lt;br/&gt;Can you confirm that the stimulus onset is the number next to each event in the iqdat file? If so, that just means our ITIs are slightly different than we expected, I guess, because the lost milliseconds must be coming from somewhere, right?&lt;br/&gt;&lt;br/&gt;Thank you so much! - James&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40863"&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;I already explained why elapsedtime does not, and is not supposed to, reflect trial duration. It's milliseconds elapsed since script execution (or since block execution, if you were to log a block's elapsedtime property). A data row is logged when the trial has its response, generally speaking. In most cases that will occur before the trial reaches the fixed duration you specified.&lt;br/&gt;&lt;br/&gt;The audit logs record the time -- also in milliseconds elapsed since start of execution -- when any number of events occur. Initialization of a block, initialization of a trial, display of stimulus within that trial, and so forth.&lt;br/&gt;&lt;br/&gt;The simulusonset columns are the stimulus onsets in milliseconds relative to the start of the trial's stimulus presentation sequence. The start of a trial object is not equal to the start of its stimulus presentation sequence. The trial object has to be initialized, it needs to load things into memory, it needs to execute /ontrialbegin logic if there is any, and -- importantly -- it needs to wait for the start of a display refresh cycle before it can begin drawing anything to the screen.&lt;br/&gt;&lt;br/&gt;The first time a given trial object is run will always have slightly worse timing / greater delay. Once a given trial object is in memory, subsequent instances of that trial object will have less delay.&lt;br/&gt;&lt;br/&gt;As I pointed out in your other thread, if you are serious about minimizing timing variations, you should make ample use of pre- and posttrialpauses.</description><pubDate>Tue, 17 Jun 2025 19:59:29 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Discrepancy between elapsedtime, trialduration and audit files</title><link>https://forums.millisecond.com/Topic40863.aspx</link><description>&lt;blockquote data-id="40862" class="if-quote-wrapper" unselectable="on" data-guid="1750186792552" contenteditable="false" id="if_insertedNode_1750186790952"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40862" 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="40862" 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="40862" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40862"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="40860" class="if-quote-wrapper" unselectable="on" data-guid="1750186792552" contenteditable="false" id="if_insertedNode_1750184876575"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40860" 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="40860" 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="40860" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;James Rounds - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40860"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello all!&lt;br/&gt;&lt;br/&gt;I am writing to ask about a discrepancy we're noticing in our Inquisit data files, specifically between the "elapsedtime" field and the "trialduration" fields. These data were collected with Inquisit Lab 6.5.1, in a script that presents&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our trials look like this (full script attached):&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;font face="Courier New"&gt;&amp;lt;trial POSO_posBG_shrt_ITI_6pt4&amp;gt;&lt;br/&gt;  &lt;/font&gt;&lt;font face="Courier New"&gt;/ validresponse = ("1", "4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ correctresponse = ("4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ stimulustimes = [0 = fixation; 800=noreplace (POSO);&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1000 = blanks;&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1100 = poso_goodtarget;&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;1600 = blanks]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialdata = [POSO poso_goodtarget]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ beginresponsetime = 1100&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialduration = 8000&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ responseinterrupt=frames&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;font face="Arial"&gt;The trialduration field in our data files matches exactly what we specified in the trial element itself in the script. For our final few subjects, we also had Inquisit save an audit/log file, which perfectly matches our expected trialduration fields, except in rare situations where a participant didn't respond (in which case there was a 26-27 ms delay in the onset of the next trial).&lt;br/&gt;&lt;br/&gt;However, the elapsedtime field in our data files sometimes seem to diverge by tens or hundreds of milliseconds from the trial duration.&lt;br/&gt;&lt;br/&gt;The reason we're double-checking this carefully is because these data were collected in an fMRI experiment, and we're using the Inquisit data to create event-timing files for analyzing the fMRI data.&lt;br/&gt;&lt;br/&gt;What exactly is the elapsedtime field measuring? We can provide more example data to illustrate this point if it's helpful. Thank you!&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40860"&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;elapsedtime in your script is time in milliseconds since the start of *script* execution as it stood when the respective row of data was logged. Data is generally logged when the given trial has collected its response, i.e. elapsedtime at this point does not reflect trial duration. Everything else that happens outside of trial elements also goes into the overall elapsedtime, e.g. time it takes to initialize the &amp;lt;expt&amp;gt; object, &amp;lt;block&amp;gt; objects, time spent on instruction pages, etc.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40862"&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;Amazing, thank you Dave. We're still confused though about why the elapsedtime field doesn't match the expected trial durations on a trial-by-trial basis. I've uploaded a sample of our data, in an Excel file that contains four rows of trial data from the .iqdat file in one tab, and in the second tab, the corresponding trial data as it was logged in the audit file.&lt;br/&gt;&lt;br/&gt;I had Inquisit save the elapsedtime field for several elements, not knowing exactly how it would behave. But I realized afterwards they are largely redundant with each other. But the important question is why does it seem that the elapsedtime field doesn't match the expected duration of each trial. It's not off by just a few milliseconds, it seems to be just totally unrelated to the actual trial duration.&lt;br/&gt;&lt;br/&gt;Also, we are wondering about the log/audit files - they seem to include what I'll call "administrative" events, such as indicating that the "block" is starting, a few milliseconds before the trial starts. Do these discrepancies/delays get accounted for by Inquisit, so that it can still successfully space the trials exactly as far apart as they are supposed to be?&lt;br/&gt;&lt;br/&gt;Since we're collecting this data for an fMRI study, we do need to know exactly what participants are seeing at each moment. We trust the log files because they match the trialdurations so closely. But we just want to make sure we know when each event truly starts. &lt;br/&gt;&lt;br/&gt;For example, on the first trial in our log file, our fixation cross shows up 34 ms after the trial starts (presumably, two refresh cycles on our 60 Hz monitor). The fixation cross is supposed to be the very first thing that happens on a trial. If it starts 34 ms after the trial starts, and everything else in the trial occurs at precisely the time we expect to, based on the log events, with respect to the trial beginning, how is the next trial starting precisely when we expect it to?&lt;br/&gt;&lt;br/&gt;Can you confirm that the stimulus onset is the number next to each event in the iqdat file? If so, that just means our ITIs are slightly different than we expected, I guess, because the lost milliseconds must be coming from somewhere, right?&lt;br/&gt;&lt;br/&gt;Thank you so much! - James&lt;br/&gt;</description><pubDate>Tue, 17 Jun 2025 19:33:03 GMT</pubDate><dc:creator>James Rounds</dc:creator></item><item><title>RE: Discrepancy between elapsedtime, trialduration and audit files</title><link>https://forums.millisecond.com/Topic40862.aspx</link><description>&lt;blockquote data-id="40860" class="if-quote-wrapper" unselectable="on" data-guid="1750184877445" contenteditable="false" id="if_insertedNode_1750184876575"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="40860" 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="40860" 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="40860" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;James Rounds - 6/17/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-40860"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello all!&lt;br/&gt;&lt;br/&gt;I am writing to ask about a discrepancy we're noticing in our Inquisit data files, specifically between the "elapsedtime" field and the "trialduration" fields. These data were collected with Inquisit Lab 6.5.1, in a script that presents&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Our trials look like this (full script attached):&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;font face="Courier New"&gt;&amp;lt;trial POSO_posBG_shrt_ITI_6pt4&amp;gt;&lt;br/&gt;  &lt;/font&gt;&lt;font face="Courier New"&gt;/ validresponse = ("1", "4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ correctresponse = ("4")&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ stimulustimes = [0 = fixation; 800=noreplace (POSO);&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1000 = blanks;&lt;br/&gt; &lt;/font&gt;&lt;font face="Courier New"&gt;1100 = poso_goodtarget;&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;1600 = blanks]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialdata = [POSO poso_goodtarget]&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ beginresponsetime = 1100&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ trialduration = 8000&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;/ responseinterrupt=frames&lt;br/&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;font face="Arial"&gt;The trialduration field in our data files matches exactly what we specified in the trial element itself in the script. For our final few subjects, we also had Inquisit save an audit/log file, which perfectly matches our expected trialduration fields, except in rare situations where a participant didn't respond (in which case there was a 26-27 ms delay in the onset of the next trial).&lt;br/&gt;&lt;br/&gt;However, the elapsedtime field in our data files sometimes seem to diverge by tens or hundreds of milliseconds from the trial duration.&lt;br/&gt;&lt;br/&gt;The reason we're double-checking this carefully is because these data were collected in an fMRI experiment, and we're using the Inquisit data to create event-timing files for analyzing the fMRI data.&lt;br/&gt;&lt;br/&gt;What exactly is the elapsedtime field measuring? We can provide more example data to illustrate this point if it's helpful. Thank you!&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="40860"&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;elapsedtime in your script is time in milliseconds since the start of *script* execution as it stood when the respective row of data was logged. Data is generally logged when the given trial has collected its response, i.e. elapsedtime at this point does not reflect trial duration. Everything else that happens outside of trial elements also goes into the overall elapsedtime, e.g. time it takes to initialize the &amp;lt;expt&amp;gt; object, &amp;lt;block&amp;gt; objects, time spent on instruction pages, etc.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 17 Jun 2025 18:44:37 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>