Using the batch element.


Author
Message
ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
Hi there, 

I have two experiments that I am running next week. Participants will complete both, unless they have already done one of the two in a former session, in which case they get only one. I want to use group number to accomplish this - those with group number 1 get both, group number 2 only 1. Looking at the Batch element, this should be doable. However, when trying to work from the example, I constantly get an error (group is not a valid setting). Its hard for me to tell from the example what should be put in for group assignment (i tried numbers etc). Does anyone know? 

here is what I am trying in my batch script.


<batch >
/subjects = (1 of 2)
/groupassignment = group
/ file="SES8.exp"
/ file="SES7.exp"
</batch>


<batch>
/subjects = (2 of 2)
/groupassignment = group
/ file="SES8.exp"
</batch>

Hope you can help, 
Iris. 



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
It ought to be

/ groupassignment = groupnumber

ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
Yes, thats what I thought, but then I get: 

'groupnumer' is not a valid setting.


And the script still looks fine to me, no spelling error, or I am going blind: 

<batch >
/subjects = (1 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
/ file="SES7.exp"
</batch>


<batch>
/subjects = (2 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
</batch>



I entered 1 and 2 as groupassignment, and those are also invalid settings. 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Are you using Inquisit 4 or Inquisit 3 to program this? If Inquisit 3, there indeed is no such thing as groupnumber in Inquisit 3. You must use Inquisit 4 for that.

Beyond that, those <batch> elements are valid Inquisit 4 syntax and will work in that version.

ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
I am using version 4 - can it be because its a trial condition?  
ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
Script does not work in Monkey Mode either, which it should. 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Your installation's registration status should have nothing to do with it, and yes, it should run via the monkey. Is your installation up to date? FWIW, I've tested the exact code you posted

<batch >
/subjects = (1 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
/ file="SES7.exp"
</batch>

<batch>
/subjects = (2 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
</batch>

in Inquisit Lab 4.0.8.0 and it works fine / as expected.

Have you considered the possibility that the error is not in your <batch> elements, but in the scripts it is supposed to run, i.e. SES7.exp and SES8.exp?

Edited 9 Years Ago by Dave
ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
yes, they run fine solo, and also tried the same scripts with .iqx extension. will see whether I need to update my version.

what is weird is that the error seems to suggest a spelling error: 'groupnumer' is not a valid setting.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> what is weird is that the error seems to suggest a spelling error: 'groupnumer' is not a valid setting.

Then there very likely *is* a spelling error. Search all the involved scripts for the term 'groupnumer', and you'll probably find it.

ischneider
ischneider
Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)Partner Member (795 reputation)
Group: Forum Members
Posts: 7, Visits: 20
Well I don't think so - I control -F'ed all associated scripts. Anyway - I am now at my work computer and the whole thing now works - with exactly the same script. 

<batch >
/subjects = (1 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
/ file="SES7.exp"
</batch>


<batch>
/subjects = (2 of 2)
/groupassignment = groupnumber
/ file="SES8.exp"
</batch>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search