﻿<?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  » saving trial timings</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 13 May 2026 08:04:23 GMT</lastBuildDate><ttl>20</ttl><item><title>saving trial timings</title><link>https://forums.millisecond.com/Topic34341.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I need to save the following timing informaiton in my data files: time when trial started,&amp;nbsp;time when trial ended, time when response was made compared to trial start and time when response was made compared to script start. I am using the following variables to save these data. Could you please let me know if these are the most accurate Inquisit properties that I can use to save these data or can I use something else?&lt;br/&gt;trial start = trial.trialName.timestamp&lt;br/&gt;trial end&amp;nbsp; = script.elapsed&lt;br/&gt;RTFromScriptStart =&amp;nbsp;script.elapsedtime&lt;br/&gt;RTFromTrialStart =&amp;nbsp;trial.trialName.elapsedtime&lt;br/&gt;&lt;br/&gt;Also what is the difference between trial.timestamp and script.elapsed if I use it in a /ontrialbegin?&lt;br/&gt;Also which of these Inquisit properties would be the closed to the times being saved in the Inquisit audit file?&lt;br/&gt;&lt;br/&gt;Thank you</description><pubDate>Mon, 23 May 2022 11:34:49 GMT</pubDate><dc:creator>nidhi_desai</dc:creator></item><item><title>RE: saving trial timings</title><link>https://forums.millisecond.com/Topic34342.aspx</link><description>&lt;blockquote data-id="34341" class="if-quote-wrapper" unselectable="on" data-guid="1653305657248" id="if_insertedNode_1653305656454" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34341" 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="34341" 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="34341" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nidhi_desai - 5/21/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34341"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I need to save the following timing informaiton in my data files: time when trial started,&amp;nbsp;time when trial ended, time when response was made compared to trial start and time when response was made compared to script start. I am using the following variables to save these data. Could you please let me know if these are the most accurate Inquisit properties that I can use to save these data or can I use something else?&lt;br/&gt;trial start = trial.trialName.timestamp&lt;br/&gt;trial end&amp;nbsp; = script.elapsed&lt;br/&gt;RTFromScriptStart =&amp;nbsp;script.elapsedtime&lt;br/&gt;RTFromTrialStart =&amp;nbsp;trial.trialName.elapsedtime&lt;br/&gt;&lt;br/&gt;Also what is the difference between trial.timestamp and script.elapsed if I use it in a /ontrialbegin?&lt;br/&gt;Also which of these Inquisit properties would be the closed to the times being saved in the Inquisit audit file?&lt;br/&gt;&lt;br/&gt;Thank you&lt;a class="if-quote-goto quote-link" href="#" data-id="34341"&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;&amp;gt; trial start = trial.trialName.timestamp&lt;br/&gt;&lt;br/&gt;Is the correct thing to use. It indicates when the trial object was initiated, that is before the trial object started doing anything else, like executing /ontrialbegin logic or presenting any stimuli.&lt;br/&gt;&lt;br/&gt;&amp;gt; trial end = script.elapsed&lt;br/&gt;&lt;br/&gt;Whether this indicates when your trial ended depends on how the given trial is set up. Whether this reflects its actual end cannot be answered, since you did not provide any information about that. &lt;br/&gt;&lt;br/&gt;&amp;gt; RTFromScriptStart = script.elapsedtime&lt;br/&gt;&lt;br/&gt;Same as above.&lt;br/&gt;&lt;br/&gt;&amp;gt; Also what is the difference between trial.timestamp and script.elapsed if I use it in a /ontrialbegin?&lt;br/&gt;&lt;br/&gt;Already explained above. In practice, you should not see much of a difference. Most of the time they'll be identical.&lt;br/&gt;&lt;br/&gt;&amp;gt; Also which of these Inquisit properties would be the closed to the times being saved in the Inquisit audit file?&lt;br/&gt;&lt;br/&gt;Cannot be answered based on the information provided.</description><pubDate>Mon, 23 May 2022 11:34:49 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>