Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 3 of 3

Thread: pushbutton device

  1. #1

    pushbutton device

    Hi, I need to connect a pushbutton to my computer, and
    then be able to measure the time it is held down. Can direct RT do that?
    What are the info you would need about the device to be able to answer me?
    Thank you.

  2. #2
    Join Date
    Nov 2005
    Posts
    294
    This shouldn't be any problem at all.

    There's a great (if a bit technical) description of the whole process here:

    http://technologyinterface.nmsu.edu/...r/printer.html

    The gist of it is that the pushbutton input will appear on the parallel port's 'status' register. So if your port is set to address 888 (0x378), you can tell DirectRT to look at the status port (0x378 + 1 = 0x379) and you'll be in business.

    Note that parallel port pins are only slightly buffered, and don't tolerate short circuits well at all. So double check your wiring before connecting anything.

  3. #3
    Since my previous post, I got a cable to connect the device to the computer as per the diagram from the reply.
    Could someone walk me through the exact steps to use it once it is plugged in? Please give precise instructions as I am not a technical person!

Similar Threads

  1. Sending a Pulse to another device
    By rothers27 in forum MediaLab Older Versions: General Questions
    Replies: 1
    Last Post: 05-07-2008, 04:43 PM
  2. A Non-Tactile Pushbutton
    By JEC in forum Hardware: How Do I...
    Replies: 2
    Last Post: 06-19-2007, 12:21 PM
  3. Port number for a Cedrus device?
    By jarvis24 in forum Hardware: How Do I...
    Replies: 13
    Last Post: 07-11-2006, 04:00 PM

Posting Permissions

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