﻿<?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 5  » assigning conditions</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 10 Sep 2026 02:52:12 GMT</lastBuildDate><ttl>20</ttl><item><title>assigning conditions</title><link>https://forums.millisecond.com/Topic21838.aspx</link><description>I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 15 Jun 2017 08:56:38 GMT</pubDate><dc:creator>aquirk</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21870.aspx</link><description>&lt;div data-id="21867" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21867" 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="21867" 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="21867" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Thursday, June 15, 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-21867"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21851" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21851" 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="21851" 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="21851" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21851"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21848" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21848" 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="21848" 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="21848" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21848"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21846" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21846" 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="21846" 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="21846" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21846"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21842" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21842" 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="21842" 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="21842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497541809444"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?&lt;a class="if-quote-goto quote-link" href="#" data-id="21842"&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;&amp;gt; So is the script I register literally just the series of batches?&lt;br/&gt;&lt;br/&gt;Yes, the script you register as your active web script in the 1st step is the one containing the (here: six) &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;gt; Does that script need anything else in it?&lt;br/&gt;&lt;br/&gt;No.&lt;br/&gt;&lt;br/&gt;What you have to do, however, after registering the &amp;lt;batch&amp;gt; script is upload the "actual" scripts -- condition1.iqx to condition6.iqx, test1.iqx and test2.iqx -- as well as any other files those scripts might need (e.g. image files, etc.) in the 2nd step.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21846"&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;So how do I collect the data being recorded in the non-registered scripts?&lt;a class="if-quote-goto quote-link" href="#" data-id="21848"&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;&amp;gt; So how do I collect the data being recorded in the non-registered scripts?&lt;br/&gt;&lt;br/&gt;You don't need to register them. You register the the &amp;lt;batch&amp;gt; script 1st step. You upload all the other scripts in the 2nd step. Data will be collected just fine.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21851"&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;Great, just one more question: The transition from the 'Condition1' file to 'Test1' works perfectly, but for some reason the one from 'Test1' to 'Test2' doesn't. The last page of Test1 is supposed to time out at 40 seconds, then Test2 should start. Instead, at 40 seconds the last page of Test1 refreshes (you can see the page reload quickly), and then just stays. If you press 'CTRL+Q' it moves to Test2, but not on its own. Any ideas why? I've attached the three files, as well as the one with the batches in it.&lt;a class="if-quote-goto quote-link" href="#" data-id="21867"&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;&amp;gt; Instead, at 40 seconds the last page of Test1 refreshes (you can see the page reload quickly)&lt;br/&gt;&lt;br/&gt;That's because you run &amp;lt;trial score&amp;gt; *twice*:&lt;br/&gt;#1: You invoke it via /branch in your test1 to test6 trials:&lt;br/&gt;&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (trial.posttest.trialcount &amp;lt; 5) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; trial.posttest;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; trial.score;&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;]&lt;br/&gt;&lt;br/&gt;#2: And you additionally run it a second time via your &amp;lt;block&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;block test1&amp;gt;&lt;br/&gt;/ trials = [1=beginning; 2=starttest; 3-8=noreplacenorepeat(test1,test2,test3,test4,test5,test6);&lt;strong&gt; 9=score&lt;/strong&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Remove it from the &amp;lt;block&amp;gt; element.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 15 Jun 2017 08:56:38 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21867.aspx</link><description>&lt;div data-id="21851" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21851" 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="21851" 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="21851" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21851"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21848" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21848" 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="21848" 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="21848" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21848"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21846" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21846" 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="21846" 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="21846" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21846"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21842" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21842" 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="21842" 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="21842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497536298694"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?&lt;a class="if-quote-goto quote-link" href="#" data-id="21842"&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;&amp;gt; So is the script I register literally just the series of batches?&lt;br/&gt;&lt;br/&gt;Yes, the script you register as your active web script in the 1st step is the one containing the (here: six) &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;gt; Does that script need anything else in it?&lt;br/&gt;&lt;br/&gt;No.&lt;br/&gt;&lt;br/&gt;What you have to do, however, after registering the &amp;lt;batch&amp;gt; script is upload the "actual" scripts -- condition1.iqx to condition6.iqx, test1.iqx and test2.iqx -- as well as any other files those scripts might need (e.g. image files, etc.) in the 2nd step.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21846"&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;So how do I collect the data being recorded in the non-registered scripts?&lt;a class="if-quote-goto quote-link" href="#" data-id="21848"&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;&amp;gt; So how do I collect the data being recorded in the non-registered scripts?&lt;br/&gt;&lt;br/&gt;You don't need to register them. You register the the &amp;lt;batch&amp;gt; script 1st step. You upload all the other scripts in the 2nd step. Data will be collected just fine.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21851"&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;Great, just one more question: The transition from the 'Condition1' file to 'Test1' works perfectly, but for some reason the one from 'Test1' to 'Test2' doesn't. The last page of Test1 is supposed to time out at 40 seconds, then Test2 should start. Instead, at 40 seconds the last page of Test1 refreshes (you can see the page reload quickly), and then just stays. If you press 'CTRL+Q' it moves to Test2, but not on its own. Any ideas why? I've attached the three files, as well as the one with the batches in it.</description><pubDate>Thu, 15 Jun 2017 07:21:31 GMT</pubDate><dc:creator>aquirk</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21851.aspx</link><description>&lt;div data-id="21848" class="if-quote-wrapper" unselectable="on" data-guid="1497469615136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21848" 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="21848" 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="21848" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21848"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21846" class="if-quote-wrapper" unselectable="on" data-guid="1497469615136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21846" 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="21846" 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="21846" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21846"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21842" class="if-quote-wrapper" unselectable="on" data-guid="1497469615136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21842" 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="21842" 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="21842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497469615136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497469615136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?&lt;a class="if-quote-goto quote-link" href="#" data-id="21842"&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;&amp;gt; So is the script I register literally just the series of batches?&lt;br/&gt;&lt;br/&gt;Yes, the script you register as your active web script in the 1st step is the one containing the (here: six) &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;gt; Does that script need anything else in it?&lt;br/&gt;&lt;br/&gt;No.&lt;br/&gt;&lt;br/&gt;What you have to do, however, after registering the &amp;lt;batch&amp;gt; script is upload the "actual" scripts -- condition1.iqx to condition6.iqx, test1.iqx and test2.iqx -- as well as any other files those scripts might need (e.g. image files, etc.) in the 2nd step.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21846"&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;So how do I collect the data being recorded in the non-registered scripts?&lt;a class="if-quote-goto quote-link" href="#" data-id="21848"&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;&amp;gt; So how do I collect the data being recorded in the non-registered scripts?&lt;br/&gt;&lt;br/&gt;You don't need to register them. You register the the &amp;lt;batch&amp;gt; script 1st step. You upload all the other scripts in the 2nd step. Data will be collected just fine.&lt;br/&gt;</description><pubDate>Wed, 14 Jun 2017 12:48:01 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21848.aspx</link><description>&lt;div data-id="21846" class="if-quote-wrapper" unselectable="on" data-guid="1497457902547"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21846" 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="21846" 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="21846" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, June 14, 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-21846"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21842" class="if-quote-wrapper" unselectable="on" data-guid="1497457902547"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21842" 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="21842" 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="21842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497457902547"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497457902547"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?&lt;a class="if-quote-goto quote-link" href="#" data-id="21842"&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;&amp;gt; So is the script I register literally just the series of batches?&lt;br/&gt;&lt;br/&gt;Yes, the script you register as your active web script in the 1st step is the one containing the (here: six) &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;gt; Does that script need anything else in it?&lt;br/&gt;&lt;br/&gt;No.&lt;br/&gt;&lt;br/&gt;What you have to do, however, after registering the &amp;lt;batch&amp;gt; script is upload the "actual" scripts -- condition1.iqx to condition6.iqx, test1.iqx and test2.iqx -- as well as any other files those scripts might need (e.g. image files, etc.) in the 2nd step.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21846"&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;So how do I collect the data being recorded in the non-registered scripts?</description><pubDate>Wed, 14 Jun 2017 09:31:52 GMT</pubDate><dc:creator>aquirk</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21846.aspx</link><description>&lt;div data-id="21842" class="if-quote-wrapper" unselectable="on" data-guid="1497454636327"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21842" 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="21842" 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="21842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Wednesday, June 14, 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-21842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497454636327"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497454636327"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?&lt;a class="if-quote-goto quote-link" href="#" data-id="21842"&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;&amp;gt; So is the script I register literally just the series of batches?&lt;br/&gt;&lt;br/&gt;Yes, the script you register as your active web script in the 1st step is the one containing the (here: six) &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;gt; Does that script need anything else in it?&lt;br/&gt;&lt;br/&gt;No.&lt;br/&gt;&lt;br/&gt;What you have to do, however, after registering the &amp;lt;batch&amp;gt; script is upload the "actual" scripts -- condition1.iqx to condition6.iqx, test1.iqx and test2.iqx -- as well as any other files those scripts might need (e.g. image files, etc.) in the 2nd step.&lt;br/&gt;</description><pubDate>Wed, 14 Jun 2017 08:39:40 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21842.aspx</link><description>&lt;div data-id="21839" class="if-quote-wrapper" unselectable="on" data-guid="1497448022852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21839" 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="21839" 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="21839" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, June 13, 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-21839"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497448022852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21839"&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;Great thanks. So is the script I register literally just the series of batches? Does that script need anything else in it?</description><pubDate>Wed, 14 Jun 2017 06:47:20 GMT</pubDate><dc:creator>aquirk</dc:creator></item><item><title>RE: assigning conditions</title><link>https://forums.millisecond.com/Topic21839.aspx</link><description>&lt;div data-id="21838" class="if-quote-wrapper" unselectable="on" data-guid="1497396102763"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21838" 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="21838" 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="21838" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;aquirk - Tuesday, June 13, 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-21838"&gt;&lt;div class="if-quote-message-margin"&gt;I'm having some trouble understanding the batch element, and exactly how condition assignment works in Inquisit. I want to assign participants to one of 6 conditions (using the pursuit rotor task, the difference between conditions only being how fast the circle rotates). From another post, it seems like I should do something like:&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;and then use the URL parameter to create 6 different URLs (with 'condition=1' through 'condition=6' at the end), but how does this assign people to the correct batch?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is there an easier way to do this that I'm missing?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21838"&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;First of all, the &amp;lt;batch&amp;gt; elements are missing /subjects attributes. This attribute ultimately "tells" Inquisit (a) how many conditions there are, and (b) which condition is which (the 1st, the 2nd, ...).&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (1 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition1.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;&lt;strong&gt;/ subjects = (6 of 6)&lt;/strong&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "Condition6.iqx"&lt;br/&gt;/ file = "Test1.iqx"&lt;br/&gt;/ file = "Test2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;The /groupassignment attribute is always used *in combination* with the /subjects attribute. The /groupassignment setting tells Inquisit *on what basis* to perform the condition assignment. If you were to do it based on a numerical subject number, you'd specify &lt;br/&gt;&lt;br/&gt;/ groupassignment = subjectnumber&lt;br/&gt;&lt;br/&gt;You have chosen condition assignment based on the numerical group id / group number &lt;br/&gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&lt;br/&gt;which is exactly what you'll want to do in most cases.&lt;br/&gt;&lt;br/&gt;Condition assignment is a mathematical operation, and in essence boils down to simple modulo arithmetic: &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt;&lt;br/&gt;</description><pubDate>Tue, 13 Jun 2017 16:29:38 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>