PennController for IBEX › Forums › Support › inserting getEyetracker start and stop into the code › Reply To: inserting getEyetracker start and stop into the code
No, add the print
command on the Image elements at the point where you want the corresponding Image element to be printed, ie. on where you used to have your newImage
commands (they would be printed there too because you used to have print
on defaultImage
)
The error messages you see are telling me that you’ve added the four newImage
commands below newCanvas
in addition to the newImage
commands you already have below in your script, thus resulting in two copies with the same name of each Image element. You should not create and, importantly, not print the Image elements at the beginning of the trial: you want to print them at different time points during the trial, so the print
commands should go on the newImage
commands that already are further down in your script
Jeremy