User Tools

Site Tools


biac:experimentalcontrol:biac6hardware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
biac:experimentalcontrol:biac6hardware [2024/02/12 16:28]
cmp12
biac:experimentalcontrol:biac6hardware [2024/04/15 18:49]
cmp12 [BIAC6 Screen Configuration]
Line 92: Line 92:
  
  
-==== BIAC6 Screen Configuration ==== +===== BIAC6 Screen Configuration ====
-  * BIAC6 is equipped with NordicNeuroLab ( NNL ) [[https://www.nordicneurolab.com/product/visualsystem-hd|VisualSystemHD]] goggles + 
 +  * BIAC6 is equipped with NordicNeuroLab ( NNL ) [[https://www.nordicneurolab.com/product/visualsystem-hd|VisualSystemHD]] goggles for stereoscopic display 
 +  * The individual eyes of the NNL headset are hard-wired to the graphics card on the display computer and not routed through the switcher 
 +  * because of this setup, the stimulus computer appears to have 4 monitors 
 +  * monitor 1,2 are connected to the switcher and can be switched around to all the different displays at the scanner suite 
 +  * 3,4 are directly connected to the googles and can only output there 
 +  * when configuring your tasks to display, please take account of which monitor you are sending the outputs since 3,4 will always be the googles only.  
 + 
 +  * the best way to control the monitor configuration on BIAC6 is with [[https://www.displayfusion.com/HelpGuide/WorkingWithDisplayFusionMonitorProfiles/|DisplayFusion]]  
 +  * there are several pre-configured profiles automatically loaded on BIAC6 to choose from: 
 +    * 1024x768, 1280x1024, 1920x1080 cloned displays ( on monitors 1,2 ) 
 +    * 1920x1080 extended desktop ( across 1,2 ) 
 +    * 1920x1080 cloned displays with the NNL goggles as individual display 3,4 
 +    * 1920x1080 extended ( across 1,2 ) with the NNL goggles as individual displays 3,4  
 +    * more default profiles can be added, but you can also configure and save your own profiles 
 + 
 +{{:biac:experimentalcontrol:df2.png?600 |}} 
 + 
 +If you do not use the NNL goggles, then it's probably in your interest to leave them disabled. 
 + 
 +{{ :biac:display_graphics:extended_display_biac6.png?600 |}} 
 + 
 +Depending on your stimulus presentation software you may want to hard-code which display you are presenting your task.   
 + 
 +For instance PsychoPy the first screen would be #0  
 +<code python> 
 + 
 +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 
 + 
 +</code> 
 + 
 +matlab PTB the first screen would be #1 ( matlab is indexed starting at 1 instead of 0 ). 
 +<code matlab> 
 + 
 +%configure the first screen is psychtoolbox 
 +screenNumber = 1;     
 +[Window,var.winrect] = Screen('OpenWindow',screenNumber,0); 
 + 
 + 
 +</code> 
 + 
  
  
biac/experimentalcontrol/biac6hardware.txt · Last modified: 2024/04/16 14:21 by cmp12