Measuring Reaction Times (1 Viewer)

Status
Not open for further replies.

isladogs

MVP / VIP
Local time
Today, 22:36
Joined
Jan 14, 2017
Messages
18,186
I've been working on a project involving random events and calculating time intervals to millisecond accuracy

So I decided to use both ideas in a simple application for measuring reaction times. I thought it might be fun for others to play with

The idea is to respond to an event that occurs after a random delay & in a random position on the screen.

It uses the system clock to determine times in milliseconds.

There are 3 levels of difficulty: easy/moderate/hard
Typically I can manage about 0.7s on the easy level - see if you can do better!
The other 2 levels should take longer : in the range 2-12 seconds?

The app opens in a floating window on the desktop with nav pane/ribbon hidden.
To view the code, use the SHIFT key as you open the app.

The app works in both 32-bit & 64-bit Access and can also be run on a tablet

NOTE: system times are updated about 60 times per second so the quoted accuracy is about 16 milliseconds.
Good enough for this example in my view.

There are other ways of measuring time with precision
For example, you can use GetTickCount but that is also based on system time
The built in Timer function can be used to give time to centisecond accuracy though with the same limitation

You could also use the StopWatch class (though I've not tested it ) but once again the precision is milliseconds.
https://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

Any feedback, please send me a PM or email me using the link below
 

Attachments

  • ReactionTimes.zip
    132.4 KB · Views: 498
  • Screenshot.PNG
    Screenshot.PNG
    24.6 KB · Views: 361
Last edited:

NauticalGent

Ignore List Poster Boy
Local time
Today, 18:36
Joined
Apr 27, 2015
Messages
6,286
Kind of like a Fidgit Spinner for your desktop...
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom