Problem with setting new attribute to collect data
Peter Quain
pquain at une.edu.au
Sun Oct 2 07:38:26 UTC 2011
not exactly sure that I undersatnd what you are doing, but maybe if
you do something like this:
Dim t1, t2, time2correct as long
t1=clock.read 'when they start to try for correct answer
t2=clock.read ' in an inline after they get correct answer, and jump
out of the wend loop
time2correct =t2-t1
c.SetAttrib "TimeTaken",time2correct
At 07:30 PM 2/10/2011, you wrote:
>Hi,
>
>In my experiment participants have to repeat the same trial until they
>give the correct answer. Also, I want to know the time that was
>requested to them to get to the correct answer, therefore I can't
>relay on the standard RT that is logged to the data file. What I did
>goes like that:
>
>At the beginning of the procedure there is an inline in which I
>defined new attribute:
>
>c.SetAttrib "ResponseT",0
>
>then after this inline there is a label I called "repeatuntilcorrect"
>and after this label there is the slide "showword1" which present the
>trial, after it I put this inline:
>
>c.SetAttrib "ResponseT",c.GetAttrib("ResponseT")
>+c.GetAttrib("showword1.RT")
>while showword1.Acc=0
>goto Repeat1
>Wend
>
>
>that is, at the end of each trial I should have the time passed from
>the beginning of the trial to the participant correct response.
>
>The problem(s?) I have is that first, in the data file the attribute
>that I added (ResponseT) present the time in different manner-that is,
>357 ms are presented as 0357. Second, unless I misunderstand
>something, it seems like sometimes the slide RT (showword1.RT) is
>longer than "ResponseT" and that of-course should never happen. I
>would appreciate your assistance in solving these issues.
>
>Regards,
>
>Gilis
>
>--
>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.
--
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