Reading more than one response

140 views
Skip to first unread message

Vaaal

unread,
May 2, 2013, 3:05:26 PM5/2/13
to e-p...@googlegroups.com
Hi, I know that I have already opened a topic today,  but I am working on more than one problem at time and I really need your help!

So I have this experiment in which the subject has to press a button (on a slide that we'll call "Waiting Slide"), then when the stimulus appears the subject releases that button and presses ANOTHER button.
I want to record the time between the stimulus out and the release of the button (we'll call this *decision time*) and the time between the release of the button and the pressing of the other button (we'll call this *movement time*).
The first button is 2 and the second one is 4.

In order to do so I added in the "alloweable keys" in the Stimulus slide this two keys: {-2}4  and in "correct" only 4. Then I changed the Max Count to 2.
What happens is that everything works right, but there is a little bug that I am afraid the subject could learn. In the subject, on the Stimulus Slide, release key 2, and then PRESS AGAIN AND RELEASE AGAIN key 2, the slide will terminate.
What I would like to do is just to ignore any other keys but 4, once that 2 has been released. I cannot come up with any answer.

I can think to do something that involves the creation of two different slides, one that reads -2 and the other 4, but I don't like that solution because this would mean to change a lot of things in the rest of the experiment..

ben robinson

unread,
May 2, 2013, 3:59:39 PM5/2/13
to eprime
You can also set up your single slide with two separate Input Masks.
add a second device under your Input Masks, so now you have two different keyboard devices listed. the first keyboard device has only {-2} as its allowable, with End Action (none). the second keyboard device has only 4 as its allowable, with End Action Terminate.
Does that work?


--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/8zHp3ooCYv8J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Vaaal

unread,
May 2, 2013, 4:46:01 PM5/2/13
to e-p...@googlegroups.com
No, it doesn't work.
If I do exactly what you described, and plus I have changed the MaxCount to 1 instead of the 2 that I have previously, for the first Input Mask. I have no response neither when I release 2 nor when I press 4.
If I set in the {-2} input mask the EndAction (terminate), it will terminate when I release 2, so I assume that the response 4 is completely ignored, and only the -2 is read.

Anyway I have read around that with multiple input masks e-prime stores only the last value, and I think this could be a problem for my purpose..
Now, the fact is that I don't really need to put that {-2}. But I *have* to record when 2 is released. Is I don't put {-2} in my "allowable response" I won't have the problem described in this topic (if the subject press again 2 or any other keys, it will just ignore it, and I am fine with this), but THEN I won't be able to read that value. This is true at least whit the inline function that I use. If you know any way to read a response also if it is not in allowable response, this may solve the problem.

molinae

unread,
May 2, 2013, 5:31:22 PM5/2/13
to e-p...@googlegroups.com
Hi,

wouldn't it work if you just set the Termination Response to 4 and the Max Count to, say, 10 or 20?

Vaaal

unread,
May 2, 2013, 5:48:26 PM5/2/13
to e-p...@googlegroups.com
Wow, it work this way!!! Thank you very much! :-) Thank you to ben as well!!
Reply all
Reply to author
Forward
0 new messages