biac:experimentalcontrol:biac6hardware
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
biac:experimentalcontrol:biac6hardware [2014/08/09 02:02] – favorini | biac:experimentalcontrol:biac6hardware [2024/04/15 20:26] – [BIAC6 Screen Configuration] cmp12 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Hardware device connections at BIAC-6 3T (New MR750) scanner==== | + | =====Hardware device connections at BIAC-6 3T (MR750) scanner===== |
- | ===BIAC6 3T -- Mach computer=== | + | ====BIAC6 3T -- Mach computer==== |
Mach is our primary stimulus presentation computer. | Mach is our primary stimulus presentation computer. | ||
Mach has the following peripheral hardware connected: | Mach has the following peripheral hardware connected: | ||
Line 7: | Line 7: | ||
* Second monitor video output connected to video switch (CPU 2) | * Second monitor video output connected to video switch (CPU 2) | ||
* Stereo sound output to audio switch boxes | * Stereo sound output to audio switch boxes | ||
+ | |||
* Current Design 8-button serial response device (USB) | * Current Design 8-button serial response device (USB) | ||
* button box mode: " | * button box mode: " | ||
* button mode : "HID NAR 12345" (**003**) | * button mode : "HID NAR 12345" (**003**) | ||
* must check this mode if power is cycled to the interface | * must check this mode if power is cycled to the interface | ||
- | * MagConcepts Joystick | + | * Current Design 2 axis, 2 button joystick |
+ | * autoconfigure | ||
+ | * HID Joystick | ||
+ | * USB - Tethyx | ||
+ | * after use switch back to button box with above settings | ||
+ | * Current Design Trackball 2 ( shared between 2 scanners ) | ||
+ | * autoconfigure | ||
+ | * HID HHSC-TRK-2 ( track 2 and comp seem to do the exact same thing ) | ||
+ | * roll ball around to calibrate | ||
+ | * after use switch back to button box with above settings | ||
+ | |||
+ | |||
* E-Prime SR box (no button box, just scanner trigger) (COM1: 19200 baud, 8 bits, no parity) | * E-Prime SR box (no button box, just scanner trigger) (COM1: 19200 baud, 8 bits, no parity) | ||
- | * Video switch serial cable on COM2 | + | * Video switch serial cable on **COM2** |
* Measurement Computing Analog/ | * Measurement Computing Analog/ | ||
* Serial cable to Donders on COM3 (e.g. ViewPoint eyetracker or Acknowledge) | * Serial cable to Donders on COM3 (e.g. ViewPoint eyetracker or Acknowledge) | ||
* E-Prime dongle (USB) | * E-Prime dongle (USB) | ||
* Scanner trigger cable connected as input to E-Prime SR box (code=16), and MeasComp analog (ADC3) | * Scanner trigger cable connected as input to E-Prime SR box (code=16), and MeasComp analog (ADC3) | ||
- | * BioPac Respiratory belt signal connected as MeasComp analog input 0 (ADC0) | + | * BioPac Respiratory belt signal connected as MeasComp analog input 0 (ADC0), biopac analog ch4 |
- | * BioPac Cardiac signal connected as MeasComp analog input 1 (ADC1), biopac analog ( o2 ch2, pulse wave ch6, pulse rate ch10 ) | + | * BioPac Cardiac signal connected as MeasComp analog input 1 (ADC1), biopac analog ( pulse wave ch6 ) |
- | * BioPac GSR signal connected as MeasComp analog input 2 (ADC2), | + | * BioPac GSR signal connected as MeasComp analog input 2 (ADC2), |
- | * Scanner trigger signal connected as MeasComp analog input 3 (ADC3) | + | * Scanner trigger signal connected as MeasComp analog input 3 (ADC3), biopac analog ch9 |
* Scanner trigger is also connected to the MCC counter pin (CTR), this would show up as a number increase NOT a positive pulse | * Scanner trigger is also connected to the MCC counter pin (CTR), this would show up as a number increase NOT a positive pulse | ||
- | * < | + | |
- | * BioPac STM100c: MCC DigPort-A0 output to BioPac digital i/o ch15\\ [[http:// | + | ====BIAC6 |
- | + | ||
- | ===BIAC6 | + | |
Donders is our accesory computer. It is usually connected to the monitor on the right.\\ | Donders is our accesory computer. It is usually connected to the monitor on the right.\\ | ||
Donders has the following peripheral hardware connected: | Donders has the following peripheral hardware connected: | ||
Line 38: | Line 49: | ||
* Mag Concepts eyetracker camera input (NTSC) to video capture card | * Mag Concepts eyetracker camera input (NTSC) to video capture card | ||
* OptoAcoustics digital microphone (USB) | * OptoAcoustics digital microphone (USB) | ||
- | === BIAC6 3T -- Other devices=== | + | ==== BIAC6 3T -- Other devices==== |
* DVD player, video output connected to video switch (CPU 5) | * DVD player, video output connected to video switch (CPU 5) | ||
* DVD player, sound connected to Audio switch (DVD - switch 3) | * DVD player, sound connected to Audio switch (DVD - switch 3) | ||
* Stereo sound jack for I-pod, MP3, etc connected to Audio switch (Aux - switch 4) | * Stereo sound jack for I-pod, MP3, etc connected to Audio switch (Aux - switch 4) | ||
- | === Video Switch Connections === | + | ==== Video Switch Connections |
- | == Source Devices == | + | |
+ | === HDMI Video Switcher === | ||
+ | [[biac: | ||
+ | |||
+ | === Source Devices | ||
* CPU1 = Primary Display Computer (Mach), primary video output | * CPU1 = Primary Display Computer (Mach), primary video output | ||
* CPU2 = Primary Display Computer (Mach), secondary video output | * CPU2 = Primary Display Computer (Mach), secondary video output | ||
* CPU3 = Secondary/ | * CPU3 = Secondary/ | ||
- | * CPU4 = Not connected | + | * CPU4 = DVD Player |
- | * CPU5 = DVD player | + | * CPU5 = Spare connection |
- | * CPU6 = Not connected | + | === Output Devices |
- | * CPU7 = Not connected | + | |
- | * CPU8 = Not connected | + | |
- | == Output Devices == | + | |
* OUT1 = Left Monitor | * OUT1 = Left Monitor | ||
* OUT2 = Middle Monitor | * OUT2 = Middle Monitor | ||
* OUT3 = Right Monitor | * OUT3 = Right Monitor | ||
* OUT4 = Projector | * OUT4 = Projector | ||
- | * OUT5 = TV | + | * OUT5 = Headphones |
- | * OUT6 = Not connected | + | * OUT6 = 3D LCD |
* OUT7 = Not connected | * OUT7 = Not connected | ||
* OUT8 = Not connected | * OUT8 = Not connected | ||
- | == Default Configuration " | ||
- | Note: If you double-click the "Reset Video Switch" | ||
- | ^ Source ^Output | ||
- | |Mach 1 |Left Monitor | ||
- | |Mach 2 |Middle Monitor|CPU2 -> OUT2| | ||
- | |Donders|Right Monitor |CPU3 -> OUT3| | ||
- | |Mach 1 |Projector | ||
- | |DVD |TV |CPU5 -> OUT5| | ||
- | |Mach 1 |No device | ||
- | |Mach 1 |No device | ||
- | |Mach 1 |No device | ||
- | [[biac: | + | ==== See also ==== |
- | [[biac: | + | * [[http:// |
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ==== MCC digital channel to BIOPAC digital channel mapping ==== | ||
+ | ^MCC ^BIOPAC^ | ||
+ | | DA0 | “Trig” | | ||
+ | | DA1 | D9 | | ||
+ | | DA2 | D10| | ||
+ | | DA3 | D11| | ||
+ | | DA4 | D12| | ||
+ | | DA5 | D13| | ||
+ | | DA6 | D14| | ||
+ | | DA7 | D15| | ||
+ | |||
+ | |||
+ | ===== BIAC6 Screen Configuration ===== | ||
+ | |||
+ | * BIAC6 is equipped with NordicNeuroLab ( NNL ) [[https:// | ||
+ | * 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:// | ||
+ | * 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 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | 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 1920x1080 profiles are accessible directly from most of the system' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | The "Reset Video" desktop icon will now just revert to 1920x1080 cloned displays, with the goggles disabled. | ||
+ | |||
+ | Because of the variable nature of the display configuration, | ||
+ | |||
+ | A **CLONED** configuration with goggles off, will result in a single monitor to programs like PsychToolbox and PsychoPy. | ||
+ | |||
+ | PTB: | ||
+ | <code matlab> | ||
+ | |||
+ | >> run SetupPsychtoolbox.m | ||
+ | >> screens = Screen(' | ||
+ | ans = | ||
+ | 0 | ||
+ | |||
+ | % there is only a single screen | ||
+ | |||
+ | % you can use the first index, or min / max functions because there is only 1 option | ||
+ | >> screens(1) | ||
+ | ans = | ||
+ | 0 | ||
+ | >> min(screens) | ||
+ | ans = | ||
+ | 0 | ||
+ | >> max(screens) | ||
+ | ans = | ||
+ | 0 | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | PsychoPy: | ||
+ | <code python> | ||
+ | |||
+ | import pyglet | ||
+ | |||
+ | display = pyglet.canvas.get_display() | ||
+ | screens = display.get_screens() | ||
+ | screens | ||
+ | >> | ||
+ | |||
+ | # screens[0] is the one and only screen | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Any **EXTENDED** configuration, | ||
+ | |||
+ | PTB: | ||
+ | <code matlab> | ||
+ | |||
+ | >> run SetupPsychtoolbox.m | ||
+ | >> screens = Screen(' | ||
+ | ans = | ||
+ | | ||
+ | |||
+ | %in this case | ||
+ | % 0 - the full extended display across the desktop | ||
+ | % 1 - screen #1 only | ||
+ | % 2 - screen #2 only | ||
+ | |||
+ | % because matlab is indexed a 1, you need to select the correct index to get to screen #1 | ||
+ | >> screens(2) | ||
+ | ans = | ||
+ | 1 | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | PsychoPy: | ||
+ | <code python> | ||
+ | |||
+ | import pyglet | ||
+ | |||
+ | display = pyglet.canvas.get_display() | ||
+ | screens = display.get_screens() | ||
+ | screens | ||
+ | >> | ||
+ | |||
+ | # screens[0] is the first screen | ||
+ | # screens[1] is the second screen because python is zero indexed | ||
+ | |||
+ | </ | ||
+ | |||
+ | You need to code your tasks to send to the specific screen you want your subjects to see. If they are viewing the projector, then they can only single a screen at a time. The default is to send the first display to the projector. | ||
+ | * screen 0 in matlab **only** if its a **cloned** display, or screen 1 if it is extended/ | ||
+ | * screen 0 in PTB | ||
+ | |||
+ | |||
+ | One of the best ways to account for a variable to setup in matlab would be to code the task to work with either. | ||
+ | |||
+ | <code matlab> | ||
+ | screens=Screen(' | ||
+ | |||
+ | %if there is only 1 entry | ||
+ | if (length(screens) == 1) | ||
+ | %use it | ||
+ | S.screenNumber = min(screens); | ||
+ | %but if there are more, use #1 explicitely | ||
+ | elseif (length(screens) > 1) | ||
+ | S.screenNumber = screens(2); | ||
+ | %same as S.screenNumber = 1; | ||
+ | end | ||
+ | |||
+ | [S.Window, S.screenRect]=Screen(' | ||
+ | </ | ||
+ | |||
+ | |||
+ | [[biac: | ||
+ | [[biac: | ||
biac/experimentalcontrol/biac6hardware.txt · Last modified: 2024/07/15 13:39 by cmp12