Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: Timing resolution of DirectRT

  1. #1
    Join Date
    Nov 2005
    Posts
    3,328

    Timing resolution of DirectRT

    [edited from support email]
    In your website, you wrote that DirectRT has Timing resolution of 1 millisecond, however, you also wrote that even the best keyboards in the world will take 2-25 ms to announce the news of every keypress. So, I don’t understand if by using DirectRT with regular keyboard, do I get timing resolution of 1 msec? In addition, what about using voice key (via microphone connected to audio card)? Does it reach 1 msec resolution? Does DirectRT Has internal function which can examine time resolution so I can check it myself?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Some devices take longer to make information available to the computer than others. There is no software (including DirectRT) that can make standard input hardware faster. DirectRT can only respond to the device once the data enters the computer. It is at that point that DirectRT excels--it usually takes no more than 1ms for DirectRT to pick up any input that has become available to the computer. This is in contrast to many programs that sit and wait for Windows to "tell them" that some input has occured. This is why DirectRT can get input faster from a standard keyboard than many other programs--instead of sitting around waiting to be told what's going on (e.g., through standard keyboard events), it actually goes and checks on the status of every key on the keyboard over a hundred times per millisecond.

    This brings us to the issue of the hardware getting data to the computer. Some devices can get their data to the computer within 1ms from the time the subject smacks a button (e.g., DirectIN button boxes, DirectIN keyboards). If you are using such a device then your _total_ latency/error is going to be under 1-2ms. That's from the time a button goes down to the time that DirectRT receives it. But if you are using a device that waits for 5-25ms to inform the computer that something has happened, then that latency will be included in your response times--it's unavoidable.

    As far as telling what kind of delay/error you are getting, no there is no standard function for this. We have hardware and software we have developed to test this but it's not a user friendly system. If you have a particular keyboard you'd like us to test, let us know. If you send it to us we can probably hook it up and tell you what kind of latency it has.

    Finally, voiceRTs are a little different. DirectRT analyzes the amplitude of the sound wave as it is coming in--this is done pretty much in real time so you shouldn't experience any significant latencies in your RTs. And for this matter, you can opt to record the responses as .wav files and then analyze the wave forms yourself (via programs like Audacity) to ensure accuracy.

    See also, John's recent post re how our keyboards work:
    support.empirisoft.com/showthread.php?p=186

    Hope that helps,
    -Blair
    Last edited by jarvis24; 09-13-2006 at 01:50 PM.

  3. #3
    Join Date
    Nov 2005
    Posts
    3,328
    [continued from support email]
    I spoke with our electric engineer and have more information. In our lab we use response boxes, which talk with the computer via the parallel port (the printer port). Is it possible to incorporate these boxes with DirectRT?

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Yes, see the sample in the users guide regarding TTL signals.

Similar Threads

  1. Timing of Joystick RTs
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 5
    Last Post: 12-19-2007, 11:46 AM
  2. Resolution not supported on this system message
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 2
    Last Post: 06-14-2006, 04:18 PM
  3. controlling timing of auditory probes
    By baruche in forum MediaLab Older Versions: How Do I...
    Replies: 6
    Last Post: 04-26-2006, 04:25 AM
  4. Skip to after timing out
    By doug in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 04-14-2006, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •