Millisecond Forums

Feedback Locked TTL Signal?

https://forums.millisecond.com/Topic11140.aspx

By kosbornecrowley - 9/3/2013

How would I get a ttl signal locked to either an errormessage or a responsemessage? I already have a signal locked to the stimulus presentation but I need one locked to the feedback presentation as well. Code for a trial is below: Thanks!



<trial setAtarget1corrleft> 


/ validresponse = (lbuttondown, rbuttondown)


/inputdevice = mousekey


/ correctresponse = (lbuttondown)


/validresponse = (lbuttondown, rbuttondown)


/ posttrialpause = 1500


/stimulustimes = [0=setAtarget1left; 0=setAtarget2right 0=stimulussignal]


/errormessage = (errormessage, 0)


/correctmessage = (correctmessage, 0)


/responsemessage = (lbuttondown, corr, 0)


/responsemessage = (rbuttondown, incorr, 0)


</trial>

By Dave - 9/3/2013

See https://millisecond.com/forums/Topic1721.aspx.