This is an old revision of the document!
Mach is our primary stimulus presentation computer. It is usually connected to the monitor on the left.
Mach has the following peripheral hardware connected:
Donders is our accesory computer. It is usually connected to the monitor on the right.
Donders has the following peripheral hardware connected:
MCC | BIOPAC |
---|---|
DA0 | “Trig” |
DA1 | D9 |
DA2 | D10 |
DA3 | D11 |
DA4 | D12 |
DA5 | D13 |
DA6 | D14 |
DA7 | D15 |
If you do not use the NNL goggles, then it's probably in your interest to leave them disabled.
The DisplayFusion monitor configuration is accessible from the Desktop icon, from the Start Menu, by Right clicking on the desktop, from the system panel at the bottom Right.
A couple of the 1920×1080 profiles are accessible directly from most of the system's Apps by clicking the profile on the upper right hand corner.
The “Reset Video” desktop icon will now just revert to 1920×1080 cloned displays, with the goggles disabled.
Because of the variable nature of the display configuration, its best to login and select your preferred display profile, to always start the experiment session with a known configuration.
A CLONED configuration with goggles off, will result in a single monitor to programs like PsychToolbox and PsychoPy.
>> run SetupPsychtoolbox.m >> Screen('Screens') ans = 0
Any EXTENDED configuration will result in multiple monitors being available
>> run SetupPsychtoolbox.m >> Screen('Screens') ans = 0 1 2 %in this case % 0 - the full display across the extended desktop % 1 - screen #1 % 2 - screen #2
For instance PsychoPy the first screen would be #0
import pyglet display = pyglet.canvas.get_display() screens = display.get_screens() screenNum = 0 #get resolution of screen 0 win_res = [screens[screenNum].width, screens[screenNum].height] #set the output to always go to screen 0 win = visual.Window(size=win_res, screen=screenNum, allowGUI=True, fullscr=True, monitor=exp_mon, units='height', color=(0.2, 0.2, 0.2)) msg1 = visual.TextStim(win, text=u"Hello world!", pos=(0,0)) #centered msg1.draw() #draw it win.flip() #put it on the screen core.wait(5) #wait 5 seconds win.close() #close it core.quit() #stop
matlab PTB the first screen would be #1 ( matlab is indexed starting at 1 instead of 0 ).
%configure the first screen is psychtoolbox screenNumber = 1; [Window,var.winrect] = Screen('OpenWindow',screenNumber,0);