Re: capturing user reaction times in msecs
Re: capturing user reaction times in msecs
- Subject: Re: capturing user reaction times in msecs
- From: Ronny Reichmann <email@hidden>
- Date: Tue, 19 Dec 2006 18:18:52 +0100
Call the display method of the view yo want to be shown. Do not use
setNeedsDisplay, display will do it right after being called (this
will halt programm exection in between). Init a NSDate object with
the current time. After user response compare the first date with a
new one (double elapsed = [[NSDate date]
timeIntervalSinceDate:startDate]).
Read the other mails. You have to experiment to figure out the offset
you need. Yust use times measured with your app, comparing the
measured times with others wont be exact. If you stay inside of your
app, comparisions should work.
Am 19.12.2006 um 16:47 schrieb julia Cline:
I need a simple way to capture reactions times associated with an
onscreen event. The user sees a display, responds via click (or
verbally). I need to get the time the event displays , along with
the time that the user responds via mouse click (or verbally). I
need the times in msecs so that I can calculate the user's reaction
time.
I could use some suggestions about how to do that. The only
documentation that I have mentions NSCalendarDate which doesn't
seem like the correct path to me.
Julie Cline
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden