packing and sending experiment to participants
Hello
I was wondering if it is possible to "pack" an experiment so participants will be able to run the experiment on their computer without installing the software themselves.
Thanks!
Tali
Hello
I was wondering if it is possible to "pack" an experiment so participants will be able to run the experiment on their computer without installing the software themselves.
Thanks!
Tali
Comments
Hi Tali,
The easiest option (certainly for the participants) would be to run the experiment online with OSWeb and JATOS:
Alternatively, you could download the Windows
.zippackage of OpenSesame, add your experiment file, and then add a batch file (sayrun_experiment.bat) that automatically starts the experiment by callingopensesamerun. Then you can rezip the package, upload it, and let the participants download your custom package.That would work, but it would be quite a download for running an experiment! And it would require that participants use Windows.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you!
Thanks Sebastiaan!
Unfortunately OSWeb is not an option for me yet.
The second idea looks good! is there a tutorial that explains how to do it?
There's no tutorial, but it's quite easy. A batch file is simply a text file with a
.batextension. Under Windows, you can execute these files by double-clicking on them. So say that you create a file calledrun_my_experiment.batwith the following line:This will call
opensesamerun.bat(change toopensesame.exefor <= 3.2) with the experiment filemy_experiment.osexp, run in full screen (-f), with the logfilemydata.csvand subject number 1.The
pausecommand will make sure that the batch file doesn't close immediately so that you can see any error messages if things go wrong.Check out SigmundAI.eu for our OpenSesame AI assistant!
Thanks sebastiaan!
Sorry for the very basic question: where do I write this in windows?
The command prompt?
Hi Tali,
These lines would go in a text file with a
.batextension. And then you can execute them. So it's a bit like you would write Python code in a.pyfile, but then it's a different language that's specific to Windows.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you Sebastiaan!
I ended up sending only the experiment file and asking people to install opensesame.
Looking forward to the workshop to see how I can use osweb!