PST SR-Box through USB in 3.1.3 issues...
Hi all,
I'm translating a lexically-guided perceptual learning experiment to OpenSesame and would like to use our PST SR-Box (model 200A) as we're going to be running this experiment with people with Aphasia and a keyboard response may be too complicated or difficult.
Our testing PC's are brand new, so unsurprisingly they do not have a serial port. Luckily, the computer recognizes the SR-Box using a serial-to-USB adapter and OpenSesame 3.1.3 will allow responses from the SR-Box properly (by that, I mean pressing button 1 outputs a "1", button 2 outputs a "2", etc). However, when I try to specify only two allowed responses (in this case, buttons 1 & 5) or specify which lights to turn on, it crashes with the error:
item-stack: experiment[prepare].new_srbox_1[prepare]
exception message: invalid literal for int() with base 10: 'kp1'
I'm trying to figure out what the source of this issue is; OpenSesame seems to have no problem recognizing and reading responses from the SR-Box, which is good. However, when adding "1;5" to the "Allowed Responses" field, it crashes. Is this syntax not appropriate anymore? I previously used that way to denote allowed responses in 2.9.X and it functioned normally.
Your help is very much appreciated (I really would like to avoid E-Prime)!
Comments
Hi,
So if I understand correctly, an error occurs when you enter a semicolon-separated list of numbers in either the 'Turn on lights' field or the 'Allowed responsed' field. Is that correct? If so, could you post the full stracktrace (from the debug window) here for both errors? (Because they are probably slightly different.)
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
@Jarik just reported the same issue on GitHub (# 488). We'll work on it there.
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi! Just wanted to mention that I get a similar message when I try to specify allowed responses for my saitek gamepad. The error does not occur when I leave "Allowed Responses" blank.
Here's the stuff (which I call "gobbledigook") from the debug window:
@jtpar Could you check whether (or confirm that) this issue still exists in 3.1.4?
Check out SigmundAI.eu for our OpenSesame AI assistant!
sorry for the delay. yes, it does, I'm afraid
@sebastiaan isn't this fixed in the to-be-released 3.1.5?
Ow right, I got my milestones mixed up. The fix will indeed be included in 3.1.5!
Check out SigmundAI.eu for our OpenSesame AI assistant!
sweet! thanks!!
Is it already fixed? is there any workaround?
I got the same error message...
Hi Noa,
It is supposed to be fixed already, that is if you run a version of Opensesame that is 3.1.5 or younger. Can you check whether you have the problem while running th latest Opensesame version?
Eudard