Running multiple OpenSesame experiments without break
Hi everybody!
I would like to run multiple OpenSesame experiments sequentially without breaks. I cannot put everything into one experiment because I want to use multiple eye trackers and I can only define one eye tracker in one OpenSesame experiment.
Specifically, I want to run 3 blocks, each recorded with a different tracker. So I would have 3 OpenSesame files in total that I want participants to absolve without breaks. Is there a possibility to run them one after the other without restarting manually?
Thanks in advance!
Best, Lisa
Comments
Hi Lisa,
Can you try opensesamerun? With that approach, you can write a small executable bash script, that will start three experiments one after another with a certain set of settings.
Let us know if you need help with it.
Best,
Eduard
Hi eduard,
thank you very much for your help! opensesamerun seems to be exactly what I am looking for! Unfortunately, I have not worked with batches/cmd before. So I am not sure how can I add opensesame as a new cmd command that I can call in my command line or batch file? When I try entering "opensesamerun" in my command line, I get an error: "The command "opensesame" is either misspelled or could not be found."
Thanks so much in advance!
Best, Lisa
Hi Eduard,
I actually solved the problem and wanted to write it down here to make it available to other people. :)
I wrote a batch file that includes:
cmd /C "C:\(path to my opensesame folder)\opensesamerun.bat" C:\(path to my experiment 1)\experiment1.osexp -s 1 -l C:\(path to where I want to save the logfile)\logfile1.tsv -f
cmd /C "C:\(path to my opensesame folder)\opensesamerun.bat" C:\(path to my experiment 2)\experiment2.osexp -s 1 -l C:\(path to where I want to save the logfile)\logfile2.tsv -f
I had to use the command "cmd /C" to ensure that both experiments are run after another (i.e., so that the second one starts after I finish the first one).
Thanks again for your help!
Best, Lisa
Great, thanks!