Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

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

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 .zip package of OpenSesame, add your experiment file, and then add a batch file (say run_experiment.bat ) that automatically starts the experiment by calling opensesamerun . 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

  • 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 .bat extension. Under Windows, you can execute these files by double-clicking on them. So say that you create a file called run_my_experiment.bat with the following line:

    opensesamerun.bat my_experiment.osexp -f -l my_data.csv -s 1
    pause
    

    This will call opensesamerun.bat (change to opensesame.exe for <= 3.2) with the experiment file my_experiment.osexp , run in full screen (-f ), with the logfile mydata.csv and subject number 1.

    The pause command will make sure that the batch file doesn't close immediately so that you can see any error messages if things go wrong.

  • 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 .bat extension. And then you can execute them. So it's a bit like you would write Python code in a .py file, but then it's a different language that's specific to Windows.

    Cheers!

    Sebastiaan

  • 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!

Sign In or Register to comment.