Howdy, Stranger!

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

Supported by

[open] SR Box

edited July 2012 in OpenSesame

Hi Sebastian,
i would use the SR Box "Cedrus" for collecting the response times in my experiment. I have defined the Allowed responses and time out in SR Box Plug-in, the device name is autodetect, but when my experiment runs, no responses were collected. i have changed the device name in to COM4. opensesame gives me the following message:Failed to open device port 'COM4' in libsrbox: 'could not open port COM4.
thx
Madjid

Comments

  • edited 8:19PM

    Hi Sebastian,
    the problem is solved. in my computer, there war no COM4 in vevice Manager, but COM3. Now, i have one another problem. I have defined the buttons 1 and 3 as Allowed responses (1;3), but all the 8 buttons are active and collect responses. i don't know how i restrict the Allowed buttons only of 1 and 3
    thx
    Madjid

  • edited 8:19PM

    Good to hear that your first problem is solved. The way to define the allowed responses is by typing

    1;3

    in the field labelled 'Allowed responses'. Is this what you have done? If this doesn't work, could you please let me know what version of OpenSesame you are running?

    Cheers!

  • edited 8:19PM

    exactly! i have typed 1;3 in the field "Allowed responses" in sr box plug-in.
    i have opensesame 0.26 Earnest Einstein
    thx!

  • edited 8:19PM

    Hi Madjid,

    I'm afraid I cannot reproduce this problem. For me setting the allowed responses works as expected. Just to be perfectly sure, if you click on the 'Edit script' button, does it look something like this?

    set dummy "no"
    set allowed_responses "1;3"
    set dev "autodetect"
    set description "Collects input from a serial response box (Psychology Software Tools) or compatible devices"
    set timeout "infinite"

    Cheers!
    Sebastiaan

  • edited July 2012

    Hi Sebastian,
    here the settings for my experiment:

    set dummy "no"
    set allowed_responses "2;1"
    set description "Collects input from a serial response box (Psychology Software Tools) or compatible devices"
    set dev "autodetect"
    set timeout "2000"

    but not only the keys 2 & 1 but also all the key are active and collect responses. I use the responsebox "Cedrus RB-830". Is it supported by opensesame?
    Thx
    Madjid

  • edited 8:19PM

    Hi Madjid,

    The script looks fine, yes. I couldn't say whether the Cedrus RB-830 is completely compatible with the SR-box plug-in. I'd imagine so, but I don't have one to test. Also, it would be strange if OpenSesame recognizes the button presses, but doesn't respect the allowed responses list. But then again, I'd need a Cedrus box to actually test it.

    I looked on the Cedrus website, and they claim to offer support for Python. If the allowed responses are important, you could probably ask for a Python code snippet to communicate with the Cedrus box on their support forum.

    Two final remarks (probably obvious): First, you set the timeout to 2000, which means that you will get a timeout response after 2000ms, regardless of whether you have actually pressed a button. Second, there have been problems with the SR box plug-in in the past, so please make sure that you're running the stable 0.26 release (not a pre-release).

    Cheers,
    Sebastiaan

  • edited 8:19PM

    Hi Sebastian,

    For our experiment, we have decided to use the Serial Response Box™ (Psychology software tools), that is compatible with OpenSesame. According to the Website of Psychology software tools, this SR Box requires the Software "E-prime", but we don't need an another presentationsoftware. We use currently OpenSesame. Could OpenSesame collect the responses without the E-Prime?
    Best regards
    Madjid

  • edited 8:19PM

    Hi Madjid,

    Yeah, it's lame that they say that, because the SR Box will work fine with any type of software that can read from the serial port (or the USB port with the USB converter). OpenSesame is among them

    Is compatibility with OpenSesame the only reason that want to buy the SR Box (which is kind of expensive)? Because the Cedrus box will probably work as well with the code that they provide on GitHub. I actually came across this through your post on the Cedrus forum ;) But I can also understand if you don't want to invest too much time in getting the Cedrus box to work, of course.

    Cheers,
    Sebastiaan

  • edited 8:19PM

    Besides input from a mouse or a keyboard, would it be possible to record responses from a USB gamepad, for example using the SR Box plugin?

  • edited 8:19PM

    Hi Frouke,

    Although we have no experience in collecting responses using a joystick or gamepad ourselves, other OpenSesame users have successfully implemented this.
    Please see the following topic:

    The SR Box plug-in is not suitable for this purpose.

    Cheers,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 8:19PM

    Can someone help?

    I am trying to collect a rating using a Cedrus response box and a sketchpad (to present the response options). I would like to set the "duration" of a sketchpad by keypress of the SR response box, and not the keyboard. What is the correct syntax for this (I have set the allowed keys to "1;5" on the SR box so, ideally, I would like to limit the duration keypress to those buttons. Moreover, do I need to do anything specific in the logger (that is placed after the sketchpad) to log the SR response box presses?

    Any assistance would be greatly appreciated.
    Thanks and best wishes,

    Merle

Sign In or Register to comment.