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

    TTL insertion

    I'm trying to create a movie and then have a TTL signal be sent at a specific moment during the movie (e.g. when the filmed person says "welcome"). Is there any way I can embed a TTL in a movie? If not, perhaps I can create the movie so that I would want the TTL sent at a specific time (say at 10s after the movie begins). Is there any way a TTL can be sent after a specified period of time?

    Thanks!

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    No. But you could send one at the onset of the movie and have it stop at a specified period of time--would that work for you? If so, just send the TTL signal before the movie and specify the duration in milliseconds. The movie will start in synch with the signal and the value at the port address will return to its pre-movie state after the specified time elapses.

  3. #3
    Join Date
    Jun 2006
    Posts
    18
    Unfortunately that won't work. We use TTLs for an EEG system and my EEG hardware only recognizes the start of a TTL... Is there any way to "hardcode" a TTL into a movie? Any other way around this? I imagine this could be useful for people who do work with psychophysiology and want to "time-lock" the response to a specific event in a movie.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Actually, it just occurred to me that you could do this the way you want. Show the movie with a time value of 0ms. THEN insert a blank stimulus "~" with a LOC value of "0,0,0" with a time value that corresponds to when you want the TTL signal to occur. THEN send the TTL signal. I think that ought to do it.

  5. #5
    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!

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

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
  •