Difficulty writing variables to eye tracker logfile with OpenGaze tracker type
I am trying to do custom message logging through the pygaze log, rather than automatically logging all variables (because this adds ~3.5 seconds to each trial). I have done this in the past with the Eye Tribe, but with OpenGaze/Gazepoint, I find that the same code fails. For example, in the log message window for the pygaze log, I have the code:
The variable exists: print(var.time_ITI) returns the value in the debug window after I quit out. But nothing shows up in the user column of the .tsv. If I enter msg(clock.time()) I get MSG(CLOCK.TIME()) in the .tsv.... that is, the text I entered, but not the variable value I asked for.
Finally, when I try to use an inline script instead of pygaze log, a similar failure occurs. For example, eyetracker.log_var("current time", clock.time()) leads to nothing in the .tsv file. The experiment file is attached.
I should note that the variable values do get written to the .tsv when I use the "automatically log all variables" option in the pygaze logger.
Thanks for any advice you have,