﻿<?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  » Use of a counter</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Jul 2026 15:42:47 GMT</lastBuildDate><ttl>20</ttl><item><title>Use of a counter</title><link>https://forums.millisecond.com/Topic34427.aspx</link><description>Hello,&lt;br/&gt;We would like to conduct an experiment where a fixed number of images are shown in a fixed sequence. After every single picture a question is to be answered.&amp;nbsp;These picture-question sequences come in 4 different variations. Each of the variants is to be shown exactly once in random order. Actually, we would like to include a pause after half of the runs, but unfortunately this results in some sequences being shown more often and some not at all. We tried to solve the problem by using a counter, which unfortunately didn't work. Because of the structure of the script, I am not sure how to make the connection between the first and second block. Is there another solution or is the problem in the structure of our script?&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1= einfuehrung; 2-3= noreplace (practice1, practice2, practice3, practice4); 4= break; 5-6 =noreplace(practice1, practice2, practice3, practice4)]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice1&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist1]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice2&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist2]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice3&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist3]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice4&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist4]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block break&amp;gt;&lt;br/&gt;/ preinstructions = (break)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;counter expt&amp;gt;&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;/ items =&amp;nbsp;(block.practice1, block.practice2, block.practice3, block.practice4)&lt;br/&gt;/ resetinterval = 0&lt;br/&gt;&amp;lt;/counter&amp;gt;&lt;br/&gt;&lt;br/&gt;***listspractice***&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist1&amp;gt;&lt;br/&gt;/items = (trial.test11, trial.test12, trial.test13)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist2&amp;gt;&lt;br/&gt;/items = (trial.test21, trial.test22, trial.test23)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist3&amp;gt;&lt;br/&gt;/items = (trial.test31, trial.test32, trial.test33)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist4&amp;gt;&lt;br/&gt;/items = (trial.test41, trial.test42, trial.test43)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;***trials***&lt;br/&gt;&amp;lt;trial test11&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test11; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial test12&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test12; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial test13&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test13; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;Thanks a lot for the help!&amp;nbsp;</description><pubDate>Wed, 15 Jun 2022 14:02:41 GMT</pubDate><dc:creator>Leena</dc:creator></item><item><title>RE: Use of a counter</title><link>https://forums.millisecond.com/Topic34430.aspx</link><description>Ah, thanks a lot!!&amp;nbsp;</description><pubDate>Wed, 15 Jun 2022 14:02:41 GMT</pubDate><dc:creator>Leena</dc:creator></item><item><title>RE: Use of a counter</title><link>https://forums.millisecond.com/Topic34429.aspx</link><description>&lt;blockquote data-id="34427" class="if-quote-wrapper" unselectable="on" data-guid="1655293243155" id="if_insertedNode_1655293242156" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34427" 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="34427" 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="34427" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Leena - 6/15/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-34427"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;We would like to conduct an experiment where a fixed number of images are shown in a fixed sequence. After every single picture a question is to be answered.&amp;nbsp;These picture-question sequences come in 4 different variations. Each of the variants is to be shown exactly once in random order. Actually, we would like to include a pause after half of the runs, but unfortunately this results in some sequences being shown more often and some not at all. We tried to solve the problem by using a counter, which unfortunately didn't work. Because of the structure of the script, I am not sure how to make the connection between the first and second block. Is there another solution or is the problem in the structure of our script?&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1= einfuehrung; 2-3= noreplace (practice1, practice2, practice3, practice4); 4= break; 5-6 =noreplace(practice1, practice2, practice3, practice4)]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice1&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist1]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice2&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist2]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice3&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist3]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice4&amp;gt;&lt;br/&gt;/trials = [1-11 = list.practicelist4]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block break&amp;gt;&lt;br/&gt;/ preinstructions = (break)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;counter expt&amp;gt;&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;/ items =&amp;nbsp;(block.practice1, block.practice2, block.practice3, block.practice4)&lt;br/&gt;/ resetinterval = 0&lt;br/&gt;&amp;lt;/counter&amp;gt;&lt;br/&gt;&lt;br/&gt;***listspractice***&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist1&amp;gt;&lt;br/&gt;/items = (trial.test11, trial.test12, trial.test13)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist2&amp;gt;&lt;br/&gt;/items = (trial.test21, trial.test22, trial.test23)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist3&amp;gt;&lt;br/&gt;/items = (trial.test31, trial.test32, trial.test33)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list practicelist4&amp;gt;&lt;br/&gt;/items = (trial.test41, trial.test42, trial.test43)&lt;br/&gt;/ selectionmode = sequence&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;***trials***&lt;br/&gt;&amp;lt;trial test11&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test11; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial test12&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test12; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial test13&amp;gt;&lt;br/&gt;/ stimulustimes = [0=fixation; 500=erasefixation, test13; 2000=erasevideo, b1, b2, b3, question2]&lt;br/&gt;/ beginresponsetime = 2000&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (b1, b2, b3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;Thanks a lot for the help!&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="34427"&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;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1= einfuehrung; &lt;strong&gt;2-3= noreplace (practice1, practice2, practice3, practice4&lt;/strong&gt;); 4= break; &lt;strong&gt;5-6 =noreplace(practice1, practice2, practice3, practice4)&lt;/strong&gt;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;is wrong.&lt;br/&gt;&lt;br/&gt;What you want is:&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1= einfuehrung;&lt;strong&gt; 2,3,5,6= noreplace (practice1, practice2, practice3, practice4&lt;/strong&gt;); 4= break;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;There is no need for a &amp;lt;counter&amp;gt;, which you should not be using anyway. &amp;lt;list&amp;gt; elements are the more flexible replacements for &amp;lt;counter&amp;gt;s. Consider &amp;lt;counter&amp;gt; elements as deprecated, they only still exist to preserve compatibility with old scripts.&lt;br/&gt;</description><pubDate>Wed, 15 Jun 2022 11:44:34 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>