Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: Send TTLs via (Virtual) Serial Port? (case 26512)

  1. #1
    Join Date
    Mar 2017

    Send TTLs via (Virtual) Serial Port? (case 26512)


    I am using Medialab to send TTL signals to Biopac Acqknowledge software. Since I don't have a computer with a parallel port, I purchased the Cedrus Stimtracker. This device emulates a serial port. Is it possible to send TTL signals from Medialab via a serial port, rather than a parallel port?

    Any insights would be greatly appreciated!
    Last edited by jason_reed; 03-29-2017 at 09:45 AM.

  2. #2
    Join Date
    Feb 2013
    You can use the comport.txt feature to send ttl signals from MediaLab over a serial port. See the section named "Sending Streams of Serial Data" here in the MediaLab manual:

    Jason Reed
    Empirisoft Software Support Specialist

  3. #3
    Join Date
    Mar 2017
    Thanks for the advice!

    When I was previously using a parallel port to send the signals to Acqknowledge, I would write something like this in the parameters field to send a signal of 20 for one second: ,(<20:888:1000>). What would be the equivalent for sending it through the parallel port? (<{20:888:1000}>)?

    And, am I correct in understanding that my comport.txt file needs only the following information:
    comPort, baudRate, parity, dataBit, stopBit
    input code (1-255), response value (1-12)

    Thanks again,

  4. #4
    Join Date
    Feb 2013

    When using the comport.txt file, the only thing you need between the braces-{}- and angular brackets-<> is the value you want to send. In you example, that should be the value 20, which should look like this:


    Other than that, give everything else you have a try to see if the ttl signal sends.
    Jason Reed
    Empirisoft Software Support Specialist

Similar Threads

  1. COM port address for USB to serial converter (case 17709)
    By justing in forum DirectRT v2018: General Questions
    Replies: 1
    Last Post: 01-05-2015, 12:30 PM
  2. Fail to send a TTL signal due to port number
    By baruche in forum Hardware: Troubleshooting
    Replies: 9
    Last Post: 02-25-2014, 06:14 PM
  3. Trouble with TTLs appearing (case 10907)
    By Nick00004 in forum DirectRT v2018: Troubleshooting
    Replies: 3
    Last Post: 10-22-2013, 01:06 PM
  4. control Virtual Reality System
    By bkt.kara in forum DirectRT Older Versions: How Do I...
    Replies: 0
    Last Post: 11-14-2011, 10:09 AM
  5. Comport File Question: Serial port, Input code (1-255) Meaning
    By rothers27 in forum MediaLab Older Versions: General Questions
    Replies: 4
    Last Post: 04-21-2009, 06:02 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