﻿<?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 3  » Using the exp and variables for subject assignment - problem when blocks not the same quanity </title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 30 Jun 2026 08:34:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using the exp and variables for subject assignment - problem when blocks not the same quanity</title><link>https://forums.millisecond.com/Topic3827.aspx</link><description>&lt;p&gt;Thanks, Sean, we didn't have the &amp;lt;expt&amp;gt; set up correctly but do now!&lt;/p&gt;
</description><pubDate>Tue, 02 Feb 2010 08:14:09 GMT</pubDate><dc:creator>pez</dc:creator></item><item><title>RE: Using the exp and variables for subject assignment - problem when blocks not the same quanity</title><link>https://forums.millisecond.com/Topic3817.aspx</link><description>&lt;p&gt;Just a quick update: Adding "dummy" blocks does solve the problem. In other words, if I can get all 32 groups to have experiments with the same number of blocks, all runs well. &lt;/p&gt;
&lt;p&gt;But this doesn't seem to be&amp;nbsp;a very elegant solution. I'd be interested to hear what others have to say on the subject.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Susan&lt;/p&gt;</description><pubDate>Mon, 01 Feb 2010 11:51:48 GMT</pubDate><dc:creator>pez</dc:creator></item><item><title>RE: Using the exp and variables for subject assignment - problem when blocks not the same quanity</title><link>https://forums.millisecond.com/Topic3816.aspx</link><description>&lt;p&gt;Hi Pez,&lt;/p&gt;
&lt;p&gt;No need to remove the post, as others might still benefit from it as they troubleshoot similar problems.&lt;/p&gt;
&lt;p&gt;There is one other potential issue here (unrelated to your original issue). In your /subjects commands, you indicate there are 32 different conditions, however, you've only defined &amp;lt;expt&amp;gt; elements for conditions 1 and 2. That means if someone has an subject id of "3" or "4" or "36", none of the &amp;lt;expt&amp;gt; elements will apply so Inquisit won't run anything. &lt;/p&gt;
&lt;p&gt;If you simply haven't gotten around to defining them yet, no worries, but I thought it would be worth pointing out if there was some misunderstanding about how the /subjects feature works.&lt;/p&gt;
&lt;p&gt;-Sean&lt;/p&gt;

