I would like to integrate the pupil labs core eye-tracker into my experiment. I mainly want to send triggers to the capturing software to tell it, at which point a trial or block started, so I can analyze gaze positions during a particular trial/block. What would be the easiest way to do this?
I don’t know about the eye tracker, but the “serial” and “parallel” packages for python let you send serial and parallel port signals, one of which your eye tracker may be able to interpret.
For serial ports
import serial
ser = serial.Serial('COM3',9600,timeout = 0.05)
message = 10
ser.write(message.to_bytes(1,'big', signed=True))
Some useful links:
For parallel ports
import parallel
par = parallel.ParallelPort(portAddress)
par.setData(10)
Hi @RayBuehler,
Did you finally manage to solve the integration problem? I’m currently working on a similar experiment and would really appreciate some help since I’m kind of stuck.
Thanks!
I will run a similar experiment where I will have to integrate eye tracking (pupil labs) and eeg by using presentation by NBS. If you have manage to run your experiment, can you advice me on how you have made the actual integration?