When running my script, I get the following warning message:
WARNING Monitor specification not found. Creating a temporary one...
However, I specified monitor setting using monitors.Monitor
and passed them as argument for the window in my experiment.
# Monitor
widthPix = 1920 # screen width in px
heightPix = 1080 # screen height in px
monitorwidth = 53.1 # monitor width in cm
viewdist = 60. # viewing distance in cm
monitorname = 'iiyama'
scrn = 0 # 0 to use main screen, 1 to use external screen
mon = monitors.Monitor(monitorname, width=monitorwidth, distance=viewdist)
mon.setSizePix((widthPix, heightPix))
# Initialize window
win = visual.Window(
monitor=mon,
size=(widthPix,heightPix),
color='Gray',
colorSpace='rgb',
units='deg',
screen=scrn,
allowGUI=False,
fullscr=True)
When running the script, the warning appears at the first `win.flip()’ call.
The warning is not fatal, but I was wondering if I forgot to specify anything in the monitor settings…?
Thanks,
(Windows 10 - Psychopy 2.7.15 - Psychopy 1.90.1)