Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 9 of 9

Thread: DirectRT with Cedrus StimTracker (case 22798)

  1. #1
    Join Date
    Feb 2008
    Posts
    10

    DirectRT with Cedrus StimTracker (case 22798)

    I've currently setup a Cedrus StimTracker to send TTL signals from my stimulus presentation computer to a Neuroscan NuAmps EEG amplifier to mark events. The Cedrus Stimtracker has a USB connection, but emulates a serial port connection (for more information, see here: http://cedrus.com/support/stimtracke...ll_usb_win.htm). I've verified the Stimtracker device is working properly by sending signals using RealTerm (similar to Hyperterminal) from the stimulus machine to the EEG recording software. Markers are showing up perfectly. However, I'm having difficulty sending TTL signals from within DirectRT (i.e., the IOtest utility). The problem is that DirectRT seems to require a decimal port address to send the TTL. Since the Cedrus box creates a virtual serial port (COM 3 on my system), there is no hardware port address (there is no resources tab for the port in device manager, per these instructions: http://www.empirisoft.com/support/sh...r-(case-17709). I have tried using port 1000 (which to my knowledge would be the decimal address of COM3), but this doesn't work. I'm wondering if you know of a way to find the appropriate port address for the virtual serial port, or if there is an alternative workaround that will allow me to send TTL triggers using DirectRT. Thank you.


    Robert Goodman
    Last edited by jason_reed; 02-23-2016 at 02:30 PM.

  2. #2
    Join Date
    Feb 2013
    Posts
    1,093
    Please tell me the full version number (i.e., 20xx.x.xxx) of your copy of DirectRT. You can find it by opening DirectRT and selecting Help>About DirectRT from the main menu bar.
    Jason Reed
    Empirisoft Software Support Specialist

  3. #3
    Join Date
    Feb 2008
    Posts
    10
    Hi Jason,

    My Version number is: 2014.1.123. Thanks for the prompt response.

    Best,

    Rob

  4. #4
    Join Date
    Feb 2013
    Posts
    1,093
    Rob,

    Using DirectRT 2014, set up a DirectRT .csv input file to send ttl signals as normal (see http://www.empirisoft.com/directrt/h...tl_signals.htm). It doesn't matter what you type for the port address in the loc cell or the number in the time cell after the stim cell with ttl: in it.

    This is because you will include a .txt file named comport.txt in the same folder as the .csv input file you create. DirectRT 2014 will ignore the values in the loc and time cells as long as the comport.txt file is in the same file folder as the .csv input file that wants to send ttl signals.

    When you create your comport.txt file, you will need to define the the proper number to reflect the comport you want the computer to use to send the ttl signal; I've attached an example comport.txt file to this email. This is based off of the same functionality in MediaLab used for sending and receiving data over serial ports (for an explanation and example of the comport.txt file see http://www.empirisoft.com/medialab/h...s_features.htm).

    Give this a try and let me know how it goes or if you have any questions.

    Jason
    Attached Files Attached Files
    Jason Reed
    Empirisoft Software Support Specialist

  5. #5
    Join Date
    Feb 2013
    Posts
    1,093
    Make sure you have DirectRT version 2014.1.111 or later.
    Jason Reed
    Empirisoft Software Support Specialist

  6. #6
    Join Date
    Feb 2008
    Posts
    10
    Hi Jason,

    I'm attempting to send TTL signals to the Cedrus Stimtracker using the method you've suggested, but unfortunately they aren't registering. I'm using the SendTTL.csv example file (unaltered) for testing purposes, and I've added the Comport.txt file in the same directory as the .csv file being run. I've verified the port settings of my virtual COM port under device manager and mirrored these settings in the comport.txt file (attached). I've also tried changing the comport in the comport.txt file to "1" based on what I have read in a previous thread that addresses a similar issue (here). No dice. Any suggestions for next steps?

    Thank you so much for your help with this.

    Best,

    Rob
    Attached Files Attached Files

  7. #7
    Join Date
    Feb 2013
    Posts
    1,093
    What happens if you add key mappings to your comport.txt file instead of using the 0,0 value?
    Jason Reed
    Empirisoft Software Support Specialist

  8. #8
    Join Date
    Feb 2008
    Posts
    10
    Hi Jason,

    Still no triggers sent when adding key mappings

  9. #9
    Join Date
    Feb 2008
    Posts
    10
    Hi Jason,

    I'm still unable to send TTL triggers using DirectRT. I spent most of the afternoon yesterday reading up and testing various versions of the comport.txt file (including adding the key mappings, changing the com port, baud rate, etc.). If you have any suggestions regarding how to troubleshoot this problem I'd greatly appreciate it.

    Best,

    Rob

Similar Threads

  1. DirectRT with Cedrus StimTracker (case 16338)
    By innernaut in forum Hardware: How Do I...
    Replies: 1
    Last Post: 10-01-2014, 01:33 PM
  2. Cedrus RB-730 Button Box
    By innernaut in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 02-16-2009, 02:09 PM
  3. Another Cedrus Response Box Query
    By rgramzow in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-18-2008, 02:14 PM
  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
  •