...
TrialEnd
TrialStart 1
TrialEnd 2
** High precision real time trial alignment
Condition "GoLeft" will average both trials, condition "GoRight" won't have any information, since trial type 2 was never sent, condition "AllTrials" will also average both trials, but condition "GoRightCorrect" will only average the second trial.
** High precision real time trial alignment
Experiments requiring high temporal precision in trial alignment can be accomplished by sending trial start & trial type information over TCP/IP, but trial align via a TTL pulse on one of the digital input lines.
This needs to be setup in the PSTH GUI accordingly.
An example how to send string messages to GUI from a c++ / matlab session will be available on github.
...