| Reference | Downloads | Github

Tracker calibration not showing on screen

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.2.4
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: calibrate eye tracker

I tried implementing the code on, which appears to be for PsychoPy3. I was able to successfully get my eye tracker calibration to work properly following the iohub>SelectTrack coder demo. I inserting the following code at a Begin Experiment tab in builder:

from psychopy.iohub import launchHubServer
from psychopy.core import getTime, wait

iohub_config = {'eyetracker.hw.tobii.EyeTracker':
    {'name': 'tracker', 'runtime_settings': {'sampling_rate': 120}}}

io = launchHubServer(**iohub_config)

# Get the eye tracker device.
tracker = io.devices.tracker

# run eyetracker calibration
r = tracker.runSetupProcedure()

When I run the experiment I get the Experiment Info prompt, then the screen maximizes. I can see the lights on the Tobii following the same pattern as the SelectTracker demo, but the screen is just blank. Is there some additional code that I need to use to get the Calibration to show? I examined in coder_demos\iohub\eyetracking\selectTracker but I don’t see any window controls until after tracker.runSetupProcedure().