Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: Sending a Pulse to another device

  1. #1

    Sending a Pulse to another device

    [edited by moderator]
    Hello and thank you to anyone who can help! I need to send a pulse from MediaLab at the onset of a picture presentation (which is a file) to another device. I just need to send a binary 1 or 0. The other device just needs to know when the onset of the picture was for recording physiology data.

    Thanks! MR
    Last edited by jarvis24; 05-07-2008 at 04:35 PM.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Here is the section from the user's guide on TTL signals:

    To communicate with external computers or hardware you can send out a signal from MediaLab at the onset of any item. The signal can be a byte value (any integer from 1-255). You can send the signal to any port address you like. Make sure you use the decimal value of the port—not the hex value. For example, the port address of the parallel port on most systems is 888 (or 378 in Hex). Finally, you can send the signal for any duration you like before it resets to 0. Specify these three variables in the parameters field like so:

    <value:location:duration>

    For example, say you present an image item for 5 seconds and at its onset you want to send a signal of 255 to port 888 for 10ms. To present it for 5 seconds, you would use parameter value of (d5). To add the TTL signal at its onset, you would add:

    (d5,<255:888:10>)

    Note that MediaLab now comes with the I/O test utility created for DirectRT. It should be located here:

    C:\MediaLab\Utilities\TTL\IOTest.exe

    You can use IOTest.exe to test whether your external hardware can send and/or receive TTL signals from any given port. More detail regarding the I/OTest utility can be found in the DirectRT user's guide or online here:

    www.empirisoft.com/directrt/help/directrt_samples_of13_ttl_signals.htm

Similar Threads

  1. Sending responses via TTL (case 5907)
    By AaronNewman in forum DirectRT Older Versions: How Do I...
    Replies: 5
    Last Post: 03-13-2013, 09:41 AM
  2. Sending TTL signal from one computer to another
    By jarvis24 in forum Hardware: Troubleshooting
    Replies: 2
    Last Post: 11-12-2007, 05:52 PM
  3. Sending TTL to Coulbourn/Windaq Setup
    By kw272 in forum Hardware: How Do I...
    Replies: 6
    Last Post: 09-14-2007, 10:54 AM
  4. 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
  •