﻿<?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  » Allow repeats</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 23 Sep 2026 23:48:21 GMT</lastBuildDate><ttl>20</ttl><item><title>Allow repeats</title><link>https://forums.millisecond.com/Topic16516.aspx</link><description>To whom it may concern,&lt;br/&gt;Hi, I just to want to ask that If one participant lapses during a trial, how does the syntax look like if I want to repeat the same trial?&lt;br/&gt;Thank you for you concern!&lt;br/&gt;Best Regards,&lt;br/&gt;Nakayama&lt;br/&gt;</description><pubDate>Thu, 18 Jun 2015 22:10:37 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: Allow repeats</title><link>https://forums.millisecond.com/Topic16551.aspx</link><description>Thank you Mr. Dave. The post is very helpful!&lt;br/&gt;</description><pubDate>Thu, 18 Jun 2015 22:10:37 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: Allow repeats</title><link>https://forums.millisecond.com/Topic16530.aspx</link><description>It is possible to do this, but it requires some trickery using the /isvalidresponse attribute: See e.g. here: &lt;a href="https://www.millisecond.com/forums/FindPost15812.aspx."&gt;&lt;a href="https://www.millisecond.com/forums/FindPost15812.aspx"&gt;https://www.millisecond.com/forums/FindPost15812.aspx&lt;/a&gt;&lt;/a&gt;&amp;nbsp; &lt;br/&gt;&lt;br/&gt;You'd have to modify or extend that to record the latency property instead of or in addition to the response property.&lt;br/&gt;</description><pubDate>Wed, 17 Jun 2015 09:38:55 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Allow repeats</title><link>https://forums.millisecond.com/Topic16529.aspx</link><description>Thank you Mr. Dave. This Syntax is very helpful!&amp;nbsp;&lt;br/&gt;May I ask another question here? I wonder if I can let participants count the time by pressing one key (so that the counting behavior is measured by how many times they press the key) on the keyboard while they are being presented with stimulus. &lt;br/&gt;Does any syntax allow me to do this? Could I record the temporal interval between each count? &amp;nbsp;&amp;nbsp;&lt;br/&gt;Thank you for your concern!&lt;br/&gt;Best Regards,&lt;br/&gt;Nakayama</description><pubDate>Wed, 17 Jun 2015 08:46:50 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: Allow repeats</title><link>https://forums.millisecond.com/Topic16522.aspx</link><description>This entirely depends on how your procedure is set up and how you define "lapsed".&lt;br/&gt;&lt;br/&gt;In general, you don't repeat a &amp;lt;trial&amp;gt;, rather you repeat a given stimulus -- more precisely -- don't select a new stimulus.&lt;br/&gt;&lt;br/&gt;Here's a simple example: Suppose you want to repeat a given stimulus if the participant's response latency is 2000 ms or greater. Then you do:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ myvalue = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("A", "B", "C", "D")&lt;br/&gt;/ select = values.myvalue&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list mylist&amp;gt;&lt;br/&gt;/ poolsize = 4&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [if (trial.mytrial.latency &amp;lt; 2000) values.myvalue = list.mylist.nextindex]&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ branch = [if (trial.mytrial.latency &amp;gt;= 2000) trial.mytrial]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 17 Jun 2015 04:16:24 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>