﻿<?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  » Data Output</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 12:31:45 GMT</lastBuildDate><ttl>20</ttl><item><title>Data Output</title><link>https://forums.millisecond.com/Topic22789.aspx</link><description>Hi All,&lt;br/&gt;&lt;br/&gt;I'm working on a Word-Dot probe and I'm having difficulties with the output data. Namely, I want to the outputted data to include which word are presented (not just the trial name) and the location of the probe (vertical coordinates are sufficient). I've attached my script below in lieu of pasting it in this post.&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;</description><pubDate>Thu, 02 Nov 2017 16:11:36 GMT</pubDate><dc:creator>Jin</dc:creator></item><item><title>RE: Data Output</title><link>https://forums.millisecond.com/Topic22798.aspx</link><description>Thanks Dave!&lt;br/&gt;</description><pubDate>Thu, 02 Nov 2017 16:11:36 GMT</pubDate><dc:creator>Jin</dc:creator></item><item><title>RE: Data Output</title><link>https://forums.millisecond.com/Topic22794.aspx</link><description>&lt;div data-id="22792" class="if-quote-wrapper" unselectable="on" data-guid="1509658923936"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22792" 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="22792" 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="22792" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Jin - Thursday, November 2, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22792"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Is it possible for me to pick and choose which stimulus items to output or is it a "all or nothing" type of thing? Would using the summary data function be better?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22792"&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;With stimulusitem, it's all or nothing. What you can do is store the information of interest in &amp;lt;values&amp;gt; entries /ontrialend and then just log those values to the data file by including them in the &amp;lt;data&amp;gt; element's /columns.&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ neutralword = ""&lt;br/&gt;/ threatword = ""&lt;br/&gt;/ probeposition = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial TBBL&amp;gt;&lt;br/&gt;/ correctresponse = ("4")&lt;br/&gt;/ validresponse = ("4", "6")&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, neutralT, threatB; 2000=erasewords, proberightL]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.neutralword = text.neutralT.currentitem;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.threatword = text.threatB.currentitem;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.probeposition = text.proberightL.vposition;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;&amp;lt;trial TTTR&amp;gt;&lt;br/&gt;/ correctresponse = ("6")&lt;br/&gt;/ validresponse = ("4", "6")&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, neutralB, threatT; 2000=erasewords, probeleftR]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.neutralword = text.neutralB.currentitem;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.threatword = text.threatT.currentitem;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.probeposition = text.probeleftR.vposition;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;with&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date, time, subject, trialcode, blockcode, blocknum, trialnum, values.neutralword, values.threatword, values.probeposition, latency, response, ...]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt; only captures a single line of summary data, so this is not what you want.&lt;br/&gt;</description><pubDate>Thu, 02 Nov 2017 14:54:00 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Data Output</title><link>https://forums.millisecond.com/Topic22792.aspx</link><description>Thank you Dave. Is it possible for me to pick and choose which stimulus items to output or is it a "all or nothing" type of thing? Would using the summary data function be better?&lt;br/&gt;</description><pubDate>Thu, 02 Nov 2017 13:53:18 GMT</pubDate><dc:creator>Jin</dc:creator></item><item><title>RE: Data Output</title><link>https://forums.millisecond.com/Topic22790.aspx</link><description>&lt;div data-id="22789" class="if-quote-wrapper" unselectable="on" data-guid="1509645162219"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22789" 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="22789" 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="22789" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Jin - Thursday, November 2, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22789"&gt;&lt;div class="if-quote-message-margin"&gt;Hi All,&lt;br/&gt;&lt;br/&gt;I'm working on a Word-Dot probe and I'm having difficulties with the output data. Namely, I want to the outputted data to include which word are presented (not just the trial name) and the location of the probe (vertical coordinates are sufficient). I've attached my script below in lieu of pasting it in this post.&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22789"&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;Your trials display six stimuli:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial TBBL&amp;gt;&lt;br/&gt;/ correctresponse = ("4")&lt;br/&gt;/ validresponse = ("4", "6")&lt;br/&gt;/ stimulustimes = [0=&lt;strong&gt;fixation&lt;/strong&gt;; 500=&lt;strong&gt;erasefixation&lt;/strong&gt;, &lt;strong&gt;neutralT&lt;/strong&gt;, &lt;strong&gt;threatB&lt;/strong&gt;; 2000=&lt;strong&gt;erasewords&lt;/strong&gt;, &lt;strong&gt;proberightL&lt;/strong&gt;]&lt;br/&gt;/ ontrialend&amp;nbsp; = [trial.TBBL.latency == 0]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;The way stimulusitem, etc. columns work is that the 1st stimulusitem column captures information for the 1st stimulus displayed by the trial, the 2nd one for the 2nd stimulus displayed, and so forth. This is covered in the documentation for the /columns attribute:&lt;br/&gt;&lt;br/&gt;"The first stimulusnumber specified in the columns attribute indicates that the &lt;span class="parameter"&gt;item number&lt;/span&gt; of the first stimulus appearing on the current trial should be recorded. The second stimulusnumber indicates that the item number of the second stimulus presented on the trial should be recorded, and so on. If no 1st, 2nd, 3rd, etc. stimulus is presented on a given trial, a '0' is recorded.&lt;!-- Bootstrap --&gt;&lt;p&gt;Similarly, the first stimulusitem specified in the columns attribute indicates that the actual &lt;span class="parameter"&gt;item &lt;/span&gt;presented by the first stimulus appearing on the current trial should be recorded. If the stimulus is &amp;lt;text&amp;gt; or &amp;lt;port&amp;gt;, the actual item is recorded. If the stimulus is a &amp;lt;sound&amp;gt;, &amp;lt;picture&amp;gt;, or &amp;lt;video&amp;gt;, the itemâ€™s filename is recorded. If the stimulus is a &amp;lt;shape&amp;gt;, the name of the shape is recorded. Like stimulusnumber, each successive stimulusitem records the item from each successive stimulus presented on the trial. If no 1st, 2nd, 3rd, etc. stimulus is presented on a given trial, a '0' is recorded."&lt;br/&gt;&lt;br/&gt;You've only specified a single stimulusitem column, and thus you're only capturing information about the 1st stimulus displayed by your trials, "fixation".&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date, time, subject, trialcode, blockcode, blocknum, trialnum, stimulusitem, latency, stimulusvpos, ...]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;To capture data for the other stimuli, you need to add further stimulusitem and stimulusvpos columns.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;!-- Bootstrap theme --&gt;</description><pubDate>Thu, 02 Nov 2017 10:59:50 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>