To answer the original question, the answer given to you is quite correct. A timer will work nicely. However, if you want to include your routine in a class or module, then you can not use a timer (as far as I know) because there is no form to drop it on.
In this case, use 'Sleep'. See next...
Great question. We have a dual monitor system used by an examiner to test a subject.
Only the examiner has access to the keyboard and primary monitor. The subject uses an actual USB Reaction Time Button hardware device which has an OCX and limited set of function calls. The RT buttons need to...
Any advice on using an event instead of polling? I do a lot of polling in my application.
For one, I have to check Reaction Time buttons to see if they are being pressed. It used to really chew up the CPU until I introduced Sleep to my polling loop.
I am already familiar with the timer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.