some month ago I wrote a script for an experiment in which some of the stimuli are drawn into two windows at the same time. Everything worked fine. Now I tried to set up a new experiment based on the old code in another lab.
When I start the experiment, both windows open but each stimulus is only drawn into the window that was predifined in visual,ImageStim(). This is the case even if a Stimulus is drawn in both windows before they are flipped. Here are some relevant code snippets:
win1 = visual.Window(size=(1680, 1050), fullscr=True, screen=2, allowGUI=False, allowStencil=False,
monitor=‘testMonitor’, color=[0,0,0.5], colorSpace=‘rgb’,
win2 = visual.Window(size=(1680, 1050), fullscr=True, screen=3, allowGUI=False, allowStencil=False,
monitor=‘MonitorOne’, color=[0,0,0.5], colorSpace=‘rgb’,
####Generating the stimuli####
image=visual.ImageStim(win=win2, name=‘image’, units=‘pix’,
image=stimulusPath + ‘Stimulus_’ + str(i+1) + ‘.png’, mask=None,
ori=0, pos=[0, 0], size=[400, 400],
color=[1,1,1], colorSpace=‘rgb’, opacity=1,
texRes=128, interpolate=True, depth=0.0))
###draw to windows and flip####
With this code, both windows open but the stimulus is only drawn into win2.
I work on a win 7 system with an ATI graphics card and the latest PsychoPy release. The difference compared to the prevoius system is that four monitors are connectetd to two graphich cards (2 each). I use only two monitors connected to one of the graphic cards. When we set up the computer with four monitors, I tested a short script writing hello wordl to each of the screens with an older version of psychopy. As I remember everything worked fine then.
Might this be due to changes in Psychopy?