Best Practice for Combining Surveys and IATS


Author
Message
TMowgli
TMowgli
Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)
Group: Forum Members
Posts: 5, Visits: 1

Hello Inquisit Community,


I have a sequence of surveys and IATS that I would like to merge together, and having perused the available documentation, I've learned that the <include> and <batch> elements are typical ways to accomplish this.


On the desktop version of Inquisit, the <batch> command is able to seamlessly transition from one script to another without any kind of screen flickering. However, after uploading a batch file and its respective counterparts to the online web interface and running the experiment, I have noticed that there is a white flicker that occurs between the constituent scripts that compose the holistic batch experiment.


This video flickering makes the batch command not viable for use from the web console, and currently, I've followed the instructions for the <include> command from


here: https://millisecond.com/support/docs/v4/html/howto/multiplescripts.htm


However, if I use the <include> element and I list...


<include>


/file = "file1.iqx"
/file = "file2.iqx"


</include>


I cannot get file1.iqx to run before  file2.iqx; file2 always runs before file1, even if I switch their order in the script. Is there a way to seamlessly combine elements? Am I missing something simple?


Thank you for taking the time to read my post - I really appreciate it!


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: 108K

<include> effectively performs a copy and paste operation. Contents of the files are treated as if they existed in a single file. That, of course, does not determine the order of elements that will be run -- you need to explicitly specify that via a global <expt> element as detailed in the "How to Combine Multiple Scripts" topic in the documentation.


TMowgli
TMowgli
Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)Associate Member (158 reputation)
Group: Forum Members
Posts: 5, Visits: 1

Hey there Dave,


Thank you for responding to me; I appreciate your response.



In my IAT, I have more than ten <expt> elements listed. I've been looking through the "Combine Multiple Scripts" documentation, and I'm having a little bit of trouble figuring out what the best way to implement this principle.



Is there a 'best practice' for having a global <expt> run a <survey> and its corresponding <surveypages> before other <expt> elements that I might extract from a constituent file?


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: 108K

A <survey> is special type of <block>, meaning you can run it via an <expt> element's /blocks attribute at whatever time you want just like any other regular block.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search