The question of negative OnsetDelay values comes up from time to time,
so I will try to answer it here.
First, note that
OnsetDelay = OnsetTime - TargetOnsetTime
(as explained at
https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc ).
So suppose you want to present some visual stimuli, and you have a
display with a frame rate of 60 Hz. That means that it starts a new
visual frame about once every 17 ms.
Now suppose you want one stimulus to last for 100 ms, followed by
another visual stimulus. Well, you cannot quite do that, because 100 ms
is not an integral multiple of the frame period. If the first stimulus
has its Duration set at 100 and starts at the onset of a frame period
(OnsetSync = "vertical blank"), then you could have it remain through 6
frame periods, and then get replaced by the next stimulus at the start
of the 7th frame period. That means that the first stimulus would
remain displayed for about 102 ms, and the second stimulus would have an
OnsetDelay of about 2 ms (assuming sufficient PreRelease to eliminate
other delays).
But now suppose that you set the Duration of the first stimulus to 103
ms, just one ms past the full 6 frames. Well, in that case, E-Prime
might have to wait through another full frame to start the next
stimulus, resulting in an OnsetDelay of 16 ms, almost a full frame late!
Instead, E-Prime can predict the the start of the next frame and "look
ahead". If E-Prime sees that the next frame will start just 1 ms before
the TargetOnsetTime of the stimulus, then it will go ahead and start the
stimulus onset early. And in that case, you get an OnsetDelay of -1!
So that's all it means, nothing impossible or mysterious. It just means
that E-Prime recognized that it would be better to start the stimulus a
little ahead of its TargetOnsetTime rather than wait through another
full frame period.
At least that's how it worked up until EP2.0.10. 2.0.10 adds a new
wrinkle -- the DisplayDevice includes a new property called "Refresh
Alignment". This sets the "look ahead" to a percentage of the refresh
period, instead of always 1 ms -- see
http://www.pstnet.com/support/kb.asp?TopicID=3027 for some details. I
suppose that means that now under some circumstances we might get even
larger negative OnsetDelay values, but I have not tested or seen this
myself yet.
I hope that helps.
---------------
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (
https://twitter.com/EPrimeMaster)