Group: Forum Members
Posts: 2,
Visits: 2
|
Hello, I am trying to send a trigger to the parallel port for EEG recording using the following function: <port mysignal> / port = lpt2 / subport = data / items = ("00000001") </port>
I can send a trigger at the onset of a stimulus like so (example from CPTRosvold task): <trial x> / stimulusframes = [1=blank, x, trig01] / trialduration = 920 / posttrialpause = 230 / validresponse = (" ", noresponse) / correctresponse = (" ") / ontrialend = [if ( block.x.totalcount >= 2 && trial.x.correct == false ) values.xtestomissionerrorcount += 1] / ontrialend = [if ( block.x.totalcount >= 2 ) values.xtestomissiontrialcount += 1] / ontrialend = [if ( block.x.totalcount >= 2 ) values.xtestomissionerrorrate = values.xtestomissionerrorcount / values.xtestomissiontrialcount ] </trial>
However I'd like a 2nd trigger when the user responds. Is this possible?
Thank you in advance.
|