Processing Speed in SSD task

Zach zachary.d.cohen at gmail.com
Sun Dec 7 15:44:14 UTC 2008


that worked perfecty!
thank you ben!

On Dec 6, 10:51 am, "ben robinson" <baltimore.... at gmail.com> wrote:
> rather than
>
> ...
> If SSDArrowLeft.RT > 0 Then
> stopduration = 0
> c.SetAttrib "stopduration", stopduration
> ...
>
> try instead
>
> ...
> If SSDArrowLeft.RT > 0 Then
> Goto Label1
> ...
>
> and put a Label object (Label1) on your procedure timeline immediately
> following the stop signal slide.  this will cause the script to skip your
> stop signal slide if an appropriate response is made.
>
> you're seeing the stop signal flicker on the screen, despite a duration of 0
> milliseconds, because the code is still requesting that the stop signal be
> drawn to the screen.  the fact that the duration is 0 just means that it
> won't remain on screen following the first screen refresh after it's first
> drawn.
>
> hope that helps.
>
> ben
>
> On Fri, Dec 5, 2008 at 3:51 PM, Zach <zachary.d.co... at gmail.com> wrote:
>
> > Hello everyone,
> >       I have a stop signal delay task in which I used the following
> > line of code to set the duration of my slides:
>
> > dim duration as long
> > dim stopduration as long
>
> > If SSDArrowLeft.RT > 0 Then
> > stopduration = 0
> > c.SetAttrib "stopduration", stopduration
> > duration = 1000 - SSDArrowLeft.RT
> > c.SetAttrib "duration", duration
>
> > Else
> > dim SSDtimeleft as long
> > SSDtimeleft = CLng(c.GetAttrib("SSDtimeleft"))
> > stopduration = 1000 - SSDtimeleft
> > c.SetAttrib "stopduration", stopduration
>
> > End If
>
> > This code follows a slide called SSDArrowLeft which has a duration of
> > either 100, 150, 200, or 250ms, and terminates upon response. If the
> > user doesn't respond, a stopsignal slide is presented. If they manage
> > to respond during this time, the goal is to skip this stopsignal slide
> > by setting its duration to 0. I believe this should work and has
> > worked in the past, but for some reason when this program is run and a
> > response is made during the SSDArrowLeft slide I see a flicker of the
> > stopsignal slide. Could this be the computer or program is simply slow
> > and presents the stopsignal slide for a few miliseconds while it
> > proccesses, or is there something wrong with my code structure? I fear
> > the latter, but hope more experienced users like yourselves might have
> > run into this problem before and might have a solution.
>
> > I greatly appreciate your time and advice, and have relied heavily on
> > this forum and past postings to educate myself about eprime.
>
> > Sincere thanks,
> > -Zachary Cohen
--~--~---------~--~----~------------~-------~--~----~
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