&lt;p&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;/input&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden" /&gt;&lt;/p&gt;
&lt;div id="refHTML"&gt;&lt;/div&gt;</description><pubDate>Mon, 01 Feb 2010 11:37:55 GMT</pubDate><dc:creator>seandr</dc:creator></item><item><title>RE: Using the exp and variables for subject assignment - problem when blocks not the same quanity</title><link>https://forums.millisecond.com/Topic3815.aspx</link><description>&lt;p&gt;Okay, I did notice one problem. Apparently, I &amp;lt;expt&amp;gt; &amp;lt;/expt&amp;gt; only the first experiment! The others did not have the correct tag to begin (i.e., no &amp;lt;expt&amp;gt;, but had an &amp;lt;/expt&amp;gt;.&lt;/p&gt;
&lt;p&gt;If this solves the problem I will remove the post&lt;/p&gt;</description><pubDate>Mon, 01 Feb 2010 10:46:30 GMT</pubDate><dc:creator>pez</dc:creator></item><item><title>Using the exp and variables for subject assignment - problem when blocks not the same quanity </title><link>https://forums.millisecond.com/Topic3814.aspx</link><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am hoping I am just missing something small here. I have a study I plan to post to the web with a stagaring 32 conditions. I have written &amp;lt;exp&amp;gt; and &amp;lt;variables&amp;gt; files defining what I want to happen for different participants. Not all participants will have the same number of blocks (I pasted a short version below). &lt;/p&gt;
&lt;p&gt;What happens when I am practicing with the deskop edition and I enter a subject number of "2", I can't and I get an error looking for block35. For participants in this condition (so 2, 34, etc.) there are only 34 blocks. When try to enter subject "4", I get an error that it is looking for block 31. If I have a condition that has the maximum number of blocks across all conditions (which is 35), those subject numbers seem fine. &lt;/p&gt;
&lt;p&gt;My question is: can you have &amp;lt;exp&amp;gt; for different subjects that&amp;nbsp;have different quanities of blocks? If so,&amp;nbsp;does this need to&amp;nbsp;be specified in the &amp;lt;exp&amp;gt; or elsewhere? If not, should I create some kind of dummy block so that each of my &amp;lt;exp&amp;gt; will have&amp;nbsp;35 blocks? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Susan&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size: small;"&gt;
&lt;p&gt;expt&amp;gt;&lt;/p&gt;
&lt;p&gt;/ subjects = (1 of 32)&lt;/p&gt;
&lt;p&gt;/ blocks = [1=block1; 2=block2; 3=block3; 4=block4; 5=block5; 6=block6; 7=block7; 8=block8; 9=block9; 10=block10;&lt;/p&gt;
&lt;p&gt;11=block11; 12=block12; 13=block13; 14=block14; 15=block15; 16=block16; 17=block17; 18=block18;&lt;/p&gt;
&lt;p&gt;19=block19; 20=block20; 21=block21; 22=block22; 23=block23; 24=block24; 25=block25; 26=block26;&lt;/p&gt;
&lt;p&gt;27=block27; 28=block28; 29=block29; 30=block30; 31=block31; 32=block32; 33=block33; 34=block34; &lt;/p&gt;
&lt;p&gt;35=block35]&lt;/p&gt;
&lt;p&gt;/ onexptbegin = [values.condition=1]&lt;/p&gt;
&lt;p&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;
&lt;p&gt;/ subjects = (2 of 32)&lt;/p&gt;
&lt;p&gt;/ blocks = [1=block1; 2=block2; 3=block3; 4=block4; 5=block5; 6=block6; 7=block7; 8=block8; 9=block9; 10=block10;&lt;/p&gt;
&lt;p&gt;11=block11; 12=block12; 13=block13; 14=block14; 15=block15; 16=block16; 17=block17; 18=block18;&lt;/p&gt;
&lt;p&gt;19=block19; 20=block20; 21=block21; 22=block22; 23=block23; 24=block24; 25=block25; 26=block26;&lt;/p&gt;
&lt;p&gt;27=block27; 28=block28; 29=block29; 30=block30; 31=block31; 32=block32; 33=block33; 34=block34; &lt;/p&gt;
&lt;p&gt;35=block35]&lt;/p&gt;
&lt;p&gt;/ onexptbegin = [values.condition=2]&lt;/p&gt;
&lt;p&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;
&lt;p&gt;/ subjects = (3 of 32)&lt;/p&gt;
&lt;p&gt;/ blocks = [1=block1; 2=block2; 3=block3; 4=block4; 5=block5; 6=block6; 7=block7; 8=block8; 9=block9; 10=block10;&lt;/p&gt;
&lt;p&gt;11=block11; 12=block12; 13=block13; 14=block14; 15=block15; 16=block16; 17=block17; 18=block18;&lt;/p&gt;
&lt;p&gt;19=block19; 20=block20; 21=block21; 22=block22; 23=block23; 24=block24; 25=block25; 26=block26;&lt;/p&gt;
&lt;p&gt;27=block27; 28=block28; 29=block29; 30=block30; 31=block31; 32=block32; 33=block33; 34=block34]&lt;/p&gt;
&lt;p&gt;/ onexptbegin = [values.condition=3]&lt;/p&gt;
&lt;p&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;
&lt;p&gt;/ subjects = (4 of 32)&lt;/p&gt;
&lt;p&gt;/ blocks = [1=block1; 2=block2; 3=block3; 4=block4; 5=block5; 6=block6; 7=block7; 8=block8; 9=block9; 10=block10;&lt;/p&gt;
&lt;p&gt;11=block11; 12=block12; 13=block13; 14=block14; 15=block15; 16=block16; 17=block17; 18=block18;&lt;/p&gt;
&lt;p&gt;19=block19; 20=block20; 21=block21; 22=block22; 23=block23; 24=block24; 25=block25; 26=block26;&lt;/p&gt;
&lt;p&gt;27=block27; 28=block28; 29=block29; 30=block30]&lt;/p&gt;
&lt;p&gt;/ onexptbegin = [values.condition=4]&lt;/p&gt;
&lt;p&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size: small;"&gt;
&lt;p&gt;&amp;lt;variables &amp;gt;&lt;/p&gt;
&lt;p&gt;/ group = (1 of 32) (block1=Matching; block2=HealthA; block3=GeneralHealth; block4=Att_HIV; block5=Bike_Own;&lt;/p&gt;
&lt;p&gt;block6=Bike_Riding; block7=Distance_block;block8=Travel_Conv_Grocery;block9=Travel_Coffee; block10=Travel_Bank_Credit; &lt;/p&gt;
&lt;p&gt;block11=Travel_Pharm_Drug; block12=Travel_Job_School; block13=Travel_Park; block14=Future_Biking1;&lt;/p&gt;
&lt;p&gt;block15=target_congruent_practiceA; block16=attribute_practice; block17=congruent_practice_1A; &lt;/p&gt;
&lt;p&gt;block18=congruent_critical_2A; block19= target_congruent_to_incongruent_practice_switchA; &lt;/p&gt;
&lt;p&gt;block20=incongruent_practice_1A;block21=incongruent_critical_2A; &lt;/p&gt;
&lt;p&gt;block22=e_target_congruent_practice; block23=e_attributepractice; block24=e_congruent_practice; &lt;/p&gt;
&lt;p&gt;block25=e_congruent_critical; block26=e_target_congruent_to_incongruent_practice_switch;&lt;/p&gt;
&lt;p&gt;block27=e_incongruent_practice; block28=e_incongruent_critical;&lt;/p&gt;
&lt;p&gt;block29=HIV_Summary; block30=HIV_Cog_Diss_inconsistent; block31=HIV_Cog_Diss_consistent; block32=No_Enviro_Cog_Diss; &lt;/p&gt;
&lt;p&gt;block33=compensation; block34=money_payment; block35=Final_Summary_B)&lt;/p&gt;
&lt;p&gt;/ group = (2 of 32) (block1=Matching; block2=HealthA; block3=GeneralHealth; block4=Att_HIV; block5=Bike_Own;&lt;/p&gt;
&lt;p&gt;block6=Bike_Riding; block7=Distance_block;block8=Travel_Conv_Grocery;block9=Travel_Coffee; block10=Travel_Bank_Credit; &lt;/p&gt;
&lt;p&gt;block11=Travel_Pharm_Drug; block12=Travel_Job_School; block13=Travel_Park; block14=Future_Biking1;&lt;/p&gt;
&lt;p&gt;block15=target_congruent_practiceA; block16=attribute_practice; block17=congruent_practice_1A; &lt;/p&gt;
&lt;p&gt;block18=congruent_critical_2A; block19= target_congruent_to_incongruent_practice_switchA; &lt;/p&gt;
&lt;p&gt;block20=incongruent_practice_1A;block21=incongruent_critical_2A; &lt;/p&gt;
&lt;p&gt;block22=e_target_congruent_practice; block23=e_attributepractice; block24=e_congruent_practice; &lt;/p&gt;
&lt;p&gt;block25=e_congruent_critical; block26=e_target_congruent_to_incongruent_practice_switch;&lt;/p&gt;
&lt;p&gt;block27=e_incongruent_practice; block28=e_incongruent_critical;&lt;/p&gt;
&lt;p&gt;block29=Enviro_Summary; block30=Enviro_Cog_Diss_inconsistent; block31=Enviro_Cog_Diss_consistent; block32=No_HIV_Cog_Diss; &lt;/p&gt;
&lt;p&gt;block33=compensation; block34=money_payment; block35=Final_Summary_B)&lt;/p&gt;
&lt;p&gt;/ group = (3 of 32) (block1=Matching; block2=HealthA; block3=GeneralHealth; block4=Att_HIV; block5=Bike_Own;&lt;/p&gt;
&lt;p&gt;block6=Bike_Riding; block7=Distance_block;block8=Travel_Conv_Grocery;block9=Travel_Coffee; block10=Travel_Bank_Credit; &lt;/p&gt;
&lt;p&gt;block11=Travel_Pharm_Drug; block12=Travel_Job_School; block13=Travel_Park; block14=Future_Biking1;&lt;/p&gt;
&lt;p&gt;block15=target_congruent_practiceA; block16=attribute_practice; block17=congruent_practice_1A; &lt;/p&gt;
&lt;p&gt;block18=congruent_critical_2A; block19= target_congruent_to_incongruent_practice_switchA; &lt;/p&gt;
&lt;p&gt;block20=incongruent_practice_1A;block21=incongruent_critical_2A; &lt;/p&gt;
&lt;p&gt;block22=e_target_congruent_practice; block23=e_attributepractice; block24=e_congruent_practice; &lt;/p&gt;
&lt;p&gt;block25=e_congruent_critical; block26=e_target_congruent_to_incongruent_practice_switch;&lt;/p&gt;
&lt;p&gt;block27=e_incongruent_practice; block28=e_incongruent_critical;&lt;/p&gt;
&lt;p&gt;block29=No_Summary; block30=No_HIV_Cog_Diss; block31=No_Enviro_Cog_Diss;block32=compensation; &lt;/p&gt;
&lt;p&gt;block33=money_payment; block34=Final_Summary_B)&lt;/p&gt;
&lt;p&gt;/ group = (4 of 32) (block1=Matching; block2=HealthA; block3=GeneralHealth; block4=Att_HIV; block5=Bike_Own;&lt;/p&gt;
&lt;p&gt;block6=Bike_Riding; block7=Distance_block;block8=Travel_Conv_Grocery;block9=Travel_Coffee; block10=Travel_Bank_Credit; &lt;/p&gt;
&lt;p&gt;block11=Travel_Pharm_Drug; block12=Travel_Job_School; block13=Travel_Park; block14=Future_Biking1;&lt;/p&gt;
&lt;p&gt;block15=target_congruent_practiceA; block16=attribute_practice; block17=congruent_practice_1A; &lt;/p&gt;
&lt;p&gt;block18=congruent_critical_2A; block19= target_congruent_to_incongruent_practice_switchA; &lt;/p&gt;
&lt;p&gt;block20=incongruent_practice_1A;block21=incongruent_critical_2A; &lt;/p&gt;
&lt;p&gt;block22=covertattentionpractice; block23=covertattention;&lt;/p&gt;
&lt;p&gt;block24=HIV_Summary; block25=HIV_Cog_Diss_inconsistent; block26=HIV_Cog_Diss_consistent; block27=No_Enviro_Cog_Diss; &lt;/p&gt;
&lt;p&gt;block28=compensation; block29=money_payment; block30=Final_Summary_A)&lt;/p&gt;
&lt;p&gt;...... (continues on through 32 of 32)&lt;/p&gt;
&lt;p&gt;&amp;lt;/variables&amp;gt;&lt;/p&gt;


&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;

</description><pubDate>Mon, 01 Feb 2010 10:27:44 GMT</pubDate><dc:creator>pez</dc:creator></item></channel></rss>