Millisecond Forums

Video script runs alone but not in batch

https://forums.millisecond.com/Topic9636.aspx

By LibbyLu43 - 2/7/2013

I'm having trouble getting a batch file to play my video script. The entire batch works and doesn't register any errors. The video script also works just fine on it's own.


However, when I run the batch, and it's time for the video script to play, the white experiment window disappears, and a box with the Inquisit 4 logo appears that says "loading..."


After a few seconds, the batch goes on to the next script (skipping the video script.) Not sure what's going on here.


Thanks for the help,


Libby

By Dave - 2/7/2013

It's impossible to say without seeing the scripts, but most likely there actually *is* a mistake in the video script. Run the video script on its own but make sure you enter different subject and/or group numbers. If you get a white screen you know that the script does not cover the between-subjects condition indicated by subject # or group # and you'll have to fix that.


Another possibility is that there's a subtle mistake in (one or several) of your <batch> element(s), such as a missing or wrong quote character, etc.

By LibbyLu43 - 2/7/2013

I also forgot to mention that I originally created all the script files in Inquisit 3, and the batch ran just fine. When I switched over to Inquisit 4 yesterday is when I encountered problems.


I tried what you suggested (running the video scripts alone entering different subject and group numbers), and everything still worked fine. It's only when I try to run them in the batch that they don't work. I also validated the video scripts and the batch script to look for errors, and none were found.


I tried to upload both the batch script and the video script, but only could do one so I chose the video script. Let me know if you need the batch script too.


Again, thanks for all your help, it's much appreciated!


By Dave - 2/7/2013

#1: It would be good if you could upload *all* your files somewhere (e.g your Dropbox) and post the download link here. That includes any external files required by any of the scripts (videos, pictures, etc.).


#2: Before that please make sure you are using the latest Inquisit 4 version (4.0.2.0), not any of the previous beta versions. The latest release is always at http://www.millisecond.com/download/.


#3: If you are going to use Inquisit 4, save the scripts in Inquisit 4 new file format (*.iqx), do not use the older *.exp format as used by Inquisit 3 and below.


Thanks,


~Dave

By LibbyLu43 - 2/8/2013

Hi Dave, here is the link to the dropbox folder: https://www.dropbox.com/sh/hkw5n5fo8nabhtt/PXfkoWrDSd


I double checked, and yes, I am using the latest version of Inquisit 4


I also re-saved all the files to be in the .iqx format instead of the .exp format.


Thanks for looking over everything!!


Libby

By Dave - 2/8/2013

Libby,


thanks for the files. Look closely at your <batch> elements:


<batch GroupHN>
/ subjects = (1 of 5)
/ file = "Consent.iqx"
/ file = "SoundTest.iqx"
/ file = "Demographics.iqx"
/ file = "Emotions1.iqx"
/ file = "Stroop1.iqx"
/ file = "HNvid.wmv"
/ file = "Emotions2.iqx"
/ file = "Stroop2.iqx"
/ file = "Part2.iqx"
</batch>


etc.


Also, you should never use both /directory *and* /file at the same time.


Regards,


~Dave

By LibbyLu43 - 2/8/2013

haha wow, duh! Thanks Dave, you rock