Howdy, Stranger!

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

Supported by

[open] Getting ioLab Systems Response Box to work with Opensesame

edited March 2014 in OpenSesame

Hi,

I have an ioLab Systems Response Box (see http://www.iolab.co.uk) at hand that I want to use with Opensesame.

In principle, this should work as ioLab Systems provide a python library to access this USBBox (see https://github.com/ioLab/python-ioLabs), although this library hasn't received many updates (last updated 3 years ago).

The same library/module also seems to be mentioned in the psychopy documentation (http://www.psychopy.org/epydoc/psychopy.hardware.ioLabs._ioLab_beta3p1-module.html).

So my questions now:

  • Can I make this run with Opensesame?
  • Is it necessary to newly compile Opensesame in this case to get the ioLabs module recognized in the python console of OpenSesame or is there an easier solution?

I use Opensesame primarily under Ubuntu Linux.

Thanks in advance for your help,

Johannes

Comments

  • edited March 2014

    Hi johannes,

    Seems like it's well documented! Simply follow the instructions on GitHub to install the library (i.e.: run the install.py script), and you should be able to import the library from OpenSesame if you're using Ubuntu. In theory, that means that A) you can make the ioLabs code run with OpenSesame, and B) you do not need to recompile OpenSesame.

    On Windows, things will be slightly more complicated. You'll have to run OpenSesame from source, using a Python installation that includes the ioLabs module (again, follow their instructions on GitHub on how to install their module). Alternatively, you could use the WinPython (portable) package. Installing to this package can be done in the same fashion as installing to a regular installation of Python: use python.exe in the WinPython directory to run the setupscript of the ioLabs module.

    Good luck!

Sign In or Register to comment.