By peterandrewbaldwin - 6/17/2015
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.
|
By Dave - 6/17/2015
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.
|
By peterandrewbaldwin - 6/23/2015
Brilliant - thanks!
|