Sending continuous TTL / Specify TTL duration


Author
Message
peterandrewbaldwin
peterandrewbaldwin
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 8, Visits: 17
Does anyone know how to send a TTL (port signal) for an extended time i.e. continuously? I'm not sure how to specify the duration of the signal (or is this is even possible).

Thanks.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
If you display a <port> element via a <trial>'s /stimulustimes, it will remain raised until the end of the trial. The way to specify a duration would be to use a 2nd <port> element that sets all bits to low again at the desired point in time. E.g.

/ stimulustimes = [...; 500=mysignal; 600=allbitstolow; ...]

with

<port mysignal>
/ items = ("00000001")
...
</port>

<port allbitstolow>
/ items = ("00000000")
...
</port>

would result in a signal duration of 100 ms.

peterandrewbaldwin
peterandrewbaldwin
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 8, Visits: 17
Brilliant - thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search