Participants=?ISO-8859-1?Q?=B4_?=response via space key
Claudia
0702claudia at gmail.com
Thu May 26 13:13:01 UTC 2011
Hi again,
I am clearly doing something wrong since, although I believe I
followed your (and the manual) instructions, I keep getting the same
error window. Could you please look at it and let me know if it tells
you something? I am copy-pasting below the section containing the
'bug' - The last line seems to be the critical one.
Thank you very much,
Claudia
Sub PracticeProc_Run(c as Context)
Fixation.Run
Blank.Run
PrimePractice.Text = c.GetAttrib("PrimePractice")
PrimePractice.Run
Blank1.Run
Stimulus.ActiveState = c.GetAttrib("Stimulus")
Stimulus.Run
ResponseTrial.InputMasks.Reset
If Keyboard.GetState() = ebStateOpen Then
ResponseTrialEchoClients.RemoveAll
ResponseTrial.InputMasks.Add Keyboard.CreateInputMask("{SPACE}",
c.GetAttrib("CorrectAnswer"), CLng(ResponseTrial.Duration), CLng("1"),
ebEndResponseActionNone, CLogical("Yes"), "", "", "ResponseMode:All
ProcessBackspace:Yes")
On May 26, 10:51 am, liwenna <liwe... at gmail.com> wrote:
> Hi Claudia,
>
> this is indeed very elementary... did you also check the 'manual'
> called 'an e-primer'? It can be downloaded here: step.psy.cmu.edu/
> materials/EPrimer.pdf
> I don't know it by heart but I daresay it should contain your answers
> and otherwise be helpful for you.
>
> As for the allowed response: this simply defines which buttons are
> being 'read' by e-prime. If a certain button is not defined response,
> one can press it however much they like, e-prime will not respond to
> it. To make the spacebar the only allowed response (no response is not
> a response, so you don't need to "allow" it) enter {SPACE} into the
> allowed responses field.
>
> However, the remaining of your question pertains not to how to set an
> allowed response but to how to set a correct response. To achieve what
> you want to achieve, make an attribute in your list that contains the
> correct response, call it "correctresp" or something the like. For
> trials in which space is the correct response give it value {SPACE},
> for trials in which no response is the correct response give it value
> "" (two times ", nothing inbetween). Tell your slide that this
> attribute contains the correctresponse by entering [correctresp] into
> the correct response field of the slide. In order to make it possible
> that no response is given ("allow" no response, if you like...) give
> the slide a set duration (1000 ms for instance, instead of infinite)
> so that it always disappears after a given time (even if no response
> is made). You can keep the end action at terminate if you want the
> slide to disappear after space is pressed or set it to none of you
> want it to remain for the set duration even after spacebar is pressed.
>
> Best,
>
> liw
>
> On May 25, 9:21 pm, Claudia <0702clau... at gmail.com> wrote:
>
> > Hi,
>
> > I am very new to e-prime and, after having spent hours pouring on the
> > manuals, I have yet to find the solution to a likely elementary (!)
> > matter: How do I make the software accept 1) that the space key is an
> > "Allowed response", and 2) that absence of response is also an
> > "Allowed response". My experiment is a visual recognition task in
> > which my participants are supposed to press 'space bar' only if the
> > target flashed on screen (i.e. a triangle) has been preceded by some
> > specific stimuli, but not to press anything at all if the rule is not
> > met.
>
> > Thank you in advance for your help,
> > Claudia
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list