Sorry I am late replying as I was busy Monday\Tuesday.
see files attached (Very very basic example)
the gazepoint.py file is a simplified version of the code that i worked on a few years ago now, that integrated the GP3 into the ioHub, see this thread here for more details.
however in our lab we do not use ioHub to collect data from the GP3, we instead use the gazepoint analysis software that comes with the GP3. You dont need the professional version as the free version collects data fine.
if you launch gazepoint control and gazepoint analysis, then in gazepoint analysis create a project and press record.
do a calibration then run the script attached called “simple_gp3_gaze.py”. Make sure the screen coords are correct at the top of the script, if you want the dot to follow your gaze, and have both files in the same folder.
when its finished go back to “gazepoint analysis” and press “stop record”. then select “analyze data” and “export”. you should be able to export the data in csv format. In it you will find a column called “USER” this is where the gp3.sendMessage(msg), in the script, sends the message to, this is how you “SYNC UP” the data with the GP3 so to speak.
Please come back if I have not explained myself well.
Hope all goes well
gazepoint.py (8.2 KB)
simple_gp3_gaze.py (1.6 KB)