Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 16 of 16

Thread: TTL insertaion

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2006
    Posts
    18
    OK. Let me see if I understand the logic. Let's say I want to show a 15 second movie, and I want a TTL sent at 9.8 seconds. To do this I would show the movie with a time of 0, and then send an empty stim with a time value of 9800 (the movie will still show because we didn't clear the previous screen, right?), ans then send a TTL at port 888 for say 5ms. Is this right? Also, will the movie play till the end of the 15 ms?

    Thanks!

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Yes, I expect that is how it would play out.

  3. #3
    Join Date
    Nov 2008
    Posts
    1

    Does the above really work?

    Hi. I discovered this thread while working on the same problem: trying to send a TTL during the display of a movie (.avi) stimulus----e.g., the movie we wish to display is about 6 seconds long and we wish to deliver a TTL to an external device during this 6-second clip. I've tried the suggested work-around but (a) the movie gets cut short or doesn't play at all and (b) the TTL is not successful... advice? thx in advance!
    cheers

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Thanks for the info--would you mind posting your input file so I can try running it here? Please zip and attach any necessary files to replicate the problem.

  5. #5
    Join Date
    Jun 2006
    Posts
    18

    Doesn't work for me either

    I have finally come around to trying this, and it didn't work for me either. It seems like the empty stim (~) is replacing the video so that the video only shows for a short period of time (a few milliseconds). I haven't yet tested whether the TTL will send (I'm not at my EEG machine right now). Obviously this won't for me. I've attached the file and I used as an example. I'd appreciate your help with this as soon as you can--I thought this work-around was going to work and we're setting to start running our study soon. Yikes!
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    Can you attach the input and style files also--I'm just seeing the video and an instructional text file in the zip. Also, can you confirm the version of DirectRT and Windows that you are using? Another helpful test would be to run the identical input file but using a another text stimulus in place of the movie. e.g., ~text1 then ~text2 sort of thing. Would be useful to know if it's a problem specific to videos or if the initial text would also disappear.
    Last edited by jarvis24; 01-26-2009 at 01:26 PM.

  7. #7
    Join Date
    Jun 2006
    Posts
    18
    Not sure what happened there; I thought I attached everything. I've now attached the input file, a stim folder (with instructions and .avi file), and the style file.

    I'm using the latest V2006 version (2.0.28). I also tried using a ~text and it seemed to work, so perhaps this is something specific to .avi files (I've also attached the test with a text file). Please have a look and let me know.
    Attached Files Attached Files

Similar Threads

  1. TTL unsolved problems
    By mugur65 in forum MediaLab Older Versions: Troubleshooting
    Replies: 2
    Last Post: 06-22-2023, 03:27 AM
  2. TTL response accuracy
    By duindain in forum DirectRT Older Versions: General Questions
    Replies: 3
    Last Post: 08-04-2008, 05:04 PM
  3. Problems with TTL
    By mugur65 in forum MediaLab Older Versions: Troubleshooting
    Replies: 2
    Last Post: 04-27-2007, 12:49 PM
  4. TTL signal to Biopac
    By XeniasD in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 12-15-2006, 02:26 PM
  5. TTL signal to Biopac
    By XeniasD in forum Hardware: Troubleshooting
    Replies: 1
    Last Post: 12-15-2006, 02:26 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
  •