[open] SR Box
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
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
Good to hear that your first problem is solved. The way to define the allowed responses is by typing
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!
Check out SigmundAI.eu for our OpenSesame AI assistant!
exactly! i have typed 1;3 in the field "Allowed responses" in sr box plug-in.
i have opensesame 0.26 Earnest Einstein
thx!
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?
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastian,
here the settings for my experiment:
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
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
Check out SigmundAI.eu for our OpenSesame AI assistant!
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
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
Check out SigmundAI.eu for our OpenSesame AI assistant!
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?
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

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