Mariu,
Well it has taken me a long time to get to this (note that this is an
extension of the thread at
groups.google.com/g/e-prime/c/TRX15lgIStg/m/YQCQrME7BwAJ ).
I would try using Task Events to output a signal/trigger/marker at the
time of a response. Suppose you use a ParallelPort device to output to
your EEG, and suppose you use a Keyboard input mask for the response to
your stimulus EmojiS2. Then you could add Task Events tied to
EmojiS2.Keyboard(1).Press or .Correct or whatever.
Note that, as explained in several other threads here, when outputting
signals to an external device you should always do that in pairs, first
outputting the signal value, and then, after some suitable delay,
resetting the output to zero to prepare for the next
signal/trigger/marker. You may do that by adding two Task Events for
the same event, the first with delay of 0 to output the desired signal
value, and the second with some suitable delay (say, 20 ms) to output 0.
As an added precaution, you should also set the signal output to zero at
the start of each session, because you never know what state your
computer was in before the session started. You may do that with an
InLine, e.g.,
ParallelPort.WriteByte 0
-- David McFarlane