I am just wondering if any know whether it affects time precision to use multiple win.callOnFlip commands at the start of a routine. I want to execute the following commands at the start of each trial to send a trigger to my EEG software when the stimulus appears on screen, and record the UNIX time the trigger is sent in psychopy. I need to record the UNIX time the trigger is sent so I can compare with the UNIX time the trigger is received by the EEG software and check that the delay between triggers being sent and received is consistent across the experiment.
win.callOnFlip(thisExp.addData, “trigger”, time.time() )
win.callOnFlip(outlet.push_sample, x = [marker])
Does anyone know if it is okay to use multiple callOnFlip commands?