Logging RT with slide duration set at 1ms
Michiel Spape
Michiel.Spape at nottingham.ac.uk
Thu Oct 7 08:38:39 UTC 2010
And that should be <30 frames / second, of course. Also, for your code to work smoothly, here's a few suggestions:
1. Use buffered screen and canvas.copy right before waitforverticalblank should you be doing stuff using canvas.
2. If not, turn on Onset Sync for the object that is repeated and set its duration to something around 30 ms, but slightly less than two screen refreshes of your monitor's screen refresh rate. I.e. if your monitor is set to 70 Hz, then set the duration to something smaller than 2 x (1000 / 70) = 28.57. Say, 25 ms. Onset sync (for the looped slide or whatever) means here that each duration (if there's not too much code in between) will take 28 ms anyway.
Best,
Mich
Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
www.cognitology.eu
From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape
Sent: 06 October 2010 20:56
To: e-prime at googlegroups.com
Subject: RE: Logging RT with slide duration set at 1ms
Hi,
The trick here is that you have an object *before* all the moving bits and bops, which logs all the responses (duration = 0, time limit different, offset sync off, onset sync off, use maxcount if necessary) afterwards. That way, timing does not suffer from in-between code. Also, trying to display something for 1 ms is rarely a logical step. Remember that tv, dvd (yes, even HD), uses 30 frames/second - 33 ms.
Best,
Mich
________________________________
Van: e-prime at googlegroups.com namens ben robinson
Verzonden: wo 6-10-2010 20:07
Aan: e-prime at googlegroups.com
Onderwerp: Re: Logging RT with slide duration set at 1ms
if you simply type
Debug.Print Display.RefreshDurationStats.Mean
or
MsgBox Display.RefreshDurationStats.Mean
you'll soon find out just how quickly your monitor is able to refresh itself.
liwenna, off the top of my head i can't be sure *why* i'd do this, but i know that i have done it. i suspect that i would do it in situations where most of my task exists in an inline, but i get lazy and like to use a built-in eprime object to handle participant responses. something like that.
ben
On Wed, Oct 6, 2010 at 12:30 PM, Brandon <vasquezb at gmail.com> wrote:
I am trying to to have stimuli move across the screen. So technically
a slide object wouldn't be lasting for only 1ms, but it's position
would be lasting for 1ms. I didn't think the screen's refresh rate
would be able to handle 1ms, but movement seemed to be smoother when I
tried 1ms, so I left it there. I will try adjusting the time limit
parameter as Ben suggested.
Thank you both for the help!
:-)
On Oct 6, 10:52 am, liwenna <liwe... at gmail.com> wrote:
> Or maybe I misunderstood Brandon and too quickly assumed that he also
> wanted the slide object to last for 1 ms... ^.^
>
> Ben, just out of curiousity, in what kind of situations do you use
> this set up?
>
> On Oct 6, 3:56 pm, ben robinson <baltimore.... at gmail.com> wrote:
>
> > maybe i misunderstand your question, but you certainly can log RT and RTTime
> > information with a slide whose duration is set to 1ms (or even 0ms), so long
> > as the Time Limit parameter for the slide is set to some larger value,
> > since, as liwenna points out, 1ms wouldn't be long enough for the
> > participant to press a button in response.
>
> > i often use a slide or text object to record responses when their durations
> > are set to 0ms, and a time limit of infinite.
>
> > On Tue, Oct 5, 2010 at 3:39 PM, Brandon <vasqu... at gmail.com> wrote:
> > > I am very new to E-Prime, and I am wondering if it is possible to log
> > > RT and RT Time with slide durations of 1ms. I have logging enabled,
> > > but no data is being recorded. I thought maybe the 1ms interval is too
> > > short for logging to occur. But maybe someone out there has a solution?
>
> > > --
> > > 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 <mailto:e-prime%2Bunsubscribe at googlegroups.com> <e-prime%2Bunsubscribe at googlegroups.com <mailto:e-prime%252Bunsubscribe 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 <mailto:e-prime%2Bunsubscribe 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.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20101007/da58ef11/attachment.htm>
More information about the Eprime
mailing list