alternative to batch element


Author
Message
jusaar
jusaar
Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)
Group: Forum Members
Posts: 11, Visits: 45
Hello guys,
is there an alternativ to the "batch" element?
I got many single files which should be included into one, but batch breaks up before it continues the next data (tasks and questionnaires).

Thank you for your help!

Julia :)

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
The only other option is to merge everything into a single script. You'll find this covered in the latter part of the "How to Combine Multiple Scripts" topic in the Inquisit documentation.

jusaar
jusaar
Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)
Group: Forum Members
Posts: 11, Visits: 45
Thank you for your answer! I tried but it isn't possible to run the skript.
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
> I tried but it isn't possible to run the skript.                               

... which most likely means you've made mistakes in the process of merging the various procedures and need to thoroughly double-check your code.

jusaar
jusaar
Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)Partner Member (741 reputation)
Group: Forum Members
Posts: 11, Visits: 45
Thank you! - i got it.
Eimear
Eimear
Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)
Group: Awaiting Activation
Posts: 19, Visits: 148
Hi,

I was wondering whether there is a way for the script to run without 'breaking' between the different files if you use the batch function? The files run together fine but there is always a second between them where the script of one visibly ends before beginning again with the next file. 

I know they can run seamlessly with the include function but I was hoping to avoid this as I need to include 3 IATs, 3 questionnaires and a demographics section into the one file so it gets complicated.

Thank you.

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
No. The only way to avoid those transitions is to merge the files into a single script -- whether by using <include> or otherwise. It won't work via <batch> or other means.

Eimear
Eimear
Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)
Group: Awaiting Activation
Posts: 19, Visits: 148
OK. Thanks for the quick reply.
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
To explain why that is: Before Inquisit can start to actually execute a given script, it must check it for syntax errors, verify that any external files (images, etc.) the script needs are where they ought to be, etc. If Inquisit didn't do that, you'd risk failing catastrophically at runtime and -- at worst -- loosing some of your data. Those checks are what happens during the short transition periods when running multiple scripts one after another via <batch>.

If you have everything in a single script, Inquisit only has to perform syntax, etc.checks once -- at the very beginning of the session. Hope this clarifies.

Eimear
Eimear
Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)
Group: Awaiting Activation
Posts: 19, Visits: 148
Ah OK, that makes sense. Thanks very much for clarifying. 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